Skip to main content
skill CX Codex

affine-mcp-server-integration — Claude Code skill

affine-mcp-server-integration connects AI assistants to AFFiNE workspaces via the Model Context Protocol. Useful for searching, editing, and organizing docs directly from chat.

no license 116 installs ★ 9 updated 2026-10-09

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add reason-machines/mcp-skills --skill affine-mcp-server-integration -a claude-code
Open on GitHub

What affine-mcp-server-integration does

This skill provides setup guidance and operational rules for affine-mcp-server. It enables coding assistants to talk to AFFiNE Cloud or self-hosted instances. The underlying server exposes 85 tools covering workspace listings, document search, template creation, and trash restoration.

Execution happens locally via stdio using the npm package or over HTTP through an official Docker container. Local credentials can be stored via affine-mcp login with file permissions set to 600. Without a valid API token or login credentials, calls to the AFFiNE workspace fail immediately.

What it helps with

  • connect Claude Code or Cursor to an AFFiNE workspace
  • create and modify documents programmatically via MCP tools
  • deploy a remote HTTP MCP bridge using Docker
  • diagnose connectivity and active configuration using affine-mcp doctor

Example prompts for the agent

  • Connect my Claude Code session to my AFFiNE workspace
  • Search AFFiNE notes for meeting notes and summarize them
  • Run affine-mcp doctor to check my connection status

How to install affine-mcp-server-integration

1Skills CLI (Vercel)

npx skills add reason-machines/mcp-skills --skill affine-mcp-server-integration -a claude-code

2Manually: put the files in place

~/.claude/skills/affine-mcp-server-integration/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/affine-mcp-server-integration/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about affine-mcp-server-integration

How to install affine-mcp-server-integration in Claude Code?

Run npx skills add reason-machines/mcp-skills --skill affine-mcp-server-integration -a claude-code in your terminal.

What does affine-mcp-server-integration do?

It gives your agent instructions to run and use the AFFiNE MCP server, granting access to 85 tools for documents, templates, and databases.

Can I use it with self-hosted AFFiNE instances?

Yes. Set AFFINE_BASE_URL to your domain and authenticate with personal access tokens, email and password pairs, or cookies.

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set98

The whole set →
ios-mcp-jailbreak-automation The ios-mcp-jailbreak-automation skill for Claude Code connects an AI agent to an MCP server on a jailbroken iPhone to inspect its interface and operate apps. CX Codex +1 121installs apple-health-mcp-server Connects your Apple Health export to an AI agent through local or remote databases. Useful for checking activity metrics and pulse trends in chat. CX Codex +1 120installs osint-tools-mcp-server Adds an MCP server with seven OSINT tools to your assistant, so it can trace a username, check email registrations and look into a domain. CX Codex +1 118installs mcpspend-cost-tracking mcpspend-cost-tracking is a Claude Code skill that tracks real-time spending on MCP tool calls by tool, project, and customer. It wraps MCP servers with a transparent proxy. CX Codex +1 117installs codedb-mcp-fast-code-intelligence The codedb-mcp-fast-code-intelligence skill guides setup of a local MCP server that indexes a repository for symbol lookup, reference searches, and dependency analysis. Use it to explore a codebase without dumping whole files into chat. CX Codex +1 116installs elementor-mcp-wordpress-builder The elementor-mcp-wordpress-builder skill connects an AI agent to Elementor through MCP, so it can create WordPress pages, adjust layouts, and manage widgets. CX Codex +1 115installs mcp-servers-reference mcp-servers-reference is a skill that groups MCP servers by task and provides setup commands, with examples for development, databases, and infrastructure. CX Codex +1 112installs essential-mcp-servers-reference essential-mcp-servers-reference is a Claude Code skill that selects verified MCP servers and provides exact config commands. Runs on queries about tools or protocol setup. CX Codex +1 111installs

Project sponsors

Companies that keep this analytics open