# anytype-mcp

Official MCP server for Anytype API - your encrypted, local and collaborative wiki.

MCP server by Anytype. Category: Agent craft.

## Install

Project (for this project only):

```sh
npx add-mcp @anyproto/anytype-mcp --env 'OPENAPI_MCP_HEADERS=${OPENAPI_MCP_HEADERS}'
```

Works with: Claude Code, Codex CLI, Cursor, Copilot CLI, opencode.

Global (for every project on this machine):

```sh
npx add-mcp @anyproto/anytype-mcp --env 'OPENAPI_MCP_HEADERS=${OPENAPI_MCP_HEADERS}' -g
```

Works with: Claude Code, Codex CLI, Cursor, Antigravity, Copilot CLI, opencode.

## Where it runs

Your computer.

## What it needs

Environment variables:

- `OPENAPI_MCP_HEADERS` (required): JSON string of headers for Anytype API. Example: {"Authorization":"Bearer <YOUR_API_KEY>", "Anytype-Version":"2025-05-20"}

## Tags

- Runs on your computer: It runs as a program on your machine, with your access.
- Needs a key or account: It asks for an API key or a sign in before it works.

## Source

[Open the source](https://github.com/anyproto/anytype-mcp). Checked 2026-10-10. This summary may contain AI-generated text, so it can be wrong. Check the source before you rely on it.

- Previous: [studio-cli](https://syn4pse.dev/terminal/automattic-studio-cli.md)
- Next: [n8n-workflow-lifecycle-official](https://syn4pse.dev/terminal/n8n-workflow-lifecycle-official.md)
- [Terminal](https://syn4pse.dev/terminal.md)
- [Suggest a change](mailto:terminal@syn4pse.dev?subject=Terminal%20suggestion)
