For the complete documentation index, see llms.txt. This page is also available as Markdown.

MCP gateway

Letting an AI client reach your connectors as tools.

Connect an agent: in the top bar, and Connect fastn to your favourite agent under the prompt box on Home

Everything you build in fastn (connectors, actions, workflows), can be exposed to an AI client over the Model Context Protocol. The client sees your connectors as tools it can call, with the same customer scoping and the same permission model as everything else.

The Home screen, with a Connect to Claude button below the four suggestion chips and the What do you want to build? prompt box, under a time-of-day greeting
Connect to Claude sits under the build prompt on Home, below the suggestion chips.

Connecting

Either opens the same dialog: Add fastn as an MCP server and your agent can build integrations for you, right in the chat.

The Connect fastn to your favourite agent dialog, with Claude recommended and an Add to Claude button, a grid of other clients including Cursor, VS Code, Codex, Gemini CLI, Antigravity, Windsurf, Cline, ChatGPT, Lovable and Bolt, and the MCP server URL https://mcp.fastn.dev with a Copy button
Add to Claude is the one-click path; every other client takes the same URL.

Claude is the recommended client, with Add to Claude opening Claude's custom-connector dialog with the name and URL already filled in. Picking any client from Other — Cursor, VS Code, Codex, Gemini CLI, Antigravity, Windsurf, Cline, ChatGPT, Lovable, Bolt — swaps in that client's own instructions, including by-hand steps, a Claude Code command and a whole-org option for Claude.

The dialog's own note on the one-click link is worth repeating: it opens Claude with the connector filled in, you review it and authorise fastn yourself, and Claude never adds a connector from a link on its own.

The MCP server URL sits at the bottom with a Copy button.

For Claude Code, the dialog also gives you a command to run:

For any other MCP client, point it at that URL and authenticate with an API key from Settings → API keys:

Test keys work too, with X-fastn-Test-Mode: true, and carry the same warning as everywhere else:

Neither mode is a sandbox. A Test key reaches the same live connections as a Live key and causes the same real writes.

Scoping

The gateway inherits the platform's access model rather than inventing a second one:

  • Customer scope: a connection belongs to one customer, so a tool call runs against that customer's credential and cannot reach another's. Which customers a key may reach is set on the key itself, under Customers it can reach.

  • Permissions: an API key carries a permission preset (Full access, Developer, Operator, Viewer, End user or Custom) and a per-resource matrix. That caps what the gateway can do with it.

  • Action scope: on a connector's detail page, the middle pane lists every action with a Select all control. Narrowing that selection is what makes read-only Jira for one customer, nothing beyond that a configuration rather than a promise.

Watching it

Gateway activity lands in the same places as everything else: runs appear in Executions, with the calling identity in the Triggered by column, and calls made with an API key are attributable to that key in the audit log, which is readable by Owners and Admins.

Agent usage against your AI credit allowance is broken down By agent in the credits popover in the top bar.

The A2A option

The widget's Embed tab lists A2A (agent-to-agent), alongside Iframe and SDK, marked soon. That is the customer-facing counterpart: your customer's own agent reaching the integrations you offer. See Embedding the widget.

Last updated

Was this helpful?