Skip to content
LangChain

Carbon Arc for LangChain

io.github.carbon-arc/mcp

The infrastructure for the AI economy: primitives for inference, agents, and decisions.

client:LangChain transport:streamable-http

Install Carbon Arc in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "mcp": {
            "transport": "streamable_http",
            "url": "https://mcp.carbonarc.ai",
        }
})

tools = await client.get_tools()

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

Carbon Arc in other clients