Labsco
Qwinty logo

Anytype

โ˜… 24

from Qwinty

Interact with your Anytype data through its API, enabling AI assistants to access your information.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedAccount requiredAdvanced setup

OFFICIAL ANYTYPE MCP WAS RELEASED HERE

https://github.com/anyproto/anytype-mcp

Anytype MCP Server

smithery badge

An MCP (Model Context Protocol) server that provides access to the Anytype API, allowing AI assistants and other MCP clients to interact with your Anytype data.

Based on the Anytype API definition v0.46+ (2025-03-17). Ensure your Anytype Desktop version is compatible.

Features

  • Get list of spaces (get_spaces)
  • Search/Get objects within a space (get_objects, search_space) or globally (global_search)
  • Get detailed object content (get_object_content, supports retrieving full text)
  • Create and delete spaces (create_space) and objects (create_object, delete_object)
  • Export objects as markdown (export_object)
  • Manage list views and objects within lists (get_list_views, get_list_view_objects, add_objects_to_list, remove_object_from_list)
  • Get space members (get_space_members)
  • Get types and templates (get_types, get_type_details, get_templates, get_template_details)

Getting an App Key

Before using the MCP server, you need to obtain an app key from the Anytype desktop application:

  1. Make sure Anytype desktop is running

  2. Run the helper script:

    npm run get-key
  3. Follow the instructions to authorize the application

  4. Note the app key for configuration

Token Efficiency and Data Filtering

To optimize for token usage with AI assistants, this MCP server implements response filtering by default for tools that return object data (get_objects, global_search, search_space).

  • Default Behavior: The server returns a simplified version of object data, including essential metadata like ID, name, type, icon, layout, space ID, root ID, snippet (if available), block count, tags, creation/modification dates, and creator info. Full block content and detailed relations are omitted.
  • include_text: true: Several tools (get_objects, get_object_content, global_search, search_space) support an optional include_text parameter. When set to true, the server will extract and include the full, formatted text content from the object's blocks in a full_text field. Use this when you need the complete text, but be aware it significantly increases response size and token count.
  • full_response: true: The get_objects, global_search, and search_space tools also support a full_response parameter. Setting this to true bypasses all filtering and returns the raw, complete JSON response directly from the Anytype API. This provides the most detail but uses the most tokens.

Choose the appropriate parameters based on whether you need just metadata, full text content, or the complete raw API response.