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

Cline

Add fastn to Cline in VS Code as a remote MCP server, sign in, and build integrations from a Cline task.

Cline adds fastn from its MCP settings as a remote server. Sign in once, then ask for the integration in a Cline task.

Before you start: set Cline up with a model first (Cline's own sign-in, or your API key). fastn exposes more than 128 tools, so pick a model that accepts that many; see Troubleshooting.

Add fastn

1

Open Add Remote Server

In the Cline panel, click the MCP icon at the top. On the MCP tab under Installed, click Add Remote Server.

2

Enter fastn's URL

Enter Server Name fastn and Server URL https://mcp.fastn.dev/fastn-workspace, leave Transport Type on Streamable HTTP, and click Add Server.

Cline's Add a remote MCP server form with Server Name, Server URL, Transport Type set to Streamable HTTP with SSE (Legacy) as the other option, and Add Server and Cancel buttons
Keep Streamable HTTP. fastn does not serve the legacy SSE transport.
3

Authenticate

fastn shows This MCP server requires authentication to get started. Click Authenticate.

Cline's MCP list with fastn, a status dot, the message This MCP server requires authentication to get started, and Authenticate and Delete Server buttons
Cline signs in with OAuth, so no token is needed.

fastn opens in your browser. Sign in if asked. If you belong to more than one fastn org, pick the workspace Cline works in and click Connect.

fastn's page titled Which workspace should Cline use?, with The org selected in fastn chosen, a list of orgs and a Connect button
The org selected in fastn follows whichever org you have open in the fastn dashboard; picking a named org pins Cline to it.

The browser shows Authentication Successful and closes itself. Back in VS Code, fastn's dot turns green in Cline's list.

Use it

Start a new Cline task and ask for the outcome in one sentence. To check the connection first, ask Who am I in fastn? Cline asks before it runs a fastn tool; approve it, and it answers with the org you picked when signing in.

From here Cline works through the same steps as every agent: see Building from your AI agent.

Add it by hand

Click Edit Configuration in Cline's MCP tab and add fastn under mcpServers. The type must be streamableHttp, written exactly so:

{
  "mcpServers": {
    "fastn": {
      "url": "https://mcp.fastn.dev/fastn-workspace",
      "type": "streamableHttp"
    }
  }
}

Then click Authenticate on fastn's row, as in step 3.

fastn's MCP server page with the Cline tile selected, showing a cline_mcp_settings.json snippet with a fastn entry of type streamableHttp and a note that the type must be camelCase
The Cline tile under Connect AI tools in fastn has the same snippet.

Troubleshooting

  • Invalid value for 'tools': maximum number of items is 128. The model Cline is using accepts at most 128 tools, and fastn exposes more. Pick a different model in Cline's settings; the error comes from the model provider, not from fastn.

  • fastn fails with a 405 error. The type is wrong. Use streamableHttp (camelCase), not sse or streamable-http.

  • Cline works on the wrong org. Delete fastn from Cline's MCP list, add it again and pick the workspace when you authenticate.

Last updated

Was this helpful?