/ Verzeichnis / Playground / anytype-mcp
● Community anyproto ⚡ Sofort

anytype-mcp

von anyproto · anyproto/anytype-mcp

Official Anytype MCP — search and manage your encrypted local wiki (objects, lists, types, properties) from any AI assistant.

anytype-mcp (anyproto) is the official server from the Anytype team. Talks to the local Anytype API (default 127.0.0.1:31009) via a bearer token you generate in App Settings. Good fit for privacy-conscious users who want an agent-controllable knowledge base.

Warum nutzen

Hauptfunktionen

Live-Demo

In der Praxis

anytype.replay ▶ bereit
0/0

Installieren

Wählen Sie Ihren Client

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "anytype": {
      "command": "npx",
      "args": [
        "-y",
        "anytype-mcp"
      ],
      "_inferred": true
    }
  }
}

Öffne Claude Desktop → Settings → Developer → Edit Config. Nach dem Speichern neu starten.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "anytype": {
      "command": "npx",
      "args": [
        "-y",
        "anytype-mcp"
      ],
      "_inferred": true
    }
  }
}

Cursor nutzt das gleiche mcpServers-Schema wie Claude Desktop. Projektkonfiguration schlägt die globale.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "anytype": {
      "command": "npx",
      "args": [
        "-y",
        "anytype-mcp"
      ],
      "_inferred": true
    }
  }
}

Klicken Sie auf das MCP-Servers-Symbol in der Cline-Seitenleiste, dann "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "anytype": {
      "command": "npx",
      "args": [
        "-y",
        "anytype-mcp"
      ],
      "_inferred": true
    }
  }
}

Gleiche Struktur wie Claude Desktop. Windsurf neu starten zum Übernehmen.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "anytype",
      "command": "npx",
      "args": [
        "-y",
        "anytype-mcp"
      ]
    }
  ]
}

Continue nutzt ein Array von Serverobjekten statt einer Map.

~/.config/zed/settings.json
{
  "context_servers": {
    "anytype": {
      "command": {
        "path": "npx",
        "args": [
          "-y",
          "anytype-mcp"
        ]
      }
    }
  }
}

In context_servers hinzufügen. Zed lädt beim Speichern neu.

claude mcp add anytype -- npx -y anytype-mcp

Einzeiler. Prüfen mit claude mcp list. Entfernen mit claude mcp remove.

Anwendungsfälle

Praxisnahe Nutzung: anytype-mcp

Capture agent research into Anytype objects

👤 Researchers, PKM enthusiasts ⏱ ~15 min beginner

Wann einsetzen: You want takeaways from a Claude session to land directly in your wiki, not in another chat log you'll lose.

Voraussetzungen
  • Anytype desktop running — anytype.io
  • API key — Anytype → App Settings → API Keys → New
Ablauf
  1. Define the target type
    In my Anytype space 'Research', ensure a type 'Paper Note' exists with properties [title, summary, source, tags].✓ Kopiert
    → Type created or already present
  2. Create objects from the chat content
    For each paper I referenced in the last turn, create a 'Paper Note' object with summary and tags.✓ Kopiert
    → N objects created

Ergebnis: Session knowledge persisted where you can find it later.

Fallstricke
  • Bearer token leaked in logs — Use env var, never inline; regenerate if exposed
Kombinieren mit: zotero

Process an Anytype inbox space into typed notes

👤 PKM maintainers ⏱ ~25 min intermediate

Wann einsetzen: Your 'Inbox' space piles up; you want AI to classify and file into proper types.

Ablauf
  1. List inbox items
    Search objects in space 'Inbox' with no type or type='Note'. Return titles + snippet.✓ Kopiert
    → Raw inbox list
  2. Classify and re-type
    For each, propose the right type (Idea, Task, Reference, Person) and move it to the correct space. Apply tags.✓ Kopiert
    → Inbox drains into structured spaces

Ergebnis: A continuously-processed PKM without manual triage.

Ask questions of your own wiki with Anytype MCP

👤 Anyone with years of notes ⏱ ~10 min beginner

Wann einsetzen: You remember writing something relevant but can't find it.

Ablauf
  1. Global search
    Search all my Anytype spaces for notes mentioning 'retrieval augmentation'. Return top 10 with snippets.✓ Kopiert
    → Ranked hits across spaces
  2. Synthesize
    Summarize what past me thought about this topic, with links back to the objects.✓ Kopiert
    → Personal knowledge recap with citations

Ergebnis: You stop losing your own thinking.

Kombinationen

Mit anderen MCPs für 10-fache Wirkung

anytype + zotero

Paper PDFs stay in Zotero; reading notes and syntheses live in Anytype

For papers tagged 'to-read' in Zotero, create corresponding Anytype Paper Notes with the abstract as starter content.✓ Kopiert
anytype + firecrawl

Scrape → summarize → save to Anytype

Scrape anthropic.com/news from the last month, summarize each post, and create an Anytype object per post.✓ Kopiert

Werkzeuge

Was dieses MCP bereitstellt

WerkzeugEingabenWann aufrufenKosten
global_search query: str, limit? Cross-space lookup 0
space_search space, query Scoped search 0
create_object space, type, properties Add new note/record 0
update_object object_id, properties Edit existing 0
list_types space? Discover schema 0
list_members space Multi-user spaces 0

Kosten & Limits

Was der Betrieb kostet

API-Kontingent
None — local Anytype
Tokens pro Aufruf
Full-object reads can be large if you have big notes
Kosten in €
Free
Tipp
Prefer list_types/list_properties before creates; avoid schema drift from agent-generated types

Sicherheit

Rechte, Secrets, Reichweite

Credential-Speicherung: Bearer token from Anytype in env var; rotate in App Settings
Datenabfluss: Only to 127.0.0.1:31009 by default; Anytype itself syncs end-to-end encrypted

Fehlerbehebung

Häufige Fehler und Lösungen

Connection refused

Anytype desktop must be running; confirm API is enabled in App Settings and port 31009 isn't blocked

Prüfen: curl http://127.0.0.1:31009/health
401 Unauthorized

Token revoked or wrong; regenerate in App Settings → API Keys

Objects created in the wrong space

Always pass space explicitly; there's no 'default space' safety net

Alternativen

anytype-mcp vs. andere

AlternativeWann stattdessenKompromiss
Notion MCPYou live in Notion; collab-first, cloud-firstNot local-first; cloud-hosted only
Obsidian MCPYou prefer a Markdown vault modelDifferent data model (files, not objects)

Mehr

Ressourcen

📖 Offizielle README auf GitHub lesen

🐙 Offene Issues ansehen

🔍 Alle 400+ MCP-Server und Skills durchsuchen