Anytype (self-hosted HTTP)
io.github.ohneben/anytype-mcp
v1.0.6Updated Sep 5, 2026local · Docker
Self-hosted Anytype MCP server: the full Anytype API as an always-on Docker + HTTP endpoint.
Install
Needs 1 secret. Replace 1 placeholder with your own values.
Run in your terminal. Replace 1 placeholder.
claude mcp add anytype-mcp -e 'ANYTYPE_API_KEY=<your-anytype-api-key>' -e PORT=8769 -e ANYTYPE_API_BASE_URL=http://host.docker.internal:31009 -e ANYTYPE_VERSION=2025-11-08 -e ANYTYPE_MCP_SLIM_RESPONSES=true -- docker run -i --rm -e ANYTYPE_API_KEY -e PORT -e ANYTYPE_API_BASE_URL -e ANYTYPE_VERSION -e ANYTYPE_MCP_SLIM_RESPONSES ghcr.io/ohneben/anytype-mcp:1.0.6The registry lists extra launch arguments or environment variables for this server that could change what runs. They are left out here; check its repository before adding any.
Configuration
9 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.
ANYTYPE_API_KEYEnv var· required· secretAnytype API key, created in the desktop app under Settings -> API Keys.-pArgument· requiredPublish the MCP endpoint on the host.--add-hostArgument· requiredLet the container reach the Anytype desktop app on the host. Required on Linux, harmless on macOS and Windows.MCP_SHARED_TOKENEnv var· optional· secretOptional bearer token required on the /mcp endpoint. Empty means open, for localhost only.PORTEnv var· optionalPort the MCP endpoint listens on, inside the container and on the host.Default:8769ANYTYPE_API_BASE_URLEnv var· optionalWhere the Anytype desktop API is reachable from inside the container.Default:http://host.docker.internal:31009
Show 3 moreShow fewer
ANYTYPE_VERSIONEnv var· optionalAnytype API version header sent with every request.Default:2025-11-08ANYTYPE_API_HOST_HEADEREnv var· optionalOverride the Host header sent to the Anytype API. Auto-derived when unset; Anytype rejects non-loopback hosts with 403.ANYTYPE_MCP_SLIM_RESPONSESEnv var· optionalCompact API responses before returning them to the client. Set to false for raw payloads.Default:true
Links
Listed in the official MCP Registry since Sep 5, 2026. Mirrored daily; last checked Nov 26, 2026.