jsonc mcp for LangChain
io.github.mrfentmen/jsonc-mcp
Work with JSONC offline: strip comments and trailing commas, parse to JSON and locate errors
client:LangChain
transport:stdio
runtime:npm
Install jsonc mcp in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"jsonc-mcp": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "@mrfentmen/jsonc-mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs