This MCP server implementation enables you to run ClickUp integration through Supergateway, providing an SSE (Server-Sent Events) endpoint that can be used with n8n nodes or other compatible clients. It offers a seamless way to connect to ClickUp services while handling the underlying communication protocols.
npm install -g supergateway @taazkareem/clickup-mcp-server
export CLICKUP_API_KEY=your_api_key_here
export CLICKUP_TEAM_ID=your_team_id_here
./run-clickup-mcp.sh
./run-clickup-mcp.sh --port 9000 --base-url http://example.com --cors "http://localhost:8080,http://localhost:3000"
cp .env.example .env
Edit the .env
file to include your ClickUp credentials.
Start the Docker container:
docker-compose up -d
docker-compose logs -f
Create a new project on Railway platform.
Connect your GitHub repository or deploy using the Railway CLI.
Configure the following environment variables:
CLICKUP_API_KEY
: Your ClickUp API keyCLICKUP_TEAM_ID
: Your ClickUp Team IDPORT
: 8000 (or preferred port)BASE_URL
: Your Railway app URLSSE_PATH
: /sse (or preferred path)MESSAGE_PATH
: /message (or preferred path)LOG_LEVEL
: info (or debug)DOCUMENT_SUPPORT
: false (or true if needed)CORS_ORIGINS
: * (or specific allowed origins)Deploy your application through the Railway platform.
In your n8n workflow, add a new "MCP" node.
Configure the node with these settings:
Select the appropriate ClickUp tool from the available options.
Set the required parameters for your selected tool.
Connect the node to other parts of your workflow.
The server exposes three main endpoints:
SSE Endpoint ({BASE_URL}{SSE_PATH}
):
Message Endpoint ({BASE_URL}{MESSAGE_PATH}
):
Health Check ({BASE_URL}/healthz
):
If you encounter issues with your MCP server:
CORS_ORIGINS
environment variable includes your client's originThere are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.