Skip to content
LangChain

textfiles mcp for LangChain

io.github.mrfentmen/textfiles-mcp

Use this MCP server to textfiles.com, the BBS era archive of zines, phreaking docs, and early...

client:LangChain transport:stdio runtime:npm

Install textfiles mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

textfiles mcp in other clients