IMPLEMENTATION
Call this tool
Connect a user's Trello account once, then configure and run Get Board from your backend or agent.
import { PipedreamClient } from "@pipedream/sdk"
const pd = new PipedreamClient({
projectId: process.env.PIPEDREAM_PROJECT_ID!,
clientId: process.env.PIPEDREAM_CLIENT_ID!,
clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
projectEnvironment: "production",
})
const result = await pd.actions.run({
id: "trello-get-board",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
trello: { authProvisionId: "apn_xxxxxxx" },
boardId: "Board ID",
actions: ["Actions"],
},
})
console.log(result)curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
-H "Content-Type: application/json" \
-H "X-PD-Environment: production" \
-H "Authorization: Bearer {access_token}" \
-d '{
"external_user_id": "{external_user_id}",
"id": "trello-get-board",
"configured_props": {
"trello": { "authProvisionId": "apn_xxxxxxx" },
"boardId": "Board ID",
"actions": ["Actions"]
}
}'// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
new URL("https://remote.mcp.pipedream.net/v3"),
{
requestInit: {
headers: {
Authorization: `Bearer ${accessToken}`,
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
"x-pd-app-slug": "trello",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// listTools() hands your model this tool's input schema, so it can
// fill the arguments itself:
const result = await mcp.callTool({
name: "trello-get-board",
arguments: {
boardId: "Board ID",
actions: ["Actions"],
},
})SCHEMA
Inputs
Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.
| Property | Type | Description |
|---|---|---|
boardId Board ID | string | The ID of the board to retrieve Required Dynamic |
actions Actions | string[] | This is a nested resource. Specify what actions to include in the response. Default is all. Optional |
boardStars Board Stars | string | Valid values are one of: mine or none. Default is none. Optional |
cardPluginData Card Plugin Data | boolean | Use with the cards param to include card pluginData with the response. Default is none. Optional |
customFields Custom Fields | boolean | This is a nested resource. Include custom fields in the response. Optional |
fields Fields | string[] | The fields of the board to be included in the response. Valid values: all or a comma-separated list of specific fields. Optional |
labels Labels | string | This is a nested resource. Specify what labels to include in the response. One of: all or none Optional |
lists Lists | string | This is a nested resource. Specify what lists to include in the response. Optional |
members Members | string | This is a nested resource. Specify what members to include in the response. Optional |
pluginData Plugin Data | boolean | Determines whether the pluginData for this board should be returned. Optional |
organization Organization | boolean | This is a nested resource. Include organization information in the response. Optional |
organizationPluginData Organization Plugin Data | boolean | Use with the organization param to include organization pluginData with the response Optional |
myPrefs My Preferences | boolean | Include the user's preferences for this board in the response. Optional |
tags Tags | boolean | Also known as collections, tags, refer to the collection(s) that a Board belongs to. Optional |
REFERENCE
Tool details
Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.
- Registry key
- trello-get-board
- Version
- 0.0.6
- App
- Trello
- Authentication
- OAuth
- Read-only
- Yes
- Destructive
- No
- Open world
- Yes
- Source
- View on GitHub ↗