Skip to content
LangChain

json with comments mcp for LangChain

io.github.mrfentmen/json-with-comments-mcp

JSON with Comments MCP: read, check, lint, scaffold and run code.

client:LangChain transport:stdio runtime:npm

Install json with comments mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "json-with-comments-mcp": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@mrfentmen/json-with-comments-mcp"],
        }
})

tools = await client.get_tools()

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

json with comments mcp in other clients