Anytype Toolbox
Automate Anytype with anyr CLI, external editor, or MCP server.
The unified binary anyr can manage spaces and objects, work with files and chats,
edit documents in Markdown, export and restore spaces, and run a workflow-oriented MCP server.
The rust client library anytype provides an ergonomic Rust
interface for Anytype's HTTP/REST API and (optionally) the gRPC API for additional capabilities.
Installation | Documentation | Source
Start with anyr
Install anyr, then choose the connection that
matches your Anytype installation.
With the Anytype desktop app running, authenticate interactively:
anyr auth login
anyr auth status --pretty
Desktop login provisions HTTP access. auth status reports HTTP and gRPC
credentials separately because some file, chat, invitation, backup, and MCP
operations require gRPC credentials. Most MCP tools work with the desktop HTTP
API; its connection guide
lists the headless-only tools and covers both credential families.
For a running Anytype headless server, initialize and verify both credential
families together:
anyr init-cli
Confirm the connection and discover the command surface:
anyr space list --table
anyr --help
The CLI guide covers endpoints, credential storage, output
formats, shell completions, and every command group.
What you can do
| Goal | Entry point |
|---|
| Manage spaces, objects, types, properties, files, and chats | anyr quick reference |
| Search and automate Anytype with JSON or table output | anyr CLI guide |
| Edit Anytype documents in an external Markdown editor | anyr md |
| Export a space, collection, type, or tagged selection as Markdown | Markdown export guide |
| Create, inspect, compare, and restore backups | anyr backup |
| Connect an AI client through the Model Context Protocol | anyr mcp |
| Guide an AI agent through Anytype workflows | Anytype Toolbox Skills |
| Build an Anytype integration in Rust | anytype client library |
For example:
# List pages in a space.
anyr object list "Work" --type page --table
# Edit a document after configuring EDITOR or EDITOR_COMMAND.
anyr md edit "Work" OBJECT_ID
# Export a space as Markdown with files and property metadata.
anyr backup export \
--space "Work" \
--format markdown \
--include-files \
--include-properties \
--dest ./work-markdown.zip
Commands write compact JSON to stdout by default, which keeps pipelines
predictable. Use --pretty for readable JSON or --table for terminal output.
Diagnostics and progress remain on stderr.
Agent Skills
Anytype Toolbox Skills is an independently versioned,
community-maintained bundle for Codex, Claude Code, and other Agent Skills
hosts. Install the anyr skill for direct CLI workflows or any-mcp for an AI
host already connected to anyr mcp. The bundle is not affiliated with or
endorsed by Anytype.
List the available skills before installing:
npx skills add stevelr/anytype --list
The skills guide covers individual and combined installs, exact release
archives, host marketplaces, prerequisites, updates, removal, and package
verification.
Rust libraries and components
CLI users install anyr. The other workspace packages provide its libraries
and specialized integration surfaces: