Skip to content
LangChain

mcp graphql enhanced for LangChain

io.github.letoribo/mcp-graphql-enhanced

GraphQL gateway for LLMs. Handles huge GitHub GraphQL & @neo4j/graphql schemas without crashing

client:LangChain transport:stdio runtime:npm

Install mcp graphql enhanced in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "mcp-graphql-enhanced": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@letoribo/mcp-graphql-enhanced"],
        }
})

tools = await client.get_tools()

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

mcp graphql enhanced in other clients