Skip to content
LangChain

MCP Protocol Conformance for LangChain

io.studiomeyer/protocol-conformance

MCP conformance test harness. JSON-RPC, OAuth 2.1 PKCE, schemas, smoke, annotations. CLI + lib.

client:LangChain transport:stdio runtime:npm

Install MCP Protocol Conformance in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

MCP Protocol Conformance in other clients