Anytype

Design and media

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

Your AI app calls the Anytype MCP server, which does the design and media work and sends the result back to the chat.

About Anytype

Anytype is a community MCP server from anyproto, filed in our directory under design and media. Official MCP server for Anytype API - your encrypted, local and collaborative wiki.

Anytype runs on your own machine: your AI app starts it with the command npx -y @anyproto/anytype-mcp@1.0.7 and talks to it over standard input and output. It needs OPENAPI_MCP_HEADERS set before Anytype starts.

Anytype is listed in the official MCP registry as io.github.anyproto/anytype-mcp, version 1.0.7.

At a glance

Publisher
anyproto (community)
Runs
Locally on your machine
Install from
Node.js package on npm: @anyproto/anytype-mcp
Written in
TypeScript
License
MIT
GitHub stars
555
Official MCP registry
io.github.anyproto/anytype-mcp

How to set up Anytype

  1. Install Node.js on the machine that runs your AI app, because Anytype starts with npx and downloads its package on first run.
  2. Create OPENAPI_MCP_HEADERS for Anytype in the connected service's own settings, scoped to the smallest permissions the job needs.
  3. Add Anytype to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Anytype tools to confirm the connection.
  5. Run one read-only task with Anytype first, and keep your app asking before each tool call until the results look right.

Anytype compared with similar servers

  • Three-Live 3D, CAD & Spatial XR Compiler by google has fewer GitHub stars than Anytype (545 against 555); Three-Live 3D, CAD & Spatial XR Compiler is official while Anytype is a community server, and both run locally.
  • agentring by mutonby has more GitHub stars than Anytype (564 against 555); both are community servers, and agentring runs as a remote server and Anytype runs on your own machine.
  • Kicad (lamaalrajih) by lamaalrajih has fewer GitHub stars than Anytype (540 against 555); both are community servers, and both run locally.

Before you connect Anytype

  • Give Anytype its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Anytype tool call until you trust what it does with them.
  • Treat text that Anytype fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Anytype on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Anytype

How marketing and sales teams put Anytype to work, by company size. Pick the size closest to yours and start Anytype on one use case.

Small business

  • A small business can use Anytype to resize and adapt one design for every channel instead of hiring for each version.
  • Owners can ask Anytype to pull brand assets and make quick ad and social variations that still look on brand.
  • Anytype runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Creative teams can connect Anytype so agents produce variants for testing while designers keep control of the master files.
  • Marketing teams can use Anytype to hand off designs to web and ads with specs attached, cutting review rounds.
  • Start Anytype on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can use Anytype with brand rules and approved assets only, so generated work stays inside the brand system.
  • Large creative ops teams can use Anytype to localize and version assets for many markets with review built in.
  • Anytype is a community server, so have security review the code and pin a version before Anytype touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Anytype README

From anyproto/anytype-mcp on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

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
Alternative: Get API key via CLI

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
Alternative: Global Installation

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:

Example Configuration

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.

Questions about Anytype

What is the Anytype MCP server?

Official MCP server for Anytype API - your encrypted, local and collaborative wiki. Anytype is maintained by anyproto on GitHub at anyproto/anytype-mcp, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Anytype MCP server?

Add Anytype to your AI app's MCP config with the command npx -y @anyproto/anytype-mcp@1.0.7. In Claude Code, run claude mcp add --transport stdio anytype -- npx -y @anyproto/anytype-mcp@1.0.7. To run Anytype this way you need Node.js installed.

Does Anytype need an API key?

Yes. Anytype expects OPENAPI_MCP_HEADERS to be set. Create the key for Anytype in the connected service's own settings, give it the smallest permissions the job needs, and keep it out of shared config files.

Is Anytype an official MCP server?

No. Anytype is a community server maintained by anyproto. Community servers can be excellent; read the code and the open issues before you give Anytype access to company data.

What license is Anytype under?

Anytype is released under the MIT license, according to its GitHub repository. The license covers the code of Anytype; the service it connects to has its own terms.