Anytype MCP Server

Access and manage your Anytype knowledge base through natural language with AI models.

Data last scanned today · Reviewed today

48487TypeScriptMIT

Overview

This server bridges AI assistants with the Anytype API, translating the platform's OpenAPI specification into actionable MCP tools. Users can perform global and space-wide searches, manage objects, lists, and properties, or interact with templates and tags directly through their AI interface. Setup requires an API key generated from the Anytype application settings or via the included CLI command. Once configured with your credentials, the server integrates with various MCP-compatible environments like Cursor, Claude Desktop, and Windsurf to provide contextual knowledge management.

Our verdict

With a security score of 48/100, this tool is categorized as high risk. Because it is community-maintained rather than developed by the official vendor and has not yet undergone editorial review, users should exercise caution. Its authentication methods, read-only mode, and API usage have not been verified, making it best suited for testing environments rather than production workflows handling sensitive data.

  • Supports global and space-wide search queries
  • Provides management tools for objects, templates, and tags
  • Includes a CLI utility to simplify API key generation
  • Maintains a small footprint with only nine direct dependencies
  • Lacks official vendor maintenance and support
  • Authentication and read-only modes remain unreviewed
  • Has not undergone security or editorial verification

Setup

Claude Desktop
{
  "mcpServers": {
    "anytype-mcp": {
      "args": [
        "-y",
        "@anyproto/anytype-mcp"
      ],
      "command": "npx"
    }
  }
}

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows), then restart Claude Desktop. Some servers require API keys or tokens as environment variables — check the project's README and add an "env" object if needed.

  • No read-only mode — running this grants full read/write access.
  • No built-in authentication — anyone with access to this config can invoke every tool it exposes.

Compatibility

ClientLocalDockerRemoteRead-only
ChatGPT
Claude Desktop
Cursor
VS Code
Windsurf

Frequently asked questions

What is required to authenticate the Anytype MCP server?

You must provide an API key generated from the App Settings section within Anytype and include it in the OPENAPI_MCP_HEADERS environment variable.

Can I obtain an API key without opening the Anytype application GUI?

Yes, you can generate an API key using the command line by running 'npx -y @anyproto/anytype-mcp get-key'.

How do I connect the MCP server to a different base URL?

You can change the default base URL by setting the ANYTYPE_API_BASE_URL environment variable in your MCP client configuration, such as changing it to use port 31012 for the anytype-cli.

Is it possible to install the Anytype MCP server globally?

Yes, you can install it using 'npm install -g @anyproto/anytype-mcp' and then update your MCP client configuration to point directly to the 'anytype-mcp' command.

Alternatives

Changelog

Badge

Anytype MCP Server security score, rated on RepoAI

Maintain this server? Add the live badge to your README.