Skip to content
LangChain

readfirst for LangChain

io.github.jeonghun917/readfirst

What to read and check before changing a file: project rules, risks, checks and tests per file.

client:LangChain transport:stdio runtime:npm

Install readfirst in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

readfirst in other clients