Affine MCP Server
Connects AI assistants to AFFiNE workspaces for document search, text edits, database updates, and collaboration workflows.
Install Affine MCP Server
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"affine-mcp-server": {
"command": "npx",
"args": [
"-y",
"-p",
"affine-mcp-server",
"affine-mcp"
],
"env": {
"MCP_TRANSPORT": "YOUR_VALUE_HERE",
"AFFINE_BASE_URL": "YOUR_VALUE_HERE",
"AFFINE_EMAIL": "YOUR_VALUE_HERE",
"AFFINE_PASSWORD": "YOUR_VALUE_HERE",
"AFFINE_API_TOKEN": "YOUR_VALUE_HERE",
"AFFINE_MCP_AUTH_MODE": "YOUR_VALUE_HERE",
"AFFINE_MCP_HTTP_TOKEN": "YOUR_VALUE_HERE",
"AFFINE_ALLOW_INSECURE_HTTP": "YOUR_VALUE_HERE"
}
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Values are written into the snippet above so you can paste it as is. They never leave your browser.
We couldn’t confirm it starts correctly
We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.
npx -y -p affine-mcp-server affine-mcpNo response to initialize.
This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .
Overview
Use cases
- Search AFFiNE documents for matching blocks
- Apply targeted text changes to document blocks
- Update multiple database rows in one request
- Automate table schema and canvas content changes
- Coordinate writes from multiple AI agents
Key features
- AFFiNE Cloud and self-hosted deployment support
- stdio and HTTP MCP transports
- Targeted document text editing
- Database row, schema, and view updates
- Concurrent workspace write coordination
- Compact reads and bounded Markdown exports
Tools3
What Affine MCP Server lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 7d ago via OSV.dev · affine-mcp-server (npm)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Affine MCP Server works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Affine MCP Server
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/affine-mcp-server)<a href="https://allmcps.com/mcp/affine-mcp-server"><img src="https://allmcps.com/api/badge/affine-mcp-server?style=directory" alt="Affine MCP Server on AllMCPs" /></a>