Skip to content

Connect an AI Coding Agent

This tutorial sets up an AI coding agent to interact with your PlaidCloud workspace using the Model Context Protocol (MCP). Once configured, you can ask the agent to read tables, run workflows, build allocations, and answer questions about your data — directly from your editor.

Takes about 20 minutes. Works with Claude Code, Cursor, Claude Desktop, ChatGPT, GitHub Copilot, and any MCP-compatible client.

A working connection between your AI coding agent and your PlaidCloud workspace, where the agent can:

  • List projects, tables, workflows, and dimensions
  • Read table contents
  • Inspect workflow definitions
  • Trigger workflow runs
  • Answer questions about your data without you switching contexts
  • A PlaidCloud workspace (start a free trial if you don’t have one)
  • An AI coding agent you already use — Claude Code, Cursor, Claude Desktop, ChatGPT, Copilot, or Gemini
  • The agent must support MCP (most current AI tools do)

Every PlaidCloud workspace exposes an MCP endpoint at:

https://<your-workspace>.plaid.cloud/mcp/

Replace <your-workspace> with your workspace subdomain — the same one you use to sign in to the PlaidCloud UI.

  1. While signed in to PlaidCloud in a browser, visit:
    https://<your-workspace>.plaid.cloud/mcp/setup/token
  2. Copy the bearer token shown on the page. Keep it safe — it grants the same access your account has.

Run in your terminal:

Terminal window
claude mcp add --transport http plaidcloud https://<your-workspace>.plaid.cloud/mcp/

For static-token authentication (no OAuth flow, simpler for long sessions), open the URL from Step 2 in a browser, copy the displayed config snippet, and paste it into your .mcp.json file.

See Claude Code setup for full options.

Ask the agent something simple:

“List the projects in my PlaidCloud workspace.”

The agent should respond with your project list. If it doesn’t, check the troubleshooting steps below.

Once connected, try:

  • Explore your data: “What columns does the sales table in my Quickstart project have?”
  • Run a workflow: “Trigger the monthly_close workflow in the Financials project and let me know when it finishes.”
  • Build something: “Create a Table Lookup step in my Test workflow that filters orders to the last 30 days.”

The agent’s responses will be grounded in your actual workspace state — not generic answers.

If the agent can’t reach PlaidCloud or returns auth errors:

  • Token expired — refresh it at https://<your-workspace>.plaid.cloud/mcp/setup/token
  • Wrong scopes — some tools require specific PlaidCloud scopes (e.g., analyze.workflow.write). Run mcp_introspect(name='<tool>') in the agent to see required scopes
  • Workspace subdomain wrong — confirm by signing into the PlaidCloud UI; the subdomain is the part before .plaid.cloud

See AI coding agents troubleshooting for more.