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
- Make sure Windsurf is installed and up to date.
- Open
~/.codeium/windsurf/mcp_config.jsonand add the block above (merge into any existingmcpServers). - Provide any required API keys/credentials as environment variables.
- 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 LoadoutSee also: server page · is it safe? · alternatives