The Anytype MCP Server converts Anytype's OpenAPI specification into MCP tools, enabling AI assistants to interact with Anytype's knowledge management platform through natural language commands. It provides capabilities for searching spaces and objects, managing members, creating and organizing objects and lists, and handling properties, tags, types, and templates within Anytype workspaces. The server solves the problem of programmatic access to Anytype's features by allowing users to manage their knowledge base through conversational AI interfaces like Claude, Cursor, and other MCP-compatible clients.
Public tool metadata for what this MCP can expose to an agent.
get_spacesRetrieves all available Anytype spaces for the current user. This tool returns a list of spaces with their IDs, names, and other metadata. Use this tool to get an overview of all spaces or to find a specific space ID for use with other tools. No parameters are required.Retrieves all available Anytype spaces for the current user. This tool returns a list of spaces with their IDs, names, and other metadata. Use this tool to get an overview of all spaces or to find a specific space ID for use with other tools. No parameters are required.
No parameter schema in public metadata yet.
get_objectsSearches for and retrieves objects within a specified Anytype space. This tool allows you to list all objects or filter them using a search query. Results are paginated for better performance with large spaces. Use this tool to discover objects within a space, find specific ob...5 paramsSearches for and retrieves objects within a specified Anytype space. This tool allows you to list all objects or filter them using a search query. Results are paginated for better performance with large spaces. Use this tool to discover objects within a space, find specific ob...
limitnumberoffsetnumberspace_idstringinclude_textbooleanfull_responsebooleanget_object_contentRetrieves detailed content and metadata for a specific object in an Anytype space. This tool provides comprehensive information about an object including its properties, relations, and content. Use this tool when you need to examine a specific object's details after discoverin...3 paramsRetrieves detailed content and metadata for a specific object in an Anytype space. This tool provides comprehensive information about an object including its properties, relations, and content. Use this tool when you need to examine a specific object's details after discoverin...
space_idstringobject_idstringinclude_textbooleancreate_spaceCreates a new Anytype space with the specified name. This tool allows you to set up a fresh workspace for organizing objects and collaborating with others. Use this tool when you need to establish a new organizational container for your Anytype content.1 paramsCreates a new Anytype space with the specified name. This tool allows you to set up a fresh workspace for organizing objects and collaborating with others. Use this tool when you need to establish a new organizational container for your Anytype content.
namestringcreate_objectCreates a new object within a specified Anytype space. This tool allows you to add various types of content (pages, notes, tasks, etc.) to your spaces. You can specify the object's name, type, description, icon, and content. Optionally, you can use a template to create pre-str...8 paramsCreates a new object within a specified Anytype space. This tool allows you to add various types of content (pages, notes, tasks, etc.) to your spaces. You can specify the object's name, type, description, icon, and content. Optionally, you can use a template to create pre-str...
bodystringiconobjectnamestringsourcestringspace_idstringtype_keystringdescriptionstringtemplate_idstringdelete_objectPermanently removes an object from a specified Anytype space. This tool deletes the object and all its content. Use this tool with caution as deleted objects cannot be recovered. Always verify the object ID before deletion to avoid removing important content.2 paramsPermanently removes an object from a specified Anytype space. This tool deletes the object and all its content. Use this tool with caution as deleted objects cannot be recovered. Always verify the object ID before deletion to avoid removing important content.
space_idstringobject_idstringexport_objectExports an Anytype object in Markdown format. This tool allows you to extract content from Anytype for use in other applications or for backup purposes. Markdown format is human-readable and suitable for documentation. Use this tool when you need to share Anytype content with...3 paramsExports an Anytype object in Markdown format. This tool allows you to extract content from Anytype for use in other applications or for backup purposes. Markdown format is human-readable and suitable for documentation. Use this tool when you need to share Anytype content with...
formatstringspace_idstringobject_idstringget_space_membersRetrieves a list of all members who have access to a specified Anytype space. This tool provides information about each member including their ID, name, and access level. Results are paginated for spaces with many members. Use this tool when you need to understand who has acce...3 paramsRetrieves a list of all members who have access to a specified Anytype space. This tool provides information about each member including their ID, name, and access level. Results are paginated for spaces with many members. Use this tool when you need to understand who has acce...
limitnumberoffsetnumberspace_idstringget_typesRetrieves all object types available in a specified Anytype space. This tool provides information about the different types of objects that can be created in the space, including their IDs, names, and metadata. Results are paginated for spaces with many types. Use this tool wh...3 paramsRetrieves all object types available in a specified Anytype space. This tool provides information about the different types of objects that can be created in the space, including their IDs, names, and metadata. Results are paginated for spaces with many types. Use this tool wh...
limitnumberoffsetnumberspace_idstringget_type_detailsRetrieves detailed information about a specific object type in an Anytype space. This tool provides comprehensive details about the type's structure, including its relations, views, and configuration options. Use this tool when you need to understand the structure of a particu...2 paramsRetrieves detailed information about a specific object type in an Anytype space. This tool provides comprehensive details about the type's structure, including its relations, views, and configuration options. Use this tool when you need to understand the structure of a particu...
type_idstringspace_idstringget_templatesRetrieves all available templates for a specific object type in an Anytype space. Templates provide pre-configured structures and content for creating new objects. This tool returns a list of templates with their IDs, names, and metadata. Results are paginated for types with m...4 paramsRetrieves all available templates for a specific object type in an Anytype space. Templates provide pre-configured structures and content for creating new objects. This tool returns a list of templates with their IDs, names, and metadata. Results are paginated for types with m...
limitnumberoffsetnumbertype_idstringspace_idstringget_template_detailsRetrieves detailed information about a specific template in an Anytype space. This tool provides comprehensive details about the template's structure, content, and configuration. Use this tool when you need to examine a template's properties before using it to create new objec...3 paramsRetrieves detailed information about a specific template in an Anytype space. This tool provides comprehensive details about the template's structure, content, and configuration. Use this tool when you need to examine a template's properties before using it to create new objec...
type_idstringspace_idstringtemplate_idstringget_list_viewsRetrieves views configured for a specific list in a space. Views define how objects in the list are filtered and sorted.4 paramsRetrieves views configured for a specific list in a space. Views define how objects in the list are filtered and sorted.
limitnumberoffsetnumberlist_idstringspace_idstringget_list_view_objectsRetrieves objects from a specific list view with applied filters and sorting.5 paramsRetrieves objects from a specific list view with applied filters and sorting.
limitnumberoffsetnumberlist_idstringview_idstringspace_idstringadd_objects_to_listAdds one or more objects to a specific list in a space.3 paramsAdds one or more objects to a specific list in a space.
list_idstringspace_idstringobject_idsarrayremove_object_from_listRemoves an object from a specific list in a space.3 paramsRemoves an object from a specific list in a space.
list_idstringspace_idstringobject_idstringglobal_searchExecutes a search across all spaces the user has access to, with options for filtering by type and sorting.7 paramsExecutes a search across all spaces the user has access to, with options for filtering by type and sorting.
limitnumberquerystringtypesarrayoffsetnumberinclude_textbooleansort_propertystringcreated_date · last_modified_date · last_opened_date · namedefault: last_modified_datesort_directionstringasc · descdefault: descsearch_spaceExecutes a search within a specific space, with options for filtering by type and sorting.9 paramsExecutes a search within a specific space, with options for filtering by type and sorting.
limitnumberquerystringtypesarrayoffsetnumberspace_idstringinclude_textbooleanfull_responsebooleansort_propertystringcreated_date · last_modified_date · last_opened_date · namedefault: last_modified_datesort_directionstringasc · descdefault: descThe 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.
Create new buttonYou can also get your API key using the command line:
npx -y @anyproto/anytype-mcp get-key
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.
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:
npm install -g @anyproto/anytype-mcp
{
"mcpServers": {
"anytype": {
"command": "anytype-mcp",
"env": {
"OPENAPI_MCP_HEADERS": "{\"Authorization\":\"Bearer <YOUR_API_KEY>\", \"Anytype-Version\":\"2025-11-08\"}"
}
}
}
}
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
Here are some examples of how you can interact with your Anytype:
git clone https://github.com/anyproto/anytype-mcp.git
cd anytype-mcp
npm install -D
npm run build
npm link
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.
OPENAPI_MCP_HEADERS*secretJSON string of headers for Anytype API. Example: {"Authorization":"Bearer <YOUR_API_KEY>", "Anytype-Version":"2025-05-20"}
csoai-org/pdf-document-mcp
xt765/mcp-document-converter
io.github.xjtlumedia/markdown-formatter
io.github.ai-aviate/better-notion
suekou/mcp-notion-server
meterlong/mcp-doc