Anytype MCP Server
Interact with the Anytype API using natural language.
Anytype MCP Server
The Anytype MCP Server is a Model Context Protocol (MCP) server implementation, 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
- Open Anytype
- Go to Settings
- Navigate to API Keys
- Create a new API key
You can also get your API key using the command line:
npx -y @anyproto/anytype-mcp get-key
2. Configure Your MCP Client
Add the following configuration to your MCP client settings:
{
"mcpServers": {
"anytype": {
"command": "npx",
"args": ["-y", "@anyproto/anytype-mcp"],
"env": {
"OPENAPI_MCP_HEADERS": "{\"Authorization\":\"Bearer <YOUR_API_KEY>\", \"Anytype-Version\":\"2025-05-20\"}"
}
}
}
}
If you prefer to install the package globally:
- Install the package:
npm install -g @anyproto/anytype-mcp
- 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-05-20\"}"
}
}
}
}
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"
Development
Installation from Source
- Clone the repository:
git clone https://github.com/anyproto/anytype-mcp.git
cd anytype-mcp
- Install dependencies:
npm install -D
- Build the project:
npm run build
- Link the package globally (optional):
npm 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.
Related Servers
ClickUp
Interact with the ClickUp API to manage tasks, lists, and spaces, automating project planning and workflows.
What Time Is It Now
Provides the current time in Japan Standard Time (JST).
Planfix
An MCP server for integrating with the Planfix project management and CRM platform.
Microsoft Planner by CData
A read-only MCP server enabling LLMs to query live Microsoft Planner data using the CData JDBC Driver.
Ramp
Interact with Ramp's Developer API to run analysis on your spend and gain insights leveraging LLMs
MCP Character Counter
Analyzes text to provide detailed character counts, including letters, numbers, and symbols.
Mautic
Integrates with the Mautic marketing automation platform.
delinea-mcp
Official Delinea MCP server for the Delinea Secret Server and Platform APIs
Trello
Integrates with Trello to manage projects, boards, and cards, using Nango for authentication.
Obsidian
Interact with your Obsidian vault using natural language.