Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion docs-v2/pages/connect/mcp/developers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ curl -s -X POST https://api.pipedream.com/v1/oauth/token \
#### Params

- Below are params that you should send with every HTTP request to Pipedream's MCP server.
- To enable broad support for various MCP clients, you can pass these params via HTTP headers **or** as query params on the URL.
- To enable broad support for various MCP clients, you can pass most of these params via HTTP headers **or** as query params on the URL.

<br />

Expand All @@ -314,6 +314,10 @@ curl -s -X POST https://api.pipedream.com/v1/oauth/token \
| `x-pd-external-user-id` | `externalUserId` | `<your-users-id>` | Yes |
| `x-pd-app-slug` | `app` | `linear`, `notion`, etc | Yes |
| `x-pd-tool-mode` | `toolMode` | `sub-agent`, `tools-only` | No <br /> Defaults to `sub-agent` |
| `x-pd-oauth-app-id` | Must be passed as header | `oa_xxxxxxx` <br /> <br /> More info [here](/connect/managed-auth/oauth-clients) | No |
| `x-pd-webhook-uri` | Must be passed as header | More info [here](/connect/managed-auth/webhooks) | No |
| `x-pd-error-redirect-uri` | Must be passed as header | More info [here](/connect/managed-auth/connect-link/#success-and-error-redirect-urls) | No |
| `x-pd-success-redirect-uri` | Must be passed as header | More info [here](/connect/managed-auth/connect-link/#success-and-error-redirect-urls) | No |
</div>

#### Example request
Expand Down Expand Up @@ -344,6 +348,8 @@ const transport = new StreamableHTTPClientTransport(new URL(serverUrl), {
"x-pd-environment": PIPEDREAM_ENVIRONMENT, // development | production
"x-pd-external-user-id": EXTERNAL_USER_ID, // the user's ID from your system
"x-pd-app-slug": APP_SLUG, // notion, linear, gmail, etc
"x-pd-oauth-app-id": OAUTH_APP_ID, // oa_xxxxxxx, include if using a custom OAuth client

}
}
});
Expand Down
16 changes: 12 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading