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"
    }
  }
}
  1. 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

Same server, other clients

Full LangChain Docs test report | Compare all tested connectors | Connector Weather