Cette page est affichée en anglais. Une traduction française est en cours.
MCP ConfigsMay 12, 2026·2 min de lecture

affine-mcp-server — AFFiNE Docs & Database MCP

AFFiNE MCP Server exposes AFFiNE workspaces to Claude Code/Cursor via MCP (stdio/HTTP), with auth and least-privilege tool profiles.

MCP Hub
MCP Hub · Community
Prêt pour agents

Cet actif peut être lu et installé directement par les agents

TokRepo expose une commande CLI universelle, un contrat d'installation, le metadata JSON, un plan selon l'adaptateur et le contenu raw pour aider les agents à juger l'adaptation, le risque et les prochaines actions.

Native · 94/100Policy : autoriser
Surface agent
Tout agent MCP/CLI
Type
Mcp
Installation
Manual
Confiance
Confiance : Established
Point d'entrée
npm i -g affine-mcp-server && affine-mcp --version
Commande CLI universelle
npx tokrepo install 8c421f26-d032-529a-b18d-710a2cd4fc34
Introduction

AFFiNE MCP Server connects AI assistants to AFFiNE workspaces, documents, and databases through a stable MCP tool surface over stdio or HTTP. It targets Claude Code/Codex CLI/Cursor setups where you want least-privilege, auditable access to your knowledge base.

Best for: teams using AFFiNE as a docs + database knowledge hub and want to let coding agents retrieve/update content safely

Works with: Claude Code/Cursor/Codex CLI, Node.js (CLI), Docker (optional), AFFiNE Cloud or self-hosted AFFiNE

Setup time: 15–25 minutes

Key facts (verified)

  • Version badge in README shows 2.0.0.
  • README states an 84-tool public MCP surface and least-privilege profiles.
  • GitHub: 165 stars · 56 forks; pushed 2026-05-11 (GitHub API verified).

Main

Treat this server like an integration boundary: start with read-only or core profiles, then widen tool exposure only when you have specific AFFiNE automation needs. For hosted usage, prefer HTTP transport with a strong bearer token and keep the token outside your project repo.

If you want a minimal Claude client config, use the Docker + HTTP /mcp endpoint shown in the README and set headers per client.

README excerpt (verbatim)

AFFiNE MCP Server

A Model Context Protocol (MCP) server for AFFiNE. It exposes AFFiNE workspaces and documents to AI assistants over stdio (default) or HTTP (/mcp) and supports both AFFiNE Cloud and self-hosted deployments.

Version MCP SDK CI License

AFFiNE Server MCP server

Table of Contents

🙏

Source et remerciements

Source: https://github.com/DAWNCR0W/affine-mcp-server > License: MIT > GitHub stars: 165 · forks: 56

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires