For the best experience, use Pipedream's hosted MCP server which provides: - 2,800+ APIs and 10,000+ tools through a single server - Built-in authentication: no manual token management required - Multiple tool modes: sub-agent and full configuration - Automatic app discovery - Enterprise-grade reliability and security ๐ Get started: Pipedream MCP Documentation This reference implementation shows
Add this skill
npx mdskills install PipedreamHQ/pipedreamWell-documented MCP server providing access to 2,800+ APIs with clear setup and multiple transport options
1# Pipedream MCP Server23> **โ ๏ธ Important Notice**: This MCP server is a **reference implementation only** and is no longer actively maintained. For production use, we recommend using Pipedream's **remote MCP server** instead.45## Recommended: Use Pipedream's Remote MCP Server67For the best experience, use Pipedream's hosted MCP server which provides:89- **2,800+ APIs and 10,000+ tools** through a single server10- **Built-in authentication**: no manual token management required11- **Multiple tool modes**: sub-agent and full configuration12- **Automatic app discovery**13- **Enterprise-grade reliability and security**1415**๐ Get started**: [Pipedream MCP Documentation](https://pipedream.com/docs/connect/mcp/developers)1617> **๐ฎ Try it now**: Check out our [open source chat app](https://github.com/PipedreamHQ/mcp) at [chat.pipedream.com](https://chat.pipedream.com/)1819---2021## Self-Hosting (Reference Implementation)2223This reference implementation shows how you can:2425- [Run the servers locally](#running-the-server-via-npx) with `npx @pipedream/mcp`26- [Host the servers yourself](#hosting-your-own-server) to use them within your app or company2728See the consumer-facing MCP server in action at [mcp.pipedream.com](https://mcp.pipedream.com) and check out a demo of the developer-facing product at [chat.pipedream.com](https://chat.pipedream.com).2930We published this code as a reference, so you can better understand how to use Pipedream Connect for such an application. This is a reference implementation specifically for self-hosting the server and may not be fully documented.3132**For production use, we strongly recommend using our [remote MCP server](https://pipedream.com/docs/connect/mcp/developers) instead.**3334## โญ Reference Implementation Features3536- Run **your own MCP server** for [over 2,800 apps and APIs](https://mcp.pipedream.com)37- Manage servers **for your users**, in your own app38- Connect accounts, configure params, and make API requests, all via tools39- Fully-managed OAuth and credential storage ([see security docs](https://pipedream.com/docs/privacy-and-security/#third-party-oauth-grants-api-keys-and-environment-variables))4041## ๐ Getting Started4243Pipedream's MCP servers use the [Pipedream Connect API](https://pipedream.com/docs/connect/) to manage auth and make API requests. To run an MCP server, you'll need a Pipedream project and Pipedream API credentials.44451. [Sign up for Pipedream](https://pipedream.com/auth/signup)462. [Create a project](https://pipedream.com/docs/workflows/projects/#creating-projects). Any accounts connected via MCP will be stored here.473. [Create a Pipedream OAuth client](https://pipedream.com/docs/rest-api/auth/#creating-an-oauth-client)484. Set the environment variables (See `.env.example`) (directly in your shell session, dot files, etc.):4950```bash51PIPEDREAM_CLIENT_ID=your_client_id52PIPEDREAM_CLIENT_SECRET=your_client_secret53PIPEDREAM_PROJECT_ID=your_project_id54PIPEDREAM_PROJECT_ENVIRONMENT=development55```5657### Pipedream concepts to understand5859If you're running MCP servers for your app, you'll likely want to use the [SSE interface](#sse). The SSE server accepts two route params:60611. `external_user_id` โย This is your userโs ID, in your system โ whatever you use to uniquely identify them. Any requests made to that route are coupled to that end user, and would use the auth Pipedream stores for that user. [See the docs](https://pipedream.com/docs/connect/api/#external-users) for more detail.622. `app` โย The app's "name slug" (the unique identifier for the app), found in the **Authentication** section of [any Pipedream app](https://pipedream.com/apps). For example, the app slug for [Slack](https://pipedream.com/apps/slack) is `slack`.6364If your user `123` wants to connect to the `slack` MCP server, your MCP client would make a request to the `/123/slack` route. [See the SSE docs below](#sse) for more detail.6566## Server overview6768There are two ways to use this MCP server.69701 - App specific71`/{external_user_id}/{app}`72This is currently available at [mcp.pipedream.com](https://mcp.pipedream.com). You can use an endpoint for each app.73All the tools available for that app will be available at that endpoint.74752 - Dynamic76`/{external_user_id}`77This is an experimental version, since it relies on tools being able to update dynamically.78We use this server to power the tools on [chat.pipedream.com](https://chat.pipedream.com).7980> [!NOTE] > [Check out the docs](https://pipedream.com/docs/connect/mcp/app-discovery) to learn more about enabling app discovery with the MCP server.8182## Development8384`cp .env.example .env` and fill in the details of your dev project.8586```bash87pnpm install88```8990### Start the server with Streamable HTTP Transport9192```bash93pnpm dev:http94```9596You can use the optional env var `PD_SDK_DEBUG` to print out all the requests and responses going to the Connect API9798```bash99PD_SDK_DEBUG=true pnpm dev:http100```101102Then run the inspector:103104```bash105npx @modelcontextprotocol/inspector106```107108Use `http://localhost:3010/v1/{external_user_id}/{app}` for Streamable HTTP Transport or `http://localhost:3010/{external_user_id}/{app}` for SSE Transport.109110These URLs can also be used by other clients (e.g. Cursor).111112### Stdio Transport setup113114Stdio has only been tested with the MCP Inspector.115116```bash117npx @modelcontextprotocol/inspector bun src/stdio.ts118```119120See the logs for the inspector URL.121122Ensure the left side of the inspector matches this:123124125126Then press "List Tools" to fetch the list of MCP tools.127128## License129130Pipedream Source Available License Version 1.0 - See https://github.com/PipedreamHQ/pipedream/blob/master/LICENSE131
Full transparency โ inspect the skill content before installing.