Skip to content
LangChain

cursor history for LangChain

io.github.s2thend/cursor-history

MCP server for browsing, searching, exporting, and backing up your Cursor AI chat history

client:LangChain transport:stdio runtime:npm

Install cursor history in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "cursor-history": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "cursor-history-mcp"],
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

cursor history in other clients