langchain-mcp-adapters / setup / windsurf
Setup guide

Set up @langchain/mcp-adapters in Windsurf

communityunknownhealthy

LangChain.js adapters for Model Context Protocol (MCP)


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

Add this to ~/.codeium/windsurf/mcp_config.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 Windsurf is installed and up to date.
  2. Open ~/.codeium/windsurf/mcp_config.json and add the block above (merge into any existing mcpServers).
  3. Provide any required API keys/credentials as environment variables.
  4. Restart Windsurf and confirm @langchain/mcp-adapters’s tools appear.

03Other runtimes

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

Next step

Ship @langchain/mcp-adapters 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