Anytype (self-hosted HTTP)
Self-hosted Anytype MCP server: the full Anytype API as an always-on Docker + HTTP…
- Pricing
- Open source
- Runs
- Remotely
- Version
- 1.0.6
- Listing updated
- 5 days ago
About Anytype (self-hosted HTTP)
Anytype (self-hosted HTTP) is an open-source MCP server. It runs as a hosted remote server, so there is nothing to install locally.
Self-hosted Anytype MCP server: the full Anytype API as an always-on Docker + HTTP endpoint.
Install
Run in a 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.6Add to claude_desktop_config.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>"
}
}
}
}Add to ~/.cursor/mcp.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>"
}
}
}
}Add to .vscode/mcp.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>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.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>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"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>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
ANYTYPE_API_KEYAnytype API key, created in the desktop app under Settings -> API Keys.RequiredPORTPort 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.ANYTYPE_API_HOST_HEADEROverride the Host header sent to the Anytype API. Auto-derived when unset; Anytype rejects non-loopback hosts with 403.MCP_SHARED_TOKENOptional 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.
Pricing
Open source
Anytype (self-hosted HTTP) 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.