Cursor Delegate for LangChain
io.github.andreilungeanu/cursor-delegate-mcp
Bridge AI coding hosts to cursor-agent over the Agent Client Protocol.
client:LangChain
transport:stdio
runtime:npm
Install Cursor Delegate in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"cursor-delegate-mcp": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "cursor-delegate-mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs