# Anytype MCP server

> Manage Anytype spaces, objects, lists, properties, types and templates through natural language via the local Anytype API.

- Listing: https://mcp.tc/i/anytype
- Connect: this is a local (stdio) server; install it on your machine (see Install). The listing link is a page, not an MCP endpoint.
- Type: local (stdio)
- Auth: API key
- Category: [Productivity & Projects](https://mcp.tc/c/productivity)
- Vendor: Anytype (anyproto)
- Repository: <https://github.com/anyproto/anytype-mcp>
- Package: npm `@anyproto/anytype-mcp`

## About

Connects an AI assistant to the Anytype API by turning its OpenAPI specification into MCP tools. You can search globally or within a space, manage spaces and members, create and edit objects and lists, and work with properties, tags, types and templates.

It runs locally over stdio as the npm package @anyproto/anytype-mcp, started with npx, and talks to the Anytype app at http://127.0.0.1:31009 by default. A base URL can be changed with ANYTYPE\_API\_BASE\_URL. Access needs an Anytype API key, created in App Settings under API Keys or with the get-key command, passed in the OPENAPI\_MCP\_HEADERS variable.

## What it can do

- Search across all spaces or within one space
- Create and list spaces and view members
- Create, read, update and delete objects
- Manage collections and lists
- Work with properties, tags, types and templates
- Use optimistic concurrency with etags on writes

## Example prompts

- "Create a new space called 'Project Ideas' with a short description"
- "Add a Task object titled 'Research AI trends' to the Project Ideas space"
- "Search all my spaces for notes about LLMs"
- "Create a collection 'Tasks for this week' and add the two tasks to it"

## Install

### Claude Code

1. Run this in a terminal, in your project folder:

```bash
claude mcp add --transport stdio anytype --env "OPENAPI_MCP_HEADERS=<YOUR_OPENAPI_MCP_HEADERS>" -- npx -y @anyproto/anytype-mcp
```

2. Start Claude Code and type `/mcp`. **anytype** should show as connected.

Add `--scope user` to make it available in every project. Replace the placeholders with your own values.

### Claude Desktop

1. Open **Settings → Developer → Edit Config**. It opens `claude_desktop_config.json`. Add:

`claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "anytype": {
      "command": "npx",
      "args": [
        "-y",
        "@anyproto/anytype-mcp"
      ],
      "env": {
        "OPENAPI_MCP_HEADERS": "<YOUR_OPENAPI_MCP_HEADERS>"
      }
    }
  }
}
```

2. Save the file and restart Claude Desktop. Replace the placeholders with your own values.

Needs Node.js on your computer. The file lives in `~/Library/Application Support/Claude/` on macOS and `%APPDATA%\Claude\` on Windows.

### Cursor

[Add to Cursor](<https://cursor.com/install-mcp?name=anytype&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBhbnlwcm90by9hbnl0eXBlLW1jcCJdLCJlbnYiOnsiT1BFTkFQSV9NQ1BfSEVBREVSUyI6IjxZT1VSX09QRU5BUElfTUNQX0hFQURFUlM%2BIn19>) (opens Cursor)

Or add it by hand to `~/.cursor/mcp.json` (all projects) or `.cursor/mcp.json` (this project):

`mcp.json`:

```json
{
  "mcpServers": {
    "anytype": {
      "command": "npx",
      "args": [
        "-y",
        "@anyproto/anytype-mcp"
      ],
      "env": {
        "OPENAPI_MCP_HEADERS": "<YOUR_OPENAPI_MCP_HEADERS>"
      }
    }
  }
}
```

Needs Node.js on your computer. Replace the placeholders with your own values.

### VS Code

Add it to `.vscode/mcp.json`. VS Code asks for the secret the first time and stores it securely:

`.vscode/mcp.json`:

```json
{
  "servers": {
    "anytype": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@anyproto/anytype-mcp"
      ],
      "env": {
        "OPENAPI_MCP_HEADERS": "${input:openapi-mcp-headers}"
      }
    }
  },
  "inputs": [
    {
      "type": "promptString",
      "id": "openapi-mcp-headers",
      "description": "OPENAPI_MCP_HEADERS",
      "password": true
    }
  ]
}
```

Needs Node.js on your computer.

### Devin Desktop

1. Add it to `~/.config/devin/mcp_config.json` (macOS and Linux) or `%APPDATA%\devin\mcp_config.json` (Windows):

`mcp_config.json`:

```json
{
  "mcpServers": {
    "anytype": {
      "command": "npx",
      "args": [
        "-y",
        "@anyproto/anytype-mcp"
      ],
      "env": {
        "OPENAPI_MCP_HEADERS": "<YOUR_OPENAPI_MCP_HEADERS>"
      }
    }
  }
}
```

2. Refresh the MCP server list in Cascade. Replace the placeholders with your own values.

Devin Desktop is the new name for Windsurf.

### Codex

```bash
codex mcp add anytype --env "OPENAPI_MCP_HEADERS=<YOUR_OPENAPI_MCP_HEADERS>" -- npx -y @anyproto/anytype-mcp
```

Or edit `~/.codex/config.toml` directly:

`config.toml`:

```toml
[mcp_servers.anytype]
command = "npx"
args = ["-y", "@anyproto/anytype-mcp"]
env = { OPENAPI_MCP_HEADERS = "<YOUR_OPENAPI_MCP_HEADERS>" }
```

Needs Node.js on your computer. Replace the placeholders with your own values.

### Gemini CLI

```bash
gemini mcp add -e "OPENAPI_MCP_HEADERS=<YOUR_OPENAPI_MCP_HEADERS>" anytype npx -- -y @anyproto/anytype-mcp
```

This adds it to the current project. Add `-s user` to use it everywhere.

### Any client

Most clients that start local servers accept this shape:

```json
{
  "mcpServers": {
    "anytype": {
      "command": "npx",
      "args": [
        "-y",
        "@anyproto/anytype-mcp"
      ],
      "env": {
        "OPENAPI_MCP_HEADERS": "<YOUR_OPENAPI_MCP_HEADERS>"
      }
    }
  }
}
```

Zed puts servers under `context_servers` in its settings, with the same `command`, `args` and `env` fields.

Needs Node.js on your computer. Replace the placeholders with your own values.

## Recent changes

- 2026-11-07 20:29 UTC: New version 2.0.2 (was 2.0.1), read from npm. Source: automatic check.
- 2026-10-13 04:27 UTC: Tracking started: version 2.0.1. Source: automatic check.

More on the History tab, with descriptions before and after for the newest entries: https://mcp.tc/i/anytype#history (Atom feed: https://mcp.tc/i/anytype/history.xml). It records what mcp.tc's anonymous checks saw, every 3 hours where the tool list can be read without sign-in; it is not a security review.

## Details

- Server version: 2.0.2
- Last checked: 2026-10-13
- Listed: 2026-10-13
- Updated: 2026-10-13

---
Source: https://mcp.tc/i/anytype (mcp.tc is an independent directory, not affiliated with this server's publisher). Corrections: https://mcp.tc/report
