anytype-mcp
MCP server by anyproto Community
Connects AI assistants to Anytype through its API, so they can search, create and manage spaces, objects and lists. Built for Anytype users who want to manage their knowledge base through conversation.
Install anytype-mcp
Built from the published package, never by AI.
claude mcp add anytype-mcp -e OPENAPI_MCP_HEADERS=YOUR_OPENAPI_MCP_HEADERS -- npx -y @anyproto/anytype-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"anytype-mcp": {
"env": {
"OPENAPI_MCP_HEADERS": "YOUR_OPENAPI_MCP_HEADERS"
},
"args": [
"-y",
"@anyproto/anytype-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"anytype-mcp": {
"env": {
"OPENAPI_MCP_HEADERS": "YOUR_OPENAPI_MCP_HEADERS"
},
"args": [
"-y",
"@anyproto/anytype-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"anytype-mcp": {
"env": {
"OPENAPI_MCP_HEADERS": "YOUR_OPENAPI_MCP_HEADERS"
},
"args": [
"-y",
"@anyproto/anytype-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add anytype-mcp --env OPENAPI_MCP_HEADERS=YOUR_OPENAPI_MCP_HEADERS -- npx -y @anyproto/anytype-mcp{
"mcpServers": {
"anytype-mcp": {
"env": {
"OPENAPI_MCP_HEADERS": "YOUR_OPENAPI_MCP_HEADERS"
},
"args": [
"-y",
"@anyproto/anytype-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add anytype-mcp npx -y @anyproto/anytype-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the anytype-mcp block.
About
The Anytype MCP Server is a Model Context Protocol server that lets AI assistants work with Anytype through its API. It converts Anytype's OpenAPI specification into MCP tools, so users can manage their knowledge base through conversation. The source lists tool areas for global and space search, spaces and members, objects and lists, properties and tags, and types and templates.
It is set up by adding a configuration to an MCP client such as Claude Desktop, Cursor, Windsurf, Raycast, or Claude Code, using an API key created in Anytype's App Settings. The server uses API v2 by default and falls back to v1 if the v2 spec returns 404 or 410. It is aimed at Anytype users who want AI assistants to create spaces, tasks and collections for them. The project is published by Any, a Swiss association, under the MIT license.
Written from the project's README and checked against it.
Tools it gives your assistant
Global & Space SearchSearches across Anytype globally or within a single space.Spaces & MembersCreates and manages spaces and their members.Objects & ListsCreates and updates objects and lists, such as tasks and collections.Properties & TagsWorks with object properties and tags.Types & TemplatesWorks with object types and templates.API-download-fileSaves a file to the machine or container running MCP and returns the local path.
What you need
- An Anytype app with an API key from App Settings
- npx or npm to run the @anyproto/anytype-mcp package
- Bun, only if building from source
| Setting | Needed | What it is |
|---|---|---|
OPENAPI_Environment variable, secret | Required | JSON string of headers for Anytype API. Example: {"Authorization":"Bearer <YOUR_API_KEY>", "Anytype-Version":"2025-05-20"} |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Create a new space called 'Project Ideas' in Anytype
- Add a task titled 'Research AI trends' to my Project Ideas space
- Make a collection called 'Tasks for this week' and add my two tasks
Good to know
- Uses API v2 by default and falls back to v1 on 404 or 410.
- Restart the MCP server after upgrading Anytype so it can find the new API version.
- API-download-file saves files locally, on the machine or container running MCP.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to anytype-mcp
All alternatives →Connects a Zotero research library to AI assistants such as Claude and ChatGPT through the Model Context Protocol. It lets the assistant search, read, annotate and add papers, in local mode or through the web API. Built for researchers who want their references available in chat.
AgentDB is a vector memory database for AI agents. It stores embeddings, indexes and learning state in one file and exposes 41 MCP tools to clients such as Claude Code, Cursor and Cline.
Genkitx MCP is listed as a Genkit plugin for Model Context Protocol interoperability. The source is the main Genkit framework README and does not describe this plugin, so its features cannot be confirmed.
QMD is an on-device search engine for markdown notes, meeting transcripts and documentation. It combines BM25 keyword search, vector search and LLM reranking, and exposes an MCP server for AI assistants.
RuVector is a Rust native vector database that gives AI agents persistent memory and local semantic retrieval. Its npm package includes an MCP server for MCP compatible clients, and it suits developers building agent memory in Node.js, Python, or Rust.
Gives AI coding agents persistent memory, so each new session starts where the last one left off. Works with Claude Code, Codex, Cursor, OpenCode and 11 more agents.
Compare with Zotero MCP, Agentdb or Genkitx MCP
anytype-mcp: common questions
Where do I get the Anytype API key?
Open Anytype, go to App Settings, open the API Keys section and click Create new. The source also shows a CLI command, npx -y @anyproto/anytype-mcp get-key.
What address does the server connect to?
By default it connects to http://127.0.0.1:31009. For anytype-cli or other setups, the ANYTYPE_API_BASE_URL variable can be set to another base URL.
Who publishes the Anytype MCP Server?
The project is published by Any, a Swiss association, and is licensed under MIT. Security issues should be emailed to security@anytype.io.
How do I install anytype-mcp?
In Claude Code run claude mcp add anytype-mcp -e OPENAPI_MCP_HEADERS=YOUR_OPENAPI_MCP_HEADERS -- npx -y @anyproto/anytype-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is anytype-mcp the official server?
anytype-mcp is a community project by anyproto, not verified by a company domain.
Is anytype-mcp free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is anytype-mcp safe to use?
It scores 85 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to anytype-mcp?
Similar MCP servers: Zotero MCP, Agentdb, Genkitx MCP, Qmd.
Does anytype-mcp work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
