GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者による説明(英語の原文)
Self-hosted Anytype MCP server: the full Anytype API as an always-on Docker + HTTP endpoint.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
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/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"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .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に保存されます。アカウントは不要です。
PORT envANYTYPE_API_BASE_URL envANYTYPE_VERSION envANYTYPE_API_HOST_HEADER envANYTYPE_MCP_SLIM_RESPONSES envこの設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント ohneben で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
入力が必要なもの:ANYTYPE_API_KEY, MCP_SHARED_TOKEN
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(1.0.6)がレジストリに届いたのは2 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにDockerも必要です。
同じカテゴリには:GitHub, Desktop Commander, Cloudflare MCP
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
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.)
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.
| Capability | This project | Official anyproto/anytype-mcp | Other 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) | ✅ | ✅ | ➖ |
| License | MIT | MIT | varies |
\*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.
Once it's connected, ask your assistant things like:
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:
space_id, that space's types and property definitions) in a single call, instead of a list-spaces → list-types → list-properties cascade.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.get-object returns the full markdown body).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.
127.0.0.1:31009).1. Add your API key. Copy the example config and paste in a key:
cp .env.example .env
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 …`?
npxre-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-remoteonce and
launching it with
noderemoves that step. Use absolute paths (GUI apps don't
inherit your shell
PATH, andmcp-remote's own#!/usr/bin/env nodeshebang
can't find
nodeotherwise). The paths above are Apple-Silicon Homebrew defaults;
adjust with
which nodeandnpm root -gif yours differ.
That's it — ask your assistant to search or create something in Anytype.
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.
Everything is set in .env (copied from .env.example):
| Variable | Default | What it does |
|---|---|---|
ANYTYPE_API_KEY | — | Your Anytype API key. Required. |
ANYTYPE_VERSION | 2025-11-08 | Anytype API version header. |
ANYTYPE_API_BASE_URL | http://host.docker.internal:31009 | Where 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. |
PORT | 8769 | Host port for the MCP endpoint. |
MCP_SHARED_TOKEN | *(empty)* | Optional bearer token to protect the endpoint. Empty = open, for localhost only. |
ANYTYPE_MCP_SLIM_RESPONSES | true | Compact 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).
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.
.env, which is git-ignored. Never commit real keys.MCP_SHARED_TOKEN and send it as a Bearer header or ?token=….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.
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.
Built on the official Anytype MCP server by Any Association. Licensed under the MIT License.