Anytype (self Hosted HTTP) logo

Anytype (self Hosted HTTP)

Runs Anytype’s local API as an always-on Docker and Streamable-HTTP MCP endpoint for multiple clients.

Install Anytype (self Hosted HTTP)

Pick your client, then add it in one click or paste the config.

SSE (Remote)
Server URL
http://localhost:8769/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Overview

Anytype (self-hosted HTTP) MCP server exposes the Anytype desktop app’s local API to MCP clients over Streamable HTTP or stdio. It generates tools from the running Anytype API, including a consolidated overview tool and operations for searching, reading, and modifying content. Docker Compose keeps the HTTP service running at a configurable port and supports optional bearer-token protection. Reach for it when several clients need access to one local Anytype connection instead of launching a separate stdio process.

Use cases

  • Search an Anytype knowledge base from an MCP client
  • Create tasks and other Anytype content through an assistant
  • Share one local Anytype connection across multiple MCP clients
  • Run an always-on Anytype MCP endpoint with Docker Compose

Key features

  • Streamable-HTTP and stdio transports
  • Dynamic full-API tool generation
  • Consolidated Anytype API overview tool
  • Docker Compose deployment
  • Optional bearer-token authentication
  • Slimmed API responses with configurable raw output

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 2d ago

Recent health check succeeded.

7/7 checks healthy over the last 45d

Supply-chain signal

1 high-severity advisory on record for this package. Most advisories affect transitive dependencies and may not be exploitable in this server's actual usage — this is a directional signal, not a security audit.

Critical 1High 0Medium 0Low 0

Scanned 9/14/2026 via OSV.dev · http://localhost:8769/mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
Last commit4d agoMost recent push to the default branch.
Directory activity6 viewsConfig copies, upvotes, and views on AllMCPs.

How Anytype (self Hosted HTTP) works

What Anytype (self-hosted HTTP) does

Anytype (self-hosted HTTP) connects MCP clients to the local API provided by the Anytype desktop application. The application must be running on the same machine or otherwise reachable by the server; the default API address is 127.0.0.1:31009 from the host perspective.

The server exposes the full API as MCP tools generated from the active OpenAPI description. These tools let an assistant search an Anytype knowledge base, retrieve objects, inspect spaces and types, and create or change content. The README also gives task creation and new-space creation as supported examples. Tools are marked as read-only, write, or destructive to help clients distinguish their effects.

A synthesized API-get-overview tool returns the available spaces and their types in one request. When given a space identifier, it also includes that space’s property definitions, reducing the need for several discovery calls. Responses are compacted by default: empty values, nulls, and selected repeated metadata are removed before results reach the model.

How it works

The typical flow is an MCP client connecting to the server’s /mcp endpoint, followed by the server forwarding requests to the local Anytype API. Docker Compose runs the service in the background, allowing multiple MCP clients to use the same endpoint. Clients that only support stdio can connect through the mcp-remote bridge; clients with native Streamable-HTTP support can use the endpoint directly.

Anytype (self-hosted HTTP) also supports a local stdio mode when built from source. That mode is useful when a client expects to launch an MCP process itself, while the Docker deployment is intended for a continuously available HTTP service.

Setup and configuration

Install and run the Anytype desktop app, then create an API key from Settings → API Keys. Copy the example environment file, place the key in ANYTYPE_API_KEY, and start the service with docker compose up -d --build. The default MCP port is 8769; /healthz returns a simple health response for checking that the container is available.

The container normally reaches the host application through http://host.docker.internal:31009. ANYTYPE_API_BASE_URL can change that address, while ANYTYPE_API_HOST_HEADER controls the Host header when the API requires a local-origin value. ANYTYPE_VERSION selects the API version header. Set PORT to change the exposed service port.

Set MCP_SHARED_TOKEN to require bearer-token authentication on the HTTP endpoint. With no token configured, the endpoint is unauthenticated and is intended for localhost use. ANYTYPE_MCP_SLIM_RESPONSES=false disables response compaction and preserves raw API payloads. Recreate the containers after changing environment values.

Tools and capabilities

  • Dynamically generates MCP tools from the running Anytype API.
  • Provides the consolidated API-get-overview discovery operation.
  • Supports read, write, and destructive Anytype operations with effect hints.
  • Compacts list and search responses by default to reduce returned context.
  • Serves MCP through Streamable HTTP or stdio.
  • Includes a health-check endpoint for the HTTP deployment.

Limitations and notes

This server depends on the Anytype desktop application and its local API; it is not a standalone hosted Anytype backend. Docker is required for the documented HTTP setup, including Docker Desktop on macOS and Windows. The API key is stored in .env, which should not be committed.

Anytype (self-hosted HTTP) leaves the HTTP endpoint open unless MCP_SHARED_TOKEN is set, so exposing it beyond the local machine requires additional protection. Claude Desktop’s documented setup requires mcp-remote because that client configuration is stdio-only. Native HTTP clients can connect to /mcp without that bridge.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Anytype (self Hosted HTTP)

Anytype (self-hosted HTTP) is an MCP server that connects AI clients to the local API of the Anytype desktop app. It dynamically exposes Anytype API tools, including space and type discovery, search, object retrieval, and content-changing operations, through Streamable HTTP or stdio.

Install Anytype and Docker, create an API key in Anytype’s Settings → API Keys, put it in `.env` as `ANYTYPE_API_KEY`, and run `docker compose up -d --build`. Check `http://localhost:8769/healthz`, then register the `/mcp` endpoint with your client.

Yes, Cursor is named as a supported MCP client. Configure it to connect to the running HTTP endpoint, using the client’s Streamable-HTTP configuration if available. The server can also be reached through an MCP bridge when a client only supports stdio.

Set `MCP_SHARED_TOKEN` to a non-empty value and send that value as a Bearer token or query token. The endpoint is open by default, which is suitable for localhost but requires protection before exposing it beyond the machine.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAnytype (self Hosted HTTP) AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/anytype-self-hosted-http?style=directory)](https://allmcps.com/mcp/anytype-self-hosted-http)
HTML Embed
<a href="https://allmcps.com/mcp/anytype-self-hosted-http"><img src="https://allmcps.com/api/badge/anytype-self-hosted-http?style=directory" alt="Anytype (self Hosted HTTP) on AllMCPs" /></a>