You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Pipedream's MCP server to your application or agent to make tool calls on behalf of your users to {process.env.PUBLIC_APPS}+ APIs and 10,000+ tools.
6
6
7
+
<Callouttype="info">
8
+
Pipedream Connect includes built-in user authentication for [every MCP server](https://mcp.pipedream.com), which means you don't need to build any authorization flows or deal with token storage and refresh in order to make authenticated requests on behalf of your users. [Learn more here](/connect/mcp/developers/#user-account-connections).
9
+
</Callout>
10
+
7
11
## Overview
8
12
9
13
Pipedream's MCP server code is [publicly available on GitHub](https://github.com/PipedreamHQ/pipedream/blob/master/modelcontextprotocol/README.md), and you have two options for using Pipedream's MCP server in your app:
The remote MCP server is in beta, and we're looking for feedback. During the beta, the API is subject to change.
138
+
</Callout>
139
+
140
+
#### Supported transport types
141
+
142
+
The Pipedream MCP server supports both SSE and streamable HTTP transport types dynamically, with no configuration required by the developer or MCP client.
143
+
144
+
#### Tool modes
130
145
131
146
Pipedream MCP supports two methods for interacting with tools:
132
147
133
148
1.[Sub-agent](#sub-agent-mode) (default)
134
149
2.[Tools only](#tools-only-mode)
135
150
136
-
#### Sub-agent mode
151
+
#####Sub-agent mode
137
152
138
-
When using Pipedream MCP with sub-agent mode enabled (default confiuration), all of the tools that you expose to your LLM take only a single input: **`instructions`**.
153
+
When using Pipedream MCP with sub-agent mode enabled, all of the tools that you expose to your LLM take only a single input: **`instruction`**.
139
154
140
-
The Pipedream MCP server passes that**instructions**prompt to an LLM where we farm out the configuration of the main tool using a set of agents with narrowly scoped sets of instructions and additional tools to aid in the configuration and execution of the top-level tool.
155
+
The Pipedream MCP server passes the**`instruction`** to an LLM to handle the configuration of the main tool using a set of agents with narrowly scoped sets of instructions and additional tools to aid in the configuration and execution of the top-level tool.
141
156
142
157
- The benefit with this approach is that sub-agent mode abstracts a lot of the complexity with handling things like [remote options](/connect/components/#configure-the-component) and [dynamic props](/connect/components/#configure-dynamic-props), especially for MCP clients that don't automatically [reload tools](https://modelcontextprotocol.io/docs/concepts/tools#tool-discovery-and-updates).
143
158
- However, one downside is that you hand over some of the control and observability to Pipedream in this model.
144
159
145
160
<Callouttype="warning">
146
-
While Pipedream currently eats the costs of the LLM tokens in sub-agent mode while in Beta, we'll likely charge for the LLM usage in the future.
161
+
While in Beta, Pipedream eats the costs of the LLM tokens in sub-agent mode. We'll likely charge for the LLM usage in the future.
147
162
</Callout>
148
163
149
-
#### Tools only mode
164
+
<details>
165
+
<summary>View the schema for the `google_sheets-add-single-row` tool in **sub-agent mode**</summary>
166
+
167
+
```javascript
168
+
{
169
+
"name":"GOOGLE_SHEETS-ADD-SINGLE-ROW",
170
+
"description":"Add a single row of data to Google Sheets. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/append)",
To handle all tool configuration and calling yourself, you should use `tools-only` mode.
152
192
153
-
###Use Pipedream's remote MCP server
193
+
###### Configuring dynamic props
154
194
155
-
<Callouttype="info">
156
-
The remote MCP server is in beta, and we're looking for feedback. During the beta, the API is subject to change.
157
-
</Callout>
195
+
- Tools that use [dynamic props](/connect/api/#reload-component-props) aren't able to be configured in one-shot since the full prop definition isn't known until certain inputs are defined.
196
+
- For example, the full set of props for `google_sheets-add-single-row` aren't known until you configure the `hasHeaders` prop. Once we know if there's a header row, we can retrieve the column names from the header row and make them available as props that can be configured.
197
+
- As you call each tool, you should reload the available tools for the server, and we'll expose meta tools for configuration, such as `begin_configuration_google_sheets-add-single-row`, which causes the rest of the tools to be removed and only tools relevant to the configuration are exposed.
158
198
159
-
#### Supported transport types
199
+
{/* Need to add info for devs to step through async options */}
200
+
{/* Need to add more detailed info for devs to step through dynamic props */}
160
201
161
-
The Pipedream MCP server supports both SSE and streamable HTTP transport types dynamically, with no configuration required by the developer or MCP client.
202
+
<details>
203
+
<summary>View the schema for the `google_sheets-add-single-row` tool in **tools-only mode**</summary>
204
+
205
+
```javascript
206
+
{
207
+
"name":"google_sheets-add-single-row",
208
+
"description":"Add a single row of data to Google Sheets. [See the documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/append)",
209
+
"inputSchema": {
210
+
"type":"object",
211
+
"properties": {
212
+
"drive": {
213
+
"anyOf": [
214
+
{
215
+
"anyOf": [
216
+
{
217
+
"not": {}
218
+
},
219
+
{
220
+
"type":"string"
221
+
}
222
+
]
223
+
},
224
+
{
225
+
"type":"null"
226
+
}
227
+
],
228
+
"description":"Defaults to `My Drive`. To select a [Shared Drive](https://support.google.com/a/users/answer/9310351) instead, select it from this list.\n\nYou can use the \"CONFIGURE_COMPONENT\" tool using these parameters to get the values. key: google_sheets-add-single-row, propName: drive"
229
+
},
230
+
"sheetId": {
231
+
"type":"string",
232
+
"description":"Select a spreadsheet or provide a spreadsheet ID\n\nYou can use the \"CONFIGURE_COMPONENT\" tool using these parameters to get the values. key: google_sheets-add-single-row, propName: sheetId"
233
+
},
234
+
"worksheetId": {
235
+
"type":"string",
236
+
"description":"Select a worksheet or enter a custom expression. When referencing a spreadsheet dynamically, you must provide a custom expression for the worksheet.\n\nYou can use the \"CONFIGURE_COMPONENT\" tool using these parameters to get the values. key: google_sheets-add-single-row, propName: worksheetId"
237
+
},
238
+
"hasHeaders": {
239
+
"type":"boolean",
240
+
"description":"If the first row of your document has headers, we'll retrieve them to make it easy to enter the value for each column. Note: When using a dynamic reference for the worksheet ID (e.g. `{{steps.foo.$return_value}}`), this setting is ignored."
0 commit comments