Skip to content
MCP server
Registry

anytype-mcp MCP Server

Official MCP server for Anytype API - your encrypted, local and collaborative wiki.

anytype-mcp scores 79 (Good), licensed MIT and written in TypeScript. It installs as a local process. It does not declare tools yet. Filed under Knowledge. GitHub shows 555 stars. Package registries report about 1,597 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by anyprotoMITTypeScript555 stars
Trust score
79Good
Trust score 79 of 100, Good

Good trust

79 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 79 comes from

22 + 20 + 16 + 10 + 4 + 7 = 79. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity16 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 16 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "anyproto-anytype-mcp": {      "command": "npx",      "args": [        "-y",        "@anyproto/anytype-mcp@1.0.7"      ],      "env": {        "OPENAPI_MCP_HEADERS": "YOUR_OPENAPI_MCP_HEADERS"      }    }  }}

Environment variables

NameRequiredNotes
OPENAPI_MCP_HEADERSSecretRequiredJSON string of headers for Anytype API. Example: {"Authorization":"Bearer <YOUR_API_KEY>", "Anytype-Version":"2025-05-20"}

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

Anytype MCP Server

The Anytype MCP Server is a Model Context Protocol (MCP) server enabling AI assistants to seamlessly interact with Anytype's API through natural language.

It bridges the gap between AI and Anytype's powerful features by converting Anytype's OpenAPI specification into MCP tools, allowing you to manage your knowledge base through conversation.

Features

  • Global & Space Search
  • Spaces & Members
  • Objects & Lists
  • Properties & Tags
  • Types & Templates

Quick Start

1. Get Your API Key

  1. Open Anytype
  2. Go to App Settings
  3. Navigate to API Keys section
  4. Click on Create new button

You can also get your API key using the command line:

npx -y @anyproto/anytype-mcp get-key

2. Configure Your MCP Client

Claude Desktop, Cursor, Windsurf, Raycast, etc.

Add the following configuration to your MCP client settings after replacing <YOUR_API_KEY> with your actual API key:

{
  "mcpServers": {
    "anytype": {
      "command": "npx",
      "args": ["-y", "@anyproto/anytype-mcp"],
      "env": {
        "OPENAPI_MCP_HEADERS": "{\"Authorization\":\"Bearer <YOUR_API_KEY>\", \"Anytype-Version\":\"2025-11-08\"}"
      }
    }
  }
}

Tip: After creating an API key in Anytype, you can copy that ready-to-use configuration snippet with your API key already filled in from the API Keys section.

Claude Code (CLI)

Run this command to add the Anytype MCP server after replacing <YOUR_API_KEY> with your actual API key:

claude mcp add anytype -e OPENAPI_MCP_HEADERS='{"Authorization":"Bearer <YOUR_API_KEY>", "Anytype-Version":"2025-11-08"}' -s user -- npx -y @anyproto/anytype-mcp

If you prefer to install the package globally:

  1. Install the package:
npm install -g @anyproto/anytype-mcp
  1. Update your MCP client configuration to use the global installation:
{
  "mcpServers": {
    "anytype": {
      "command": "anytype-mcp",
      "env": {
        "OPENAPI_MCP_HEADERS": "{\"Authorization\":\"Bearer <YOUR_API_KEY>\", \"Anytype-Version\":\"2025-11-08\"}"
      }
    }
  }
}

Custom API Base URL

By default, the server connects to http://127.0.0.1:31009. For anytype-cli (port 31012) or other custom base URLs, set ANYTYPE_API_BASE_URL:

MCP Client (Claude Desktop, Cursor, etc.):

{
  "mcpServers": {
    "anytype": {
      "command": "npx",
      "args": ["-y", "@anyproto/anytype-mcp"],
      "env": {
        "ANYTYPE_API_BASE_URL": "http://localhost:31012",
        "OPENAPI_MCP_HEADERS": "{\"Authorization\":\"Bearer <YOUR_API_KEY>\", \"Anytype-Version\":\"2025-11-08\"}"
      }
    }
  }
}

Claude Code (CLI):

claude mcp add anytype \
  -e ANYTYPE_API_BASE_URL='http://localhost:31012' \
  -e OPENAPI_MCP_HEADERS='{"Authorization":"Bearer <YOUR_API_KEY>", "Anytype-Version":"2025-11-08"}' \
  -s user -- npx -y @anyproto/anytype-mcp

Example Interactions

Here are some examples of how you can interact with your Anytype:

  • "Create a new space called 'Project Ideas' with description 'A space for storing project ideas'"
  • "Add a new object of type 'Task' with title 'Research AI trends' to the 'Project Ideas' space"
  • "Create a second one with title 'Dive deep into LLMs' with due date in 3 days and assign it to me"
  • "Now create a collection with the title "Tasks for this week" and add the two tasks to that list. Set due date of the first one to 10 days from now"

Tool behavior and API versions

MCP uses API v2 by default. If the v2 spec returns 404 or 410, it falls back to v1 on the same server. Restart the MCP server after upgrading Anytype so it can discover the new API version.

API-download-file saves files on the machine or container running MCP and returns the local path.

See Tool behavior for selecting a spec explicitly, retrying writes, and troubleshooting.

Development

Installation from Source

  1. Clone the repository:
git clone https://github.com/anyproto/anytype-mcp.git
cd anytype-mcp
  1. Install dependencies (requires Bun):
bun install
  1. Build the project:
bun run build
  1. Link the package globally (optional):
bun link

Contribution

Thank you for your desire to develop Anytype together!

โค๏ธ This project and everyone involved in it is governed by the Code of Conduct.

๐Ÿง‘โ€๐Ÿ’ป Check out our contributing guide to learn about asking questions, creating issues, or submitting pull requests.

๐Ÿซข For security findings, please email security@anytype.io and refer to our security guide for more information.

๐Ÿค Follow us on Github and join the Contributors Community.


Made by Any โ€” a Swiss association ๐Ÿ‡จ๐Ÿ‡ญ

Licensed under MIT.

Frequently asked questions

What is anytype-mcp MCP Server?

Official MCP server for Anytype API - your encrypted, local and collaborative wiki.

How do I install anytype-mcp MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. anytype-mcp MCP Server runs locally from the npm package @anyproto/anytype-mcp with the command npx -y @anyproto/anytype-mcp@1.0.7.

Is anytype-mcp MCP Server free and open source?

Yes. anytype-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does anytype-mcp MCP Server support remote (HTTP) connections?

No remote endpoint is listed for anytype-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is anytype-mcp MCP Server's trust score calculated?

anytype-mcp MCP Server scores 79 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

โ€”Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server