ai-sdk-mcp / setup / cline
Setup guide

Set up @ai-sdk/mcp in Cline

partnerunknownhealthy

The **Model Context Protocol (MCP) client** for the [AI SDK](https://ai-sdk.dev/docs) lets you connect to MCP servers and use their tools with AI SDK functions like `generateText` and `streamText`.


01Configuration
{ "mcpServers": { "ai-sdk-mcp": { "command": "npx", "args": [ "-y", "@ai-sdk/mcp" ] } } }

Add this to cline_mcp_settings.json. Generated from the captured install method (npx); the mcpServers shape is shared across Claude Desktop, Cursor, Windsurf, Cline, and VS Code.


02Steps
  1. Make sure Cline is installed and up to date.
  2. Open cline_mcp_settings.json and add the block above (merge into any existing mcpServers).
  3. Provide any required API keys/credentials as environment variables.
  4. Restart Cline and confirm @ai-sdk/mcp’s tools appear.

03Other runtimes

04Provenance
config_sourcegenerated from captured install method
last_checked2026-06-30 07:32Z
sourcesnpm registry [p4]

Next step

Ship @ai-sdk/mcp to your agents as a governed Loadout — config, scopes, and approval rules in one place.

Build a Loadout

See also: server page · is it safe? · alternatives