ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Anytype (self-hosted HTTP)

โดย ohnebenรุ่น 1.0.6i★ –iรันบนเครื่อง
ชื่อใน registryio.github.ohneben/anytype-mcp

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

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

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): 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

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • Dockerติดตั้ง Docker ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด 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": "ใส่ค่าของคุณ",
        "PORT": "ใส่ค่าของคุณ",
        "ANYTYPE_API_BASE_URL": "ใส่ค่าของคุณ",
        "ANYTYPE_VERSION": "ใส่ค่าของคุณ",
        "ANYTYPE_API_HOST_HEADER": "ใส่ค่าของคุณ",
        "MCP_SHARED_TOKEN": "ใส่ค่าของคุณ",
        "ANYTYPE_MCP_SLIM_RESPONSES": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add anytype --env ANYTYPE_API_KEY='ใส่ค่าของคุณ' --env PORT='ใส่ค่าของคุณ' --env ANYTYPE_API_BASE_URL='ใส่ค่าของคุณ' --env ANYTYPE_VERSION='ใส่ค่าของคุณ' --env ANYTYPE_API_HOST_HEADER='ใส่ค่าของคุณ' --env MCP_SHARED_TOKEN='ใส่ค่าของคุณ' --env ANYTYPE_MCP_SLIM_RESPONSES='ใส่ค่าของคุณ' -- 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": "ใส่ค่าของคุณ",
        "PORT": "ใส่ค่าของคุณ",
        "ANYTYPE_API_BASE_URL": "ใส่ค่าของคุณ",
        "ANYTYPE_VERSION": "ใส่ค่าของคุณ",
        "ANYTYPE_API_HOST_HEADER": "ใส่ค่าของคุณ",
        "MCP_SHARED_TOKEN": "ใส่ค่าของคุณ",
        "ANYTYPE_MCP_SLIM_RESPONSES": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน 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": "ใส่ค่าของคุณ",
        "PORT": "ใส่ค่าของคุณ",
        "ANYTYPE_API_BASE_URL": "ใส่ค่าของคุณ",
        "ANYTYPE_VERSION": "ใส่ค่าของคุณ",
        "ANYTYPE_API_HOST_HEADER": "ใส่ค่าของคุณ",
        "MCP_SHARED_TOKEN": "ใส่ค่าของคุณ",
        "ANYTYPE_MCP_SLIM_RESPONSES": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • 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.

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub ohneben ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด เครื่องมือนักพัฒนาi

  • ดาวมากกว่า 0% ของอีก 1395 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 48% ของอีก 1395 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 1395 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Anytype (self-hosted HTTP) ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: ANYTYPE_API_KEY, MCP_SHARED_TOKEN

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.0.6) เข้า registry 2 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Docker ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี GitHub, Desktop Commander, Cloudflare MCP

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

GitHub

โดย github

server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้

บนเครื่องหรือคลาวด์★ 34,245MITอัปเดต 3 วันที่ผ่านมา
ติดตั้ง

Desktop Commander

โดย wonderwhy-er

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

รันบนเครื่อง★ 10,225MITอัปเดต 16 วันที่ผ่านมา
ติดตั้ง

Cloudflare MCP

โดย cloudflare

Cloudflare MCP servers

รันบนคลาวด์★ 4,446Apache-2.0อัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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