slack-cursor-ide-assistant
A Slack bot that summarize requirements in a Slack thread and forwards messages to Cursor editor's chat (Agent mode) interface on macOS. This bot runs locally (for fast codebase indexing). Output is a Merge Request with analytics.
claude mcp add --transport stdio quang1225-slack-cursor-ide-assistant node src/server.js
How to use
This MCP server hosts a Slack bot that forwards Slack messages to Cursor editor's Agent mode, enabling AI-assisted development workflows. It captures complete thread context, triggers Cursor to generate code, and can automate GitLab Merge Request creation and preview URL generation. The bot communicates within Slack real-time via Socket Mode and opens specific Cursor project folders as configured. Use this server to integrate your Slack conversations with Cursor's AI capabilities, producing MR links and demo previews directly in Slack threads.
How to install
Prerequisites:
- macOS (required for AppleScript integration)
- Node.js v18+ installed on your machine
- Cursor editor installed locally
- Slack workspace admin access to configure the Slack app
Setup steps:
- Install dependencies
npm install
- Prepare environment variables Create a .env file in the project root with required keys, for example:
# Slack Configuration
SLACK_BOT_TOKEN=xoxb-your-bot-token
SLACK_SIGNING_SECRET=your-signing-secret
SLACK_APP_TOKEN=xapp-your-app-token
# Optional: Debug and Project Settings
DEBUG_MODE=false
PROJECT_LOCAL_PATH=/path/to/your/project
# GitLab Integration (Optional - for MR creation)
GITLAB_PROJECT_URL=https://gitlab.com/your-org/your-project
GITLAB_PROJECT_ID=12345
GITLAB_MR_TARGET_BRANCH=main
GITLAB_MR_DEFAULT_LABEL=bot-generated
SAMPLE_DEMO_URL=https://your-demo-site.com
- Start the bot in development or production mode
# Development mode with auto-restart (if configured)
npm run dev
# Production mode
npm start
- Verify Cursor integration and Slack permissions as described in the README. Follow the quick test steps to ensure the Cursor integration works before using the full bot.
Additional notes
Tips:
- Ensure Cursor is accessible for AppleScript automation (grant Terminal/Node accessibility in macOS Security & Privacy settings).
- If the bot does not receive messages, re-check Slack app tokens and bot scopes (app_mentions:read, channels:history, channels:read, chat:write, reactions:write).
- For MR creation and preview URLs, ensure GITLAB_* values are correctly populated; these are optional but enable full automation.
- Use Socket Mode (enabled in the Slack app) to receive real-time events without webhooks.
- Maintain careful thread context to maximize AI comprehension; the bot aggregates messages within threads for better results.
Related MCP Servers
fastapi_mcp
Expose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!
mcp-shrimp-task-manager
Shrimp Task Manager is a task tool built for AI Agents, emphasizing chain-of-thought, reflection, and style consistency. It converts natural language into structured dev tasks with dependency tracking and iterative refinement, enabling agent-like developer behavior in reasoning AI systems.
penpot
Penpot MCP server
cursor10x
The Cursor10x MCP is a persistent multi-dimensional memory system for Cursor that enhances AI assistants with conversation context, project history, and code relationships across sessions.
metabase-ai-assistant
🚀 The most powerful MCP Server for Metabase - 111+ tools for AI SQL generation, dashboard automation & enterprise BI. Works with Claude, Cursor, ChatGPT.
mcp -templates
A flexible platform that provides Docker & Kubernetes backends, a lightweight CLI (mcpt), and client utilities for seamless MCP integration. Spin up servers from templates, route requests through a single endpoint with load balancing, and support both deployed (HTTP) and local (stdio) transports — all with sensible defaults and YAML-based configs.