Skip to content
LangChain

blacksmith for LangChain

io.github.grahamnotgrant/blacksmith

MCP server for Blacksmith CI - query runs, analyze test failures, detect flaky tests.

client:LangChain transport:stdio runtime:npm

Install blacksmith in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "blacksmith": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "blacksmith-mcp"],
        }
})

tools = await client.get_tools()

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

blacksmith in other clients