NestDaddy

Anytype (self-hosted HTTP)

io.github.ohneben/anytype-mcp ยท v1.0.6

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

Connect Runs on your machine

Terminal
claude mcp add anytype-mcp -e ANYTYPE_API_KEY=<ANYTYPE_API_KEY> -e PORT=<PORT> -e ANYTYPE_API_BASE_URL=<ANYTYPE_API_BASE_URL> -e ANYTYPE_VERSION=<ANYTYPE_VERSION> -e ANYTYPE_API_HOST_HEADER=<ANYTYPE_API_HOST_HEADER> -e MCP_SHARED_TOKEN=<MCP_SHARED_TOKEN> -e ANYTYPE_MCP_SLIM_RESPONSES=<ANYTYPE_MCP_SLIM_RESPONSES> -- docker run -i --rm ghcr.io/ohneben/anytype-mcp:1.0.6
claude_desktop_config.json
{
  "mcpServers": {
    "anytype-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ohneben/anytype-mcp:1.0.6"
      ],
      "env": {
        "ANYTYPE_API_KEY": "<ANYTYPE_API_KEY>",
        "PORT": "<PORT>",
        "ANYTYPE_API_BASE_URL": "<ANYTYPE_API_BASE_URL>",
        "ANYTYPE_VERSION": "<ANYTYPE_VERSION>",
        "ANYTYPE_API_HOST_HEADER": "<ANYTYPE_API_HOST_HEADER>",
        "MCP_SHARED_TOKEN": "<MCP_SHARED_TOKEN>",
        "ANYTYPE_MCP_SLIM_RESPONSES": "<ANYTYPE_MCP_SLIM_RESPONSES>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "anytype-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ohneben/anytype-mcp:1.0.6"
      ],
      "env": {
        "ANYTYPE_API_KEY": "<ANYTYPE_API_KEY>",
        "PORT": "<PORT>",
        "ANYTYPE_API_BASE_URL": "<ANYTYPE_API_BASE_URL>",
        "ANYTYPE_VERSION": "<ANYTYPE_VERSION>",
        "ANYTYPE_API_HOST_HEADER": "<ANYTYPE_API_HOST_HEADER>",
        "MCP_SHARED_TOKEN": "<MCP_SHARED_TOKEN>",
        "ANYTYPE_MCP_SLIM_RESPONSES": "<ANYTYPE_MCP_SLIM_RESPONSES>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "anytype-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ohneben/anytype-mcp:1.0.6"
      ],
      "env": {
        "ANYTYPE_API_KEY": "<ANYTYPE_API_KEY>",
        "PORT": "<PORT>",
        "ANYTYPE_API_BASE_URL": "<ANYTYPE_API_BASE_URL>",
        "ANYTYPE_VERSION": "<ANYTYPE_VERSION>",
        "ANYTYPE_API_HOST_HEADER": "<ANYTYPE_API_HOST_HEADER>",
        "MCP_SHARED_TOKEN": "<MCP_SHARED_TOKEN>",
        "ANYTYPE_MCP_SLIM_RESPONSES": "<ANYTYPE_MCP_SLIM_RESPONSES>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
ANYTYPE_API_KEY
Required, secret
Anytype API key, created in the desktop app under Settings -> API Keys.
PORT
Optional
Port the MCP endpoint listens on, inside the container and on the host.
ANYTYPE_API_BASE_URL
Optional
Where the Anytype desktop API is reachable from inside the container.
ANYTYPE_VERSION
Optional
Anytype API version header sent with every request.
ANYTYPE_API_HOST_HEADER
Optional
Override the Host header sent to the Anytype API. Auto-derived when unset; Anytype rejects non-loopback hosts with 403.
MCP_SHARED_TOKEN
Optional, secret
Optional bearer token required on the /mcp endpoint. Empty means open, for localhost only.
ANYTYPE_MCP_SLIM_RESPONSES
Optional
Compact API responses before returning them to the client. Set to false for raw payloads.

Details

Packageghcr.io/ohneben/anytype-mcp:1.0.6 (OCI, streamable-http)
First published5 Sep 2026
Last updated5 Sep 2026
Registry nameio.github.ohneben/anytype-mcp

More cloud and devops servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.