Anytype MCP Server
Official Anytype MCP server: an agent searches, creates and edits objects, lists and types in your knowledge base
- 543 ★ on the repository
- Last commit
- MIT
Extended access
Why this level
- Creates, changes and deletes objects in your Anytype knowledge base
- Handles an API key passed in the Authorization header
Install
- Works in
In your terminal, with SkillFoxx CLI
npx skillfoxx add mcp/anytype-mcp-serverDetects the agents on your machine, shows the access level and pins the version.
Other ways to install
Access and checks
How we reviewExtended accessThe tool runs code or makes network calls and only reads external data.
- Creates, changes and deletes objects in your Anytype knowledge base
- Handles an API key passed in the Authorization header
This is third-party code. Review the repository files before installing.
What it does
The server connects an agent to the Anytype app's API and turns its OpenAPI spec into a set of MCP tools. Through chat the agent searches across all spaces or within one, works with spaces and members, objects and lists, properties, tags, types and templates. Successful create, edit and delete return a compact receipt with the object id, and to guard against overwrites it supports an etag precondition and an idempotency key. The server picks the API version at startup: it tries v2 first and falls back to v1 when v2 is absent.
Who it is for. For people who keep a knowledge base or personal wiki in Anytype and want to manage it through an agent.
Good fit when
- You want to search and gather objects in an Anytype knowledge base
- You want to create tasks, notes and lists in natural language
- You want to update object properties, tags and types
Not a fit when
- The Anytype app with its API enabled is not installed
- You cannot trust the client to change and delete objects in the base
Example request
Create a task to study AI trends due in three days and add it to the weekly tasks listMCP
- Transport
- stdio
- Authentication
- API key
Environment variables
OPENAPI_MCP_HEADERSrequired, secret- JSON with the Authorization header, a Bearer API key and the Anytype version
ANYTYPE_API_BASE_URL- API base URL for anytype-cli or a custom port
Limitations
You need the installed Anytype app and an API key created in the app settings. The key is passed via the OPENAPI_MCP_HEADERS variable in the Authorization header together with the API version. By default the server talks to the app's local address; for anytype-cli or another address set ANYTYPE_API_BASE_URL. API key and pairing management and streaming tools are excluded from the set. The npx launch requires Node.js.
How to disable. Remove the anytype block from your MCP client config and restart it, and optionally revoke the API key in the Anytype app settings.
FAQ
Where do I get an API key?
In the Anytype app under the API Keys settings via the create new key button. There is also a command-line option to fetch a key.
How is the API version chosen?
At startup the server tries the v2 spec first and falls back to v1 when it is absent. You can pin a specific version with an explicit spec URL.
Discussion
No questions or reviews yet.
Related
MCP serversA Notion MCP server: the agent searches, reads, queries and updates workspace pages and databases
The official Kibela MCP server searches, reads and edits notes, folders and comments of your wiki straight from an assistant chat
Official local MCP server for the Notion API: search, read and edit pages as Markdown, and work with databases
Notion MCP (awkoy)
Notion MCP Server (awkoy)
Notion MCP on a token: an agent searches pages, runs databases, edits blocks and comments through three tools and 47 operations, with no manual sign-in
AFFiNE MCP Server: AFFiNE notes and databases for agents
AFFiNE MCP Server
An MCP server for AFFiNE: the agent searches, creates and edits documents, databases and comments in cloud or self-hosted AFFiNE
The MCP endpoint of a Salt workspace on your server: an agent creates pages, databases and comments with a person rights.
Comparison with similar tools
Cards that share the main search query, and how they differ.
| Tool | Official | Authentication | Repository stars | Main difference |
|---|---|---|---|---|
| Anytype MCP Server (this card) | yes | API key | 543 | |
| kubectl-mcp-server | no | not required | 972 | reads cluster state and diagnoses pod failures |
| Unreal Engine MCP Server | no | not required | 1,032 | Unreal Engine assets, actors and blueprints |
| Android MCP | no | not required | 924 | controls an Android device through ADB |
README in short
The README covers getting an API key in the Anytype app and configuring Claude Desktop, Cursor, Windsurf and Claude Code via npx with the OPENAPI_MCP_HEADERS variable. Capabilities span cross-space search, objects and lists, properties and tags, types and templates. It details tool behavior: choosing API version v2 or v1, compact write receipts, the etag precondition and idempotency key, and the exclusion of key management and streaming tools. It also shows setting a custom API base URL and building from source with Bun. The project is developed by Any, MIT licensed.