/ Каталог / Песочница / anytype-mcp
● Сообщество anyproto ⚡ Сразу

anytype-mcp

автор 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.

Зачем использовать

Ключевые функции

Живое демо

Как выглядит на практике

anytype.replay ▶ готово
0/0

Установка

Выберите клиент

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

Откройте Claude Desktop → Settings → Developer → Edit Config. Перезапустите после сохранения.

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

Cursor использует ту же схему mcpServers, что и Claude Desktop. Конфиг проекта приоритетнее глобального.

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

Щёлкните значок MCP Servers на боковой панели Cline, затем "Edit Configuration".

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

Тот же формат, что и Claude Desktop. Перезапустите Windsurf для применения.

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

Continue использует массив объектов серверов, а не map.

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

Добавьте в context_servers. Zed перезагружается автоматически.

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

Однострочная команда. Проверить: claude mcp list. Удалить: claude mcp remove.

Сценарии использования

Реальные сценарии: anytype-mcp

Capture agent research into Anytype objects

👤 Researchers, PKM enthusiasts ⏱ ~15 min beginner

Когда использовать: You want takeaways from a Claude session to land directly in your wiki, not in another chat log you'll lose.

Предварительные требования
  • Anytype desktop running — anytype.io
  • API key — Anytype → App Settings → API Keys → New
Поток
  1. Define the target type
    In my Anytype space 'Research', ensure a type 'Paper Note' exists with properties [title, summary, source, tags].✓ Скопировано
    → 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.✓ Скопировано
    → N objects created

Итог: Session knowledge persisted where you can find it later.

Подводные камни
  • Bearer token leaked in logs — Use env var, never inline; regenerate if exposed
Сочетать с: zotero

Process an Anytype inbox space into typed notes

👤 PKM maintainers ⏱ ~25 min intermediate

Когда использовать: Your 'Inbox' space piles up; you want AI to classify and file into proper types.

Поток
  1. List inbox items
    Search objects in space 'Inbox' with no type or type='Note'. Return titles + snippet.✓ Скопировано
    → 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.✓ Скопировано
    → Inbox drains into structured spaces

Итог: A continuously-processed PKM without manual triage.

Ask questions of your own wiki with Anytype MCP

👤 Anyone with years of notes ⏱ ~10 min beginner

Когда использовать: You remember writing something relevant but can't find it.

Поток
  1. Global search
    Search all my Anytype spaces for notes mentioning 'retrieval augmentation'. Return top 10 with snippets.✓ Скопировано
    → Ranked hits across spaces
  2. Synthesize
    Summarize what past me thought about this topic, with links back to the objects.✓ Скопировано
    → Personal knowledge recap with citations

Итог: You stop losing your own thinking.

Комбинации

Сочетайте с другими MCP — эффект 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.✓ Скопировано
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.✓ Скопировано

Инструменты

Что предоставляет этот MCP

ИнструментВходные данныеКогда вызыватьСтоимость
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

Стоимость и лимиты

Во что обходится

Квота API
None — local Anytype
Токенов на вызов
Full-object reads can be large if you have big notes
Деньги
Free
Совет
Prefer list_types/list_properties before creates; avoid schema drift from agent-generated types

Безопасность

Права, секреты, радиус поражения

Хранение учётных данных: Bearer token from Anytype in env var; rotate in App Settings
Исходящий трафик: Only to 127.0.0.1:31009 by default; Anytype itself syncs end-to-end encrypted

Устранение неполадок

Частые ошибки и исправления

Connection refused

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

Проверить: 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

Альтернативы

anytype-mcp в сравнении

АльтернативаКогда использоватьКомпромисс
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)

Ещё

Ресурсы

📖 Читать официальный README на GitHub

🐙 Открытые задачи

🔍 Все 400+ MCP-серверов и Skills