AFFiNE MCP Server
by dawncr0w
Connect AI assistants to AFFiNE workspaces, documents, and databases over stdio or HTTP.
What it does
Exposes AFFiNE's knowledge base capabilities to AI assistants, allowing them to manage workspaces, documents, and collaboration data. It supports both AFFiNE Cloud and self-hosted instances.
Tools
Exposes 87 canonical tools across several domains:
- Workspace: Create, inspect, and traverse workspaces.
- Documents: Search, read, create, publish, and semantic page composition.
- Databases: Create columns, add rows, and compose database structures from intent.
- Organization: Manage collections and workspace blueprints.
- Comments: Create and resolve comment threads.
Installation
Claude Desktop / Cursor
Add to your config:
{
"mcpServers": {
"affine": {
"command": "affine-mcp"
}
}
}
First, install the CLI: npm i -g affine-mcp-server and run affine-mcp login.
Supported hosts
- claude
- cursor
- codex
Quick install
npm i -g affine-mcp-serverInformation
- Pricing
- free
- Published
- 4/13/2026
- stars







