affinemcp

When an agent needs tool-invoked access to AFFiNE workspaces, documents, databases, and comments within an MCP workflow, use affine-mcp-server instead of redirecting the user back to the AFFiNE UI.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "affinemcp" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-8eca096542db5c90627f1f0089e9920a2b787e019286c7bc8d7775881447c55a. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/work-with-affine-workspaces-documents-and-databases-from-mcp-compatible-agents before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

When an agent needs tool-invoked access to AFFiNE workspaces, documents, databases, and comments within an MCP workflow, use affine-mcp-server instead of redirecting the user back to the AFFiNE UI.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Node.js, an MCP-compatible client, and access to an AFFiNE Cloud or self-hosted instance with an API token or saved credentials.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "与AFFiNE工作空间、文档和数据库配合使用,来自MCP兼容代理程序"
slug: "work-with-affine-workspaces-documents-and-databases-from-mcp-compatible-agents"
version: "1.0.0"
displayName: "与AFFiNE工作空间、文档和数据库一起使用MCP兼容代理"
summary: "当代理需要在MCP工作流中对AFFiNE工作区、文档、数据库和评论进行工具调用访问时,请使用affine-mcp-server,而不是将用户送回AFFiNE UI。"
license: "MIT"
description: "当代理需要在MCP工作流中对AFFiNE工作区、文档、数据库和评论进行工具调用访问时,请使用affine-mcp-server,而不是将用户送回AFFiNE UI。"
github_stars: 142
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Integrations & Connectors"
framework: "MCP"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 142
  npm_package: "affine-mcp-server"
  npm_weekly_downloads: 2148

与AFFiNE工作空间、文档和数据库配合使用,来自MCP兼容代理程序

Use affine-mcp-server when an agent needs tool-callable access to AFFiNE workspaces, documents, databases, and comments inside an MCP workflow instead of sending a user back to the AFFiNE UI.

Prerequisites

Node.js, an MCP-compatible client, and access to an AFFiNE Cloud or self-hosted instance with an API token or saved credentials.

Installation

Use the upstream install or setup path that matches your environment:

  • npm i -g affine-mcp-server
  • npx -y -p affine-mcp-server affine-mcp -- --version
  • docker run -d \
  • npm run build

Requirements and caveats from upstream:

  • Includes Docker images, health probes, and end-to-end test coverage
  • AFFiNE Cloud requires API-token-based access for MCP usage; programmatic email/password sign-in is blocked by Cloudflare
  • | Run the server in Docker or another OCI runtime | docs/getting-started.md#path-c-run-from-the-docker-image |

Basic usage or getting-started notes:

Documentation

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value72/100

Highlights

  • 提供 MCP 代理对 AFFiNE 资源的程序化访问能力,避免手动切换 UI,提升自动化效率
  • 适用于需要集成 AFFiNE 数据到 AI 工作流的垂直场景
Trigger Precision90/100

Highlights

  • 触发描述清晰明确,准确界定使用场景和边界条件
Structure and Standards65/100

Areas to improve

  • 引用文件缺失 Reported severity: Major

    文档中引用了 docs/getting-started.md 和 docs/configuration-and-deployment.md 文件,但未在 Skill 包中提供

    Recommendation: 请补充被引用的文档文件,或移除无法访问的引用链接

Highlights

  • 包含基本的安装和使用说明结构
Execution Reliability60/100

Areas to improve

  • 异常处理覆盖不足 Reported severity: Major

    未说明如何处理 API token 失效、网络错误等常见异常情况

    Recommendation: 补充关键异常场景的处理建议和错误恢复机制

  • 缺少不可逆操作确认机制说明 Reported severity: Minor

    未提及删除文档等不可逆操作是否需要用户确认

    Recommendation: 明确说明危险操作的确认流程和安全防护措施

Highlights

  • 提供了多种安装方式(npm/npx/docker),工具来源明确
Evidence Verifiability (mean of the first four)72/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 34, 35
  • Accounts, secrets or authorization

    Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.

    Mentioned in main document · lines 29, 47
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com
  • raw.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Node.js, an MCP-compatible client, and access to an AFFiNE Cloud or self-hosted instance with an API token or saved credentials.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.