原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Anytype (self-hosted HTTP)

作者:ohneben版本 1.0.6i★ –i在你的电脑上运行
注册名称io.github.ohneben/anytype-mcp

安装

概览

作者提供的说明(英文原文)

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

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: Streamable HTTP
  • 分类: 开发者工具
  • 你需要填写:ANYTYPE_API_KEY, MCP_SHARED_TOKEN

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: ANYTYPE_API_KEY, PORT, ANYTYPE_API_BASE_URL, ANYTYPE_VERSION, ANYTYPE_API_HOST_HEADER, MCP_SHARED_TOKEN, ANYTYPE_MCP_SLIM_RESPONSES

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "anytype": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "ANYTYPE_API_KEY",
        "-e",
        "PORT",
        "-e",
        "ANYTYPE_API_BASE_URL",
        "-e",
        "ANYTYPE_VERSION",
        "-e",
        "ANYTYPE_API_HOST_HEADER",
        "-e",
        "MCP_SHARED_TOKEN",
        "-e",
        "ANYTYPE_MCP_SLIM_RESPONSES",
        "ghcr.io/ohneben/anytype-mcp:1.0.6"
      ],
      "env": {
        "ANYTYPE_API_KEY": "your-value",
        "PORT": "your-value",
        "ANYTYPE_API_BASE_URL": "your-value",
        "ANYTYPE_VERSION": "your-value",
        "ANYTYPE_API_HOST_HEADER": "your-value",
        "MCP_SHARED_TOKEN": "your-value",
        "ANYTYPE_MCP_SLIM_RESPONSES": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add anytype --env ANYTYPE_API_KEY=your-value --env PORT=your-value --env ANYTYPE_API_BASE_URL=your-value --env ANYTYPE_VERSION=your-value --env ANYTYPE_API_HOST_HEADER=your-value --env MCP_SHARED_TOKEN=your-value --env ANYTYPE_MCP_SLIM_RESPONSES=your-value -- docker run -i --rm -e ANYTYPE_API_KEY -e PORT -e ANYTYPE_API_BASE_URL -e ANYTYPE_VERSION -e ANYTYPE_API_HOST_HEADER -e MCP_SHARED_TOKEN -e ANYTYPE_MCP_SLIM_RESPONSES ghcr.io/ohneben/anytype-mcp:1.0.6

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "anytype": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "ANYTYPE_API_KEY",
        "-e",
        "PORT",
        "-e",
        "ANYTYPE_API_BASE_URL",
        "-e",
        "ANYTYPE_VERSION",
        "-e",
        "ANYTYPE_API_HOST_HEADER",
        "-e",
        "MCP_SHARED_TOKEN",
        "-e",
        "ANYTYPE_MCP_SLIM_RESPONSES",
        "ghcr.io/ohneben/anytype-mcp:1.0.6"
      ],
      "env": {
        "ANYTYPE_API_KEY": "your-value",
        "PORT": "your-value",
        "ANYTYPE_API_BASE_URL": "your-value",
        "ANYTYPE_VERSION": "your-value",
        "ANYTYPE_API_HOST_HEADER": "your-value",
        "MCP_SHARED_TOKEN": "your-value",
        "ANYTYPE_MCP_SLIM_RESPONSES": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "anytype": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "ANYTYPE_API_KEY",
        "-e",
        "PORT",
        "-e",
        "ANYTYPE_API_BASE_URL",
        "-e",
        "ANYTYPE_VERSION",
        "-e",
        "ANYTYPE_API_HOST_HEADER",
        "-e",
        "MCP_SHARED_TOKEN",
        "-e",
        "ANYTYPE_MCP_SLIM_RESPONSES",
        "ghcr.io/ohneben/anytype-mcp:1.0.6"
      ],
      "env": {
        "ANYTYPE_API_KEY": "your-value",
        "PORT": "your-value",
        "ANYTYPE_API_BASE_URL": "your-value",
        "ANYTYPE_VERSION": "your-value",
        "ANYTYPE_API_HOST_HEADER": "your-value",
        "MCP_SHARED_TOKEN": "your-value",
        "ANYTYPE_MCP_SLIM_RESPONSES": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

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

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 ohneben 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“开发者工具”中的其他服务器比较i

  • 星标数多于此分类中其他 1396 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 1396 个服务器的 48% 更新
  • 基础检查结果等于或优于此分类中其他 1396 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Anytype (self-hosted HTTP) 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:ANYTYPE_API_KEY, MCP_SHARED_TOKEN

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.0.6)于2个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker。

有什么可以替代它?

同一分类中有:GitHub, Desktop Commander, Cloudflare MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

GitHub

作者:github

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

电脑或云端★ 34,245MIT4天前更新
安装

Desktop Commander

作者:wonderwhy-er

MCP server for terminal commands, file operations, and process management

在你的电脑上运行★ 10,225MIT16天前更新
安装

Cloudflare MCP

作者:cloudflare

Cloudflare MCP servers

在云端运行★ 4,446Apache-2.014个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

ohneben Anytype MCP

Talk to your Anytype knowledge base in plain language from AI assistants like Claude, Cursor, and any other MCP client.

This is a self-hosted fork of the official anyproto/anytype-mcp that adds a Docker container and a Streamable-HTTP transport, so the server can run quietly in the background and be reached by any MCP client over HTTP. (The original speaks stdio only.)

Why this one?

The official Anytype MCP server is great, but it runs as a stdio subprocess that each client has to launch on demand. This project keeps 100% of its capabilities and adds a production-style deployment: one always-on server, in Docker, that any number of MCP clients can reach over HTTP.

CapabilityThis projectOfficial anyproto/anytype-mcpOther community servers\*
Full Anytype API coverage (dynamic OpenAPI → MCP tools)✅✅✅
stdio transport✅✅✅
Streamable-HTTP transport (native, or via mcp-remote)✅❌❌
Always-on background service✅❌❌
One server → many clients at once✅❌❌
Docker + docker-compose✅❌❌
Health-check endpoint + auto-restart✅❌❌
Optional bearer-token auth on the endpoint✅❌❌
🟢 / 🟡 / 🔴 read-only / write / destructive tool hints✅➖➖
Automated test suite (Vitest)✅✅➖
LicenseMITMITvaries

\*Community servers such as Qwinty/anytype-mcp (JS), wethegreenpeople/anytype-mcp (Python) and anytype-mcp-plus — most are stdio-only and launched via npx. "➖" = not documented / varies. Snapshot from July 2026; check each project for its latest.

In short: if you just want to try Anytype from your AI client, the official server is perfect. If you want it running in the background, always ready, and shared across every MCP client on your machine, use this one.

What you can do

Once it's connected, ask your assistant things like:

  • "Search my Anytype for notes about the Q3 launch."
  • "Create a task 'Write the report', due in 3 days."
  • "Make a new space called 'Travel' and add a packing checklist."

Tools are generated automatically from your running Anytype app and grouped into 🟢 read-only, 🟡 write, and 🔴 delete.

The server is tuned to keep your assistant fast and frugal with tool calls:

  • `API-get-overview` — a synthesized tool that returns all spaces with their types (or, given a space_id, that space's types and property definitions) in a single call, instead of a list-spaces → list-types → list-properties cascade.
  • Slim responses — API payloads are compacted before they reach the assistant: empty property values, object discriminators, and nulls are dropped, and the type embedded in each search/list result is reduced to its identifiers. This typically shrinks list/search responses by well over half, which means less context burned per call and fewer follow-up calls. Set ANYTYPE_MCP_SLIM_RESPONSES=false to get raw API payloads instead.
  • Routing hints — tool descriptions tell the assistant which tool is cheapest for a job (e.g. search instead of paginating lists, and that only get-object returns the full markdown body).

How it works

Claude / Cursor / …  ──MCP──►  this server  ──HTTP──►  Anytype desktop app (local API)

The server only talks to the local API of the Anytype desktop app on your own machine. Your data stays on your computer.

Requirements

  • The Anytype desktop app, installed and running (it serves a local API at 127.0.0.1:31009).
  • Docker (Docker Desktop on macOS/Windows) for the setup below.

Quick start (Docker)

1. Add your API key. Copy the example config and paste in a key:

cp .env.example .env

open .env and set ANYTYPE_API_KEY=... (see "Get an API key" below)

2. Start the server:

docker compose up -d --build

3. Confirm it's running:

curl -s http://localhost:8769/healthz     # → {"status":"ok"}

4. Connect your MCP client. Add an anytype entry under mcpServers, then fully quit and reopen the app. Pick the form that matches your client:

Claude Code (or any client that speaks Streamable-HTTP natively) — connect directly, no helper process:

"anytype": {

"type": "http", "url": "http://localhost:8769/mcp" }

Claude Desktop (its config is stdio-only) needs the mcp-remote bridge. Install it once, then launch it via node rather than npx:

npm i -g mcp-remote
"anytype": {

"command": "/opt/homebrew/bin/node", "args": [ "/opt/homebrew/lib/node_modules/mcp-remote/dist/proxy.js", "http://localhost:8769/mcp", "--allow-http" ] }

Why not `npx -y mcp-remote …`? npx re-resolves the package through the npm

cache on every launch. When a client cold-starts several MCP servers at once they

contend on that cache, and some launchers can wedge *inside npx* for minutes —

which the client reports as a connection timeout. Installing mcp-remote once and

launching it with node removes that step. Use absolute paths (GUI apps don't

inherit your shell PATH, and mcp-remote's own #!/usr/bin/env node shebang

can't find node otherwise). The paths above are Apple-Silicon Homebrew defaults;

adjust with which node and npm root -g if yours differ.

That's it — ask your assistant to search or create something in Anytype.

Get an API key

In the Anytype desktop app: Settings → API Keys → Create new. Copy the key into .env as ANYTYPE_API_KEY=. Your key stays in .env, which git ignores, so it is never committed.

Configuration

Everything is set in .env (copied from .env.example):

VariableDefaultWhat it does
ANYTYPE_API_KEY—Your Anytype API key. Required.
ANYTYPE_VERSION2025-11-08Anytype API version header.
ANYTYPE_API_BASE_URLhttp://host.docker.internal:31009Where the Anytype app's API is reachable from the container.
ANYTYPE_API_HOST_HEADER*(auto)*Host header sent to the Anytype API. Auto-set to localhost: when the base URL uses a container host alias, because Anytype rejects any other Host with 403 request origin is not allowed.
PORT8769Host port for the MCP endpoint.
MCP_SHARED_TOKEN*(empty)*Optional bearer token to protect the endpoint. Empty = open, for localhost only.
ANYTYPE_MCP_SLIM_RESPONSEStrueCompact API responses before sending them to the assistant. Set to false for raw payloads.

After changing .env, reload with docker compose up -d --force-recreate.

For logs, restart, key rotation, and verification commands, see [DOCKER.md](./DOCKER.md).

Run from source (stdio, no Docker)

Prefer the classic stdio mode? Build it locally:

npm install

npm run build

Then register it with your client using a stdio command and your key in OPENAPI_MCP_HEADERS — see the upstream README for the exact stdio configuration.

Security

  • Your API key lives only in .env, which is git-ignored. Never commit real keys.
  • The HTTP endpoint is unauthenticated by default (fine on localhost). To expose it beyond your machine, set MCP_SHARED_TOKEN and send it as a Bearer header or ?token=….

MCP Registry

This server publishes to the official MCP Registry under the name io.github.ohneben/anytype-mcp. To look up the current listing:

curl "https://registry.modelcontextprotocol.io/v0/servers?search=io.github.ohneben/anytype-mcp"

Its listing is described by server.json and is republished automatically on every v*.*.* tag by .github/workflows/publish-mcp.yml, which waits for the matching GHCR image and authenticates with GitHub OIDC (no secret needed). The registry proves the image is ours via the io.modelcontextprotocol.server.name label in the Dockerfile, so the GHCR package must stay Public.

Releasing

The git tag is the version. Pushing v1.2.3 is the whole release: the tag is stamped into package.json before the image is built and into server.json before the listing is published, so the version the server reports to MCP clients, the image tag, and the registry entry cannot disagree. Nothing needs to be bumped by hand first, and the versions committed here are only the defaults used by local builds.

Credits & license

Built on the official Anytype MCP server by Any Association. Licensed under the MIT License.

问 PopNx