/ Annuaire / Playground / anytype-mcp
● Communauté anyproto ⚡ Instantané

anytype-mcp

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

Pourquoi l'utiliser

Fonctionnalités clés

Démo en direct

Aperçu en pratique

anytype.replay ▶ prêt
0/0

Installer

Choisissez votre 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
    }
  }
}

Ouvrez Claude Desktop → Settings → Developer → Edit Config. Redémarrez après avoir enregistré.

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

Cursor utilise le même schéma mcpServers que Claude Desktop. La config projet l'emporte sur la globale.

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

Cliquez sur l'icône MCP Servers dans la barre latérale Cline, puis "Edit Configuration".

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

Même format que Claude Desktop. Redémarrez Windsurf pour appliquer.

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

Continue utilise un tableau d'objets serveur plutôt qu'une map.

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

Ajoutez dans context_servers. Zed recharge à chaud à la sauvegarde.

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

Une seule ligne. Vérifiez avec claude mcp list. Supprimez avec claude mcp remove.

Cas d'usage

Usages concrets : anytype-mcp

Capture agent research into Anytype objects

👤 Researchers, PKM enthusiasts ⏱ ~15 min beginner

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

Prérequis
  • Anytype desktop running — anytype.io
  • API key — Anytype → App Settings → API Keys → New
Déroulement
  1. Define the target type
    In my Anytype space 'Research', ensure a type 'Paper Note' exists with properties [title, summary, source, tags].✓ Copié
    → 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.✓ Copié
    → N objects created

Résultat : Session knowledge persisted where you can find it later.

Pièges
  • Bearer token leaked in logs — Use env var, never inline; regenerate if exposed
Combiner avec : zotero

Process an Anytype inbox space into typed notes

👤 PKM maintainers ⏱ ~25 min intermediate

Quand l'utiliser : Your 'Inbox' space piles up; you want AI to classify and file into proper types.

Déroulement
  1. List inbox items
    Search objects in space 'Inbox' with no type or type='Note'. Return titles + snippet.✓ Copié
    → 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.✓ Copié
    → Inbox drains into structured spaces

Résultat : A continuously-processed PKM without manual triage.

Ask questions of your own wiki with Anytype MCP

👤 Anyone with years of notes ⏱ ~10 min beginner

Quand l'utiliser : You remember writing something relevant but can't find it.

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

Résultat : You stop losing your own thinking.

Combinaisons

Associez-le à d'autres MCPs pour un effet X10

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.✓ Copié
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.✓ Copié

Outils

Ce que ce MCP expose

OutilEntréesQuand appelerCoût
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

Coût et limites

Coût d'exécution

Quota d'API
None — local Anytype
Tokens par appel
Full-object reads can be large if you have big notes
Monétaire
Free
Astuce
Prefer list_types/list_properties before creates; avoid schema drift from agent-generated types

Sécurité

Permissions, secrets, portée

Stockage des identifiants : Bearer token from Anytype in env var; rotate in App Settings
Sortie de données : Only to 127.0.0.1:31009 by default; Anytype itself syncs end-to-end encrypted

Dépannage

Erreurs courantes et correctifs

Connection refused

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

Vérifier : 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

Alternatives

anytype-mcp vs autres

AlternativeQuand l'utiliserCompromis
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)

Plus

Ressources

📖 Lire le README officiel sur GitHub

🐙 Voir les issues ouvertes

🔍 Parcourir les 400+ serveurs MCP et Skills