Skip to content
LangChain

Docmost (self-hosted) for LangChain

io.github.bbik52/docmost-mcp-remote

Self-hosted remote MCP server for Docmost CE: members read and edit the wiki as themselves

client:LangChain transport:stdio runtime:oci

Install Docmost (self-hosted) in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "docmost-mcp-remote": {
            "transport": "stdio",
            "command": "docker",
            "args": ["run", "-i", "--rm", "ghcr.io/bbik52/docmost-mcp-remote:1.1.0"],
        }
})

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