/ Diretório / Playground / anytype-mcp
● Comunidade anyproto ⚡ Instantâneo

anytype-mcp

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

Por que usar

Principais recursos

Demo ao vivo

Como fica na prática

anytype.replay ▶ pronto
0/0

Instalar

Escolha seu cliente

~/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
    }
  }
}

Abra Claude Desktop → Settings → Developer → Edit Config. Reinicie após salvar.

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

Cursor usa o mesmo esquema mcpServers que o Claude Desktop. Config de projeto vence a global.

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

Clique no ícone MCP Servers na barra lateral do Cline, depois "Edit Configuration".

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

Mesmo formato do Claude Desktop. Reinicie o Windsurf para aplicar.

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

O Continue usa um array de objetos de servidor em vez de um map.

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

Adicione em context_servers. Zed recarrega automaticamente ao salvar.

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

Uma linha só. Verifique com claude mcp list. Remova com claude mcp remove.

Casos de uso

Usos do mundo real: anytype-mcp

Capture agent research into Anytype objects

👤 Researchers, PKM enthusiasts ⏱ ~15 min beginner

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

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

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

Armadilhas
  • Bearer token leaked in logs — Use env var, never inline; regenerate if exposed
Combine com: zotero

Process an Anytype inbox space into typed notes

👤 PKM maintainers ⏱ ~25 min intermediate

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

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

Resultado: A continuously-processed PKM without manual triage.

Ask questions of your own wiki with Anytype MCP

👤 Anyone with years of notes ⏱ ~10 min beginner

Quando usar: You remember writing something relevant but can't find it.

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

Resultado: You stop losing your own thinking.

Combinações

Combine com outros MCPs para 10× de alavancagem

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.✓ Copiado
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.✓ Copiado

Ferramentas

O que este MCP expõe

FerramentaEntradasQuando chamarCusto
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

Custo e limites

O que custa rodar

Cota de API
None — local Anytype
Tokens por chamada
Full-object reads can be large if you have big notes
Monetário
Free
Dica
Prefer list_types/list_properties before creates; avoid schema drift from agent-generated types

Segurança

Permissões, segredos, alcance

Armazenamento de credenciais: Bearer token from Anytype in env var; rotate in App Settings
Saída de dados: Only to 127.0.0.1:31009 by default; Anytype itself syncs end-to-end encrypted

Solução de problemas

Erros comuns e correções

Connection refused

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

Verificar: 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

Alternativas

anytype-mcp vs. outros

AlternativaQuando usarTroca
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)

Mais

Recursos

📖 Leia o README oficial no GitHub

🐙 Ver issues abertas

🔍 Ver todos os 400+ servidores MCP e Skills