Skip to content
LangChain

cartography for LangChain

io.github.datasynx/cartography

MCP-first read-only discovery of your infra & SaaS landscape as MCP resources, tools and prompts.

client:LangChain transport:stdio runtime:npm

Install cartography in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "cartography": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@datasynx/agentic-ai-cartography"],
        }
})

tools = await client.get_tools()

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

cartography in other clients