Skip to content
LangChain

ContextQA MCP for LangChain

io.github.contextqaai/contextqa

Create, run and debug application tests with ContextQA. Account and OAuth sign-in required.

client:LangChain transport:streamable-http

Install ContextQA MCP in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "contextqa": {
            "transport": "streamable_http",
            "url": "https://mcp.contextqa.com/mcp",
        }
})

tools = await client.get_tools()

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

ContextQA MCP in other clients