MCP directory
A(

Anytype (self-hosted HTTP)

by github.com/ohneben · v1.0.6 · updated Sep 5, 2026

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

Docker

Run it locally

Install the package and point your AI client at it.

Docker

docker run -i --rm ghcr.io/ohneben/anytype-mcp:1.0.6

Environment variables

  • ANYTYPE_API_KEYrequiredsecret

    Anytype API key, created in the desktop app under Settings -> API Keys.

  • PORT

    Port the MCP endpoint listens on, inside the container and on the host.

  • ANYTYPE_API_BASE_URL

    Where the Anytype desktop API is reachable from inside the container.

  • ANYTYPE_VERSION

    Anytype API version header sent with every request.

  • ANYTYPE_API_HOST_HEADER

    Override the Host header sent to the Anytype API. Auto-derived when unset; Anytype rejects non-loopback hosts with 403.

  • MCP_SHARED_TOKENsecret

    Optional bearer token required on the /mcp endpoint. Empty means open, for localhost only.

  • ANYTYPE_MCP_SLIM_RESPONSES

    Compact API responses before returning them to the client. Set to false for raw payloads.

More from github.com/ohneben

More MCP servers