Skip to content
LangChain

Docmost (self-hosted) for LangChain

io.github.punyamsingh/docmost-mcp

Read, search, edit and comment on self-hosted Docmost pages in Markdown. No Enterprise API key.

client:LangChain transport:stdio runtime:npm

Install Docmost (self-hosted) in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

Docmost (self-hosted) in other clients