Skip to content
LangChain

okfshare mcp for LangChain

io.github.megapanchamz/okfshare-mcp

Shared, versioned knowledge for AI coding agents: cited retrieval and publishing of OKF bundles.

client:LangChain transport:stdio runtime:npm

Install okfshare mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

okfshare mcp in other clients