Home / LangChain Docs MCP / Setup guides / Cursor
How to add the LangChain Docs MCP server to Cursor
Server URL: https://docs.langchain.com/mcp
Sign-in: No sign-in. Paste the URL and it connects.
Our hands-on result: Partial 5 of 6 tasks passed, tested Oct 16, 2026 with MCP TypeScript SDK (reference client).
Cursor setup
File: ~/.cursor/mcp.json (or .cursor/mcp.json in a project)
{
"mcpServers": {
"langchain-docs": {
"url": "https://docs.langchain.com/mcp"
}
}
}- Save the file. The server shows a green dot in Cursor Settings, then MCP.
We ran the hands-on test in a reference client, not in Cursor. This config follows Cursor's documented format for remote (Streamable HTTP) servers. If it fails for you, tell us and we will retest.
Known problems and fixes
- MCP tool results too large: context window blown by one call
- MCP search returns results for nonsense queries
Same server, other clients
- LangChain Docs MCP in Claude
- LangChain Docs MCP in Claude Code
- LangChain Docs MCP in VS Code
- LangChain Docs MCP in ChatGPT
Full LangChain Docs test report | Compare all tested connectors | Connector Weather