get_spacesLABSCO SUMMARY
Three response sizes, chosen per call.
The filtering is the part worth knowing about: by default you get id, name, type, tags and a snippet, and you opt into the full text or the raw API payload only when you need them. That is the difference between searching a large vault and blowing a context window on it. Note that an official Anytype MCP server now exists from anyproto, which the README links at the very top.
What it is
A server over the local Anytype API. It talks to the desktop application on your own machine, and its default responses are trimmed to metadata so a search does not drag every block of every object into the conversation.
What you get
- get_spaces lists your spaces and create_space adds one
- get_objects, search_space and global_search find objects inside one space or across all of them
- get_object_content returns an object's content, and export_object writes it out as markdown
- create_object and delete_object cover the write side
- get_list_views, get_list_view_objects, add_objects_to_list and remove_object_from_list manage lists and their membership
- get_types, get_type_details, get_templates and get_template_details expose the type system behind the objects
- get_space_members returns who is in a space
- Object-returning tools default to metadata only; include_text adds the object's full formatted text, and full_response returns the raw Anytype API payload
Requirements
Node.js 18 or higher, an Anytype account, and the Anytype desktop application running locally — the server connects to http://localhost:31009/v1. Build from a checkout with npm run build, then get an app key by running npm run get-key and authorising the request in the desktop app; the key goes in ANYTYPE_APP_KEY. Built against the Anytype API v0.46 and later.
Setup effort
Build from source — git clone https://github.com/Qwinty/anytype-mcp.git
USE CASES
Finding something across every space
One global search instead of opening each space in turn.
Reading a note into the conversation
Fetch the object's content, or ask for the full formatted text when the snippet is not enough.
Capturing something into the vault
Create the object, then place it in the list where it belongs.
Getting a note out of Anytype
Export as markdown rather than copying blocks by hand.
Working out how a space is structured
Types and templates explain why objects look the way they do.
18 tools
Listed in project docs. Your client may show a different list.
get_objectsget_object_contentcreate_spacecreate_objectdelete_objectexport_objectget_space_membersget_typesget_type_detailsget_templatesget_template_detailsget_list_viewsget_list_view_objectsadd_objects_to_listremove_object_from_listglobal_searchsearch_spaceBEFORE YOU INSTALL
What to know first
Tools you get
18 tools named in the project's documentation.
Requires
- Node.js 18 or higher
- Anytype desktop application running locally
- An Anytype account
- ANYTYPE_APP_KEY in your environment
Where it runs
The documented client runs the server on your machine.
INSTALLATION
Connect your client
You clone and build this one yourself.
Server setup
git clone https://github.com/Qwinty/anytype-mcp.git
cd anytype-mcp
npm install
npm run buildWith the Anytype desktop app running, get an app key:
npm run get-keyFollow the instructions to authorize the application, and note the app key for configuration
MCP Clients
Claude Desktop
{
"mcpServers": {
"anytype": {
"command": "node",
"args": [
"<YOUR_PATH_TO_ANYTYPE_MCP>/build/index.js"
],
"env": {
"ANYTYPE_APP_KEY": "<YOUR_ANYTYPE_APP_KEY>"
},
"disabled": false
}
}
}<YOUR_PATH_TO_ANYTYPE_MCP> is the absolute path to your clone, and <YOUR_ANYTYPE_APP_KEY> is the app key from npm run get-key.