C
Caution
74/100
7 days ago

AFFiNE MCP Server

An MCP server for AFFiNE that exposes workspaces, documents, databases, comments, and more to AI assistants over stdio or HTTP, supporting both AFFiNE Cloud and self-hosted deployments.

Caution. Specific findings reduced this grade. They are listed on the page. Grades reflect the full trust pyramid: code, verification depth, and reputation. New projects cap at C until adoption is earned.

How we verified

Code Verified⚡ Live Monitored: not connected

Verified is a snapshot. Live keeps it current, and builds your track record.

⚡ Connect GitHub → continuous verification on every pushwhy connect →

Who stands behind it

irfanhak123

Source: Glama

Is this your MCP?

Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find. Or connect your repo for our deepest verification, Live Monitored: read-only, revoke anytime. What we access →

Install from

M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.

// key findings
⚠️
Known vulnerabilities in dependencies: 1 high
Affects packages this MCP installs at runtime. Upgrade or remove the affected dependency.
No credential exfiltration, no sensitive file access, no obfuscation
Static analysis found nothing flowing your secrets to unexpected places.
Open source with a license and README
Anyone can audit the code, the license is declared, and the publisher documents what it does.
🔐
You'll be asked for 3 credentials: AFFINE_ADMIN_PASSWORD, AFFINE_MCP_HTTP_ALLOW_QUERY_TOKEN, AFFINE_PASSWORD
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// known CVEs in dependencies1 high2 low

Disclosed vulnerabilities in this server's declared npm dependencies (via OSV). Whether each is reachable depends on the installed versions.

highform-data@4.0.4GHSA-hmw2-7cc7-3qxx

form-data: CRLF injection in form-data via unescaped multipart field names and filenames

lowmarkdown-it@14.1.0GHSA-38c4-r59v-3vqw

markdown-it is has a Regular Expression Denial of Service (ReDoS)

lowmarkdown-it@14.1.0GHSA-6v5v-wf23-fmfq

markdown-it: Quadratic complexity DoS in smartquotes rule via replaceAt string operations

Depend on this server? Get alerted when its CVEs change.Watch this server free →
// environment variables
To run this server yourself, you supply these values. They go in your own MCP client configuration and stay on your machine. The secret label means the value is sensitive, not that the server mishandles it.
configAFFINE_ADMIN_EMAIL
🔐 secretAFFINE_ADMIN_PASSWORD
configAFFINE_ALLOW_INSECURE_HTTP
configAFFINE_BASE_URLe =https://your-affine-instance.com \
configAFFINE_CLIENT_VERSION
configAFFINE_COMPREHENSIVE_ASSUME_FOCUSED_COVERAGE
configAFFINE_EMAILe =you@example.com \
configAFFINE_GRAPHQL_PATH
configAFFINE_HEADERS_JSON
configAFFINE_LOGIN_AT_START
🔐 secretAFFINE_MCP_HTTP_ALLOW_QUERY_TOKEN
configAFFINE_MCP_HTTP_ALLOW_UNAUTHENTICATED
🔐 secretAFFINE_PASSWORDe =your-password \
configAFFINE_WS_ACK_TIMEOUT_MS
configAFFINE_WS_CLIENT_VERSION
configAFFINE_WS_CONNECT_TIMEOUT_MS
configAPPEND_BLOCK_PROFILE
configGITHUB_REF_NAME
configGITHUB_SHA
configMCP_TOOL_TIMEOUT_MS
configXDG_CONFIG_HOMEThis stores credentials in $/affine-mcp/config when XDG_CONFIG_HOME is set, otherwise in ~/.config/affine-mcp/config, with mode 600.
// quality suggestions

Dependencies

19 dependencies, 1 flagged: @playwright/test

Tool annotations

No tools have read-only/destructive annotations

Add readOnlyHint or destructiveHint annotations to every tool so hosts can warn users before invoking.

All four hints declared on every tool

49/49 tools missing one or more hints — sign_in (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); upload_blob (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); delete_blob (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint), +46 more. OpenAI's directory rejects tools where any of the four hints are missing or non-boolean.

For every tool, set all four hints (readOnlyHint, destructiveHint, idempotentHint, openWorldHint) to explicit true/false values that match the handler’s actual behaviour.

Tool test coverage

Only 0/49 tools referenced in tests (0%)

Write tests that reference each tool by name so every tool has at least one test.

Secrets not logged

1 secret value sent to console.log

Redact or omit secret values from log output.

Production dependencies are patched

0 critical, 1 high severity in production deps — form-data@4.0.4 (high), markdown-it@14.1.0 (low)

Run npm audit fix, or upgrade the affected packages to a non-vulnerable version.

Dependency freshness

1/12 production deps stale: node-fetch@2023-11-30 (2.7y)

Claim the listing to review these findings one by one and send us a correction where you disagree, straight to the team. Claiming also means we tell you when the grade moves, and reach you first if we find anything urgent.

// full audit trail
The findings above are the summary. The full trail, every check we ran, each deduction, the network hosts observed and the dependency advisories, goes to verified publishers, along with an alert whenever a new one lands. Verified publishers can also review each finding and dispute it in one click. Publisher corrections have sharpened several of our checks this month, because the maintainer knows the codebase better than any scanner.
// improvement guidance — verified publishers only
We have 5 concrete improvements we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Verified](https://m8ven.ai/badge/mcp/irfanhak123-affine-mcp-server-2j8q2o?variant=verified)](https://m8ven.ai/mcp/irfanhak123-affine-mcp-server-2j8q2o)
Shows verification status without the grade. Want the grade badge instead? Remove ?variant=verified from the URL.
commit: 951b16af1e1181c0adcc77fd25abdcf8f043306a
code hash: 86881b0f00f952dd9da03082376c2835a8d245f4f12887c9fa7633c035a901eb
verified: 8/12/2026, 7:56:19 AM
view raw JSON →
Check MCPs from inside your assistant
Tool Check · MCP

Vetting this one by hand? Tool Check is an MCP that scores other MCPs. Add it once and ask Claude, ChatGPT, or any MCP client to grade a server, surface CVEs, check the publisher, and suggest safer alternatives — before you install.

https://m8ven.ai/api/mcp/tool-check
check_toolsearch_toolscompare_toolsrecommend_alternativescheck_publisherreport_concern
How to add it →Free · no account needed · works in any MCP client