# Anytype (self-hosted HTTP)

> Anytype (self-hosted HTTP) is an open-source MCP server. Self-hosted Anytype MCP server: the full Anytype API as an always-on Docker + HTTP endpoint. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/ohneben/anytype-mcp
- **MCP Registry name:** io.github.ohneben/anytype-mcp
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

```sh
claude mcp add anytype-mcp --env ANYTYPE_API_KEY='<ANYTYPE_API_KEY>' --env MCP_SHARED_TOKEN='<MCP_SHARED_TOKEN>' -- docker run -i --rm -e ANYTYPE_API_KEY -e MCP_SHARED_TOKEN ghcr.io/ohneben/anytype-mcp:1.0.6
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "anytype-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "ANYTYPE_API_KEY",
        "-e",
        "MCP_SHARED_TOKEN",
        "ghcr.io/ohneben/anytype-mcp:1.0.6"
      ],
      "env": {
        "ANYTYPE_API_KEY": "<ANYTYPE_API_KEY>",
        "MCP_SHARED_TOKEN": "<MCP_SHARED_TOKEN>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "anytype-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "ANYTYPE_API_KEY",
        "-e",
        "MCP_SHARED_TOKEN",
        "ghcr.io/ohneben/anytype-mcp:1.0.6"
      ],
      "env": {
        "ANYTYPE_API_KEY": "<ANYTYPE_API_KEY>",
        "MCP_SHARED_TOKEN": "<MCP_SHARED_TOKEN>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "anytype-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "ANYTYPE_API_KEY",
        "-e",
        "MCP_SHARED_TOKEN",
        "ghcr.io/ohneben/anytype-mcp:1.0.6"
      ],
      "env": {
        "ANYTYPE_API_KEY": "<ANYTYPE_API_KEY>",
        "MCP_SHARED_TOKEN": "<MCP_SHARED_TOKEN>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "anytype-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "ANYTYPE_API_KEY",
        "-e",
        "MCP_SHARED_TOKEN",
        "ghcr.io/ohneben/anytype-mcp:1.0.6"
      ],
      "env": {
        "ANYTYPE_API_KEY": "<ANYTYPE_API_KEY>",
        "MCP_SHARED_TOKEN": "<MCP_SHARED_TOKEN>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "anytype-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "ANYTYPE_API_KEY",
        "-e",
        "MCP_SHARED_TOKEN",
        "ghcr.io/ohneben/anytype-mcp:1.0.6"
      ],
      "env": {
        "ANYTYPE_API_KEY": "<ANYTYPE_API_KEY>",
        "MCP_SHARED_TOKEN": "<MCP_SHARED_TOKEN>"
      }
    }
  }
}
```

## FAQ

### Is Anytype (self-hosted HTTP) free?

Yes. Anytype (self-hosted HTTP) is open source, so you can use and self-host it for free.

### How do I add Anytype (self-hosted HTTP) to Claude Code?

Run this command in your terminal: claude mcp add anytype-mcp --env ANYTYPE_API_KEY='<ANYTYPE_API_KEY>' --env MCP_SHARED_TOKEN='<MCP_SHARED_TOKEN>' -- docker run -i --rm -e ANYTYPE_API_KEY -e MCP_SHARED_TOKEN ghcr.io/ohneben/anytype-mcp:1.0.6

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/anytype-self-hosted-http
