Best for
- Users who want to work with AFFiNE Cloud or self-hosted workspace content through an MCP client.
- Individuals or teams that want to control available operations with tool profiles.
The README describes an MCP server for AFFiNE workspaces, with a local stdio CLI and remote Streamable HTTP deployment options. It documents document, database, canvas, workspace organization, and collaboration capabilities, along with account permissions, tool profiles, and deployment security considerations. The manifest was not provided, so no canonical tool identifiers are listed.
Strongest · Documentation 15/20 Weakest · Reliability 10/20
Static review · not runReviewed 2026-12-04
Read the FMRS scoring method →Runtime:Node.js 20.18.1+ · Docker
AFFINE_PASSWORD
Password used to sign in to a self-hosted AFFiNE instance.
AFFINE_MCP_HTTP_TOKEN
MCP HTTP bearer token; use a strong, unique secret for deployment.
AFFINE_ALLOW_INSECURE_HTTP
Set to true for a trusted self-hosted plain HTTP endpoint, for both login and the server.
MCP_TRANSPORT
Selects the transport; the Docker HTTP example sets it to http.
AFFINE_BASE_URL
The URL of a self-hosted AFFiNE instance.
AFFINE_EMAIL
Email address used to sign in to a self-hosted AFFiNE instance.
AFFINE_MCP_AUTH_MODE
Sets MCP HTTP authentication mode; the example uses bearer.
AFFINE_TOOL_PROFILE
Selects the tools exposed to the client, such as full, authoring, core, read_only, or compact.
AFFINE_DISABLED_GROUPS
Further limits the available operation groups.
AFFINE_DISABLED_TOOLS
Further limits the available individual tools.
AFFINE_OAUTH_ALLOW_SERVICE_WRITES
Set to true to allow service writes with a write-capable profile in OAuth mode.
The local CLI requires Node.js 20.18.1 or newer. Install affine-mcp-server and run affine-mcp login, then register the server with your client. Claude Code can use the shown command configuration; for Codex CLI, run codex mcp add affine -- affine-mcp. For HTTP deployments, configure the server address and authentication, and protect the remote endpoint.
{
"mcpServers": {
"affine": {
"command": "affine-mcp"
}
}
}
Shown for Claude Code. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"affine": {
"command": "affine-mcp"
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
[mcp_servers.affine] command = "affine-mcp"
Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).
claude mcp add affine -- affine-mcp
Run it in a terminal; replace any <…> placeholders with your own values first.
Run affine-mcp status and affine-mcp doctor to check the connection, then ask your client to list accessible AFFiNE workspaces. You can also confirm that AFFiNE tools appear in the client's tool list.
Once connected, you can ask your AI assistant things like:
Listed from the project's documentation, not tested by this site.
AFFiNE MCP Server connects MCP-capable AI clients to AFFiNE Cloud or self-hosted AFFiNE instances over stdio or Streamable HTTP. It supports operations for documents, databases, canvases, workspace organization, and collaboration. Available operations depend on the configured tool profile and account permissions.
Search and manage Discourse forums through MCP.
Design together with AI agents on a live multiplayer canvas.
Connect Atlassian Cloud work to AI tools securely.
Official Notion MCP server for querying, editing, and managing Notion pages and databases via AI agents.
Source revision 0a131544357d Data synced 2026-12-05 Read the FMRS scoring method Markdown