This MCP server is a reference implementation that allows you to run your own Model Context Protocol (MCP) server. It enables connection to thousands of APIs and tools through a single interface, making it ideal for integrating external services into your applications.
For production environments, Pipedream recommends using their hosted MCP server which offers:
To get started with the hosted solution, visit Pipedream MCP Documentation
Before running your own MCP server, you'll need:
PIPEDREAM_CLIENT_ID=your_client_id
PIPEDREAM_CLIENT_SECRET=your_client_secret
PIPEDREAM_PROJECT_ID=your_project_id
PIPEDREAM_PROJECT_ENVIRONMENT=development
The simplest way to run the server locally is with NPX:
npx @pipedream/mcp
To host the MCP server using Docker:
docker build -t pipedream-connect .
docker run -d --name pd-mcp -p 3010:3010 --env-file .env pipedream-connect:latest
This will expose your MCP server at http://localhost:3010/:external_user_id/:app
.
The MCP server offers two main usage patterns:
/{external_user_id}/{app}
This route provides tools specific to a single app. For example, if user "123" wants to connect to Slack, the client would access /123/slack
.
/{external_user_id}
This route allows for dynamic tool updates and is used to power applications like Pipedream's chat interface.
To test your server, you can use the MCP Inspector:
npx @modelcontextprotocol/inspector
Use one of these URLs in the inspector:
http://localhost:3010/v1/{external_user_id}/{app}
for Streamable HTTP Transporthttp://localhost:3010/{external_user_id}/{app}
for SSE TransportWhen running MCP servers for your application:
external_user_id
is your system's unique identifier for a userapp
is the unique "name slug" for the application (e.g., "slack" for Slack)Requests made to a specific route are tied to that user and will use the authentication credentials Pipedream stores for that user.
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "pipedream" '{"command":"npx","args":["@pipedream/mcp"]}'
See the official Claude Code MCP documentation for more details.
There 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 > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"pipedream": {
"command": "npx",
"args": [
"@pipedream/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 explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"pipedream": {
"command": "npx",
"args": [
"@pipedream/mcp"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect