Skip to content
LangChain

Anytype (self-hosted HTTP) for LangChain

io.github.ohneben/anytype-mcp

Self-hosted Anytype MCP server: the full Anytype API as an always-on Docker + HTTP endpoint.

client:LangChain transport:stdio runtime:oci

Install Anytype (self-hosted HTTP) in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "anytype-mcp": {
            "transport": "stdio",
            "command": "docker",
            "args": ["run", "-i", "--rm", "ghcr.io/ohneben/anytype-mcp:1.0.6"],
        }
})

tools = await client.get_tools()

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

Anytype (self-hosted HTTP) in other clients