MCPComp Diagnostics for LangChain
dev.mcpcomp/diagnostics
Grade an MCP server's auth against the spec and diagnose which layer a failure is in.
client:LangChain
transport:stdio
runtime:npm
Install MCPComp Diagnostics in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"diagnostics": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "mcpcomp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs