Anytype (self-hosted HTTP)

io.github.ohneben/anytype-mcp

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "anytype-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ohneben/anytype-mcp:1.0.6"
      ],
      "env": {
        "ANYTYPE_API_KEY": "<your ANYTYPE_API_KEY>",
        "PORT": "8769",
        "ANYTYPE_API_BASE_URL": "http://host.docker.internal:31009",
        "ANYTYPE_VERSION": "2025-11-08",
        "MCP_SHARED_TOKEN": "<your MCP_SHARED_TOKEN>",
        "ANYTYPE_MCP_SLIM_RESPONSES": "true"
      }
    }
  }
}
Environment variables
  • ANYTYPE_API_KEYrequiredsecretAnytype API key, created in the desktop app under Settings -> API Keys.
  • PORTPort the MCP endpoint listens on, inside the container and on the host.
  • ANYTYPE_API_BASE_URLWhere the Anytype desktop API is reachable from inside the container.
  • ANYTYPE_VERSIONAnytype API version header sent with every request.
  • MCP_SHARED_TOKENsecretOptional bearer token required on the /mcp endpoint. Empty means open, for localhost only.
  • ANYTYPE_MCP_SLIM_RESPONSESCompact API responses before returning them to the client. Set to false for raw payloads.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
1.0.6
Registry
active
Published
9/5/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that Anytype (self-hosted HTTP) is listed here — it’s also the link we check for a free listing.

Anytype (self-hosted HTTP) — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-ohneben-anytype-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Anytype (self-hosted HTTP) — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Anytype (self-hosted HTTP) — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-ohneben-anytype-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.