Better NotionSAFE
Markdown-first Notion for AI agents -- pages, databases, blocks, and comments in one call.
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
ARCHIVED 2026-09-13 — This repository is no longer maintained. Use the official Notion API instead of this MCP server. Existing installations keep working but receive no updates or support.
mcp-name: io.github.n24q02m/better-notion-mcp
Markdown-first Notion for AI agents -- pages, databases, blocks, and comments in one call.
[](https://mcp.n24q02m.com/get-started/modes-overview/) [](https://github.com/n24q02m/better-notion-mcp/actions/workflows/ci.yml) [](https://codecov.io/gh/n24q02m/better-notion-mcp) [](https://www.npmjs.com/package/@n24q02m/better-notion-mcp) [](https://hub.docker.com/r/n24q02m/better-notion-mcp) [](LICENSE)
[](#) [](#) [](#) [](https://github.com/python-semantic-release/python-semantic-release) [](https://developer.mend.io/)
Sister projects from
659cbe3f53d1OBSERVED · 2026-10-08Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add better-notion-mcp --env NOTION_TOKEN=${NOTION_TOKEN} --env NOTION_TOKEN=${NOTION_TOKEN} -- npx -y @n24q02m/[email protected]claude mcp add better-notion-mcp:latest --env NOTION_TOKEN=${NOTION_TOKEN} --env NOTION_TOKEN=${NOTION_TOKEN} -- docker run -i --rm docker.io/n24q02m/better-notion-mcp:latest:NoneExposed tools (6)
5 read · 1 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
comments | read | Manage page comments.\n\nActions (required params -> optional):\n- list (page_id): all comments on a page\n- get (comment_id): single comment\n- create (content -> page_id for new discussion, discussion_id for reply) |
config__open_relay | read | Open the relay configuration form for better-notion-mcp in the user browser. Returns the relay URL, whether the browser launched, and the current credential state. |
file_uploads | write | Upload files to Notion.\n\nActions (required params -> optional):\n- create (filename -> content_type, mode= |
help | read | Get full documentation for a tool. Use when compressed descriptions are insufficient. |
users | read | Get user information.\n\nActions (required params):\n- list: all workspace users (requires admin permissions)\n- get (user_id): single user info\n- me: current bot/integration user\n- from_workspace: extract users from accessible pages (use if list fails) |
workspace | read | Search workspace and get workspace info.\n\nActions (required params -> optional):\n- info: workspace name, plan, and bot user\n- search (-> query, filter.object= |
Trust audit
SAFEgrade B · trust 88/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- declared (1 observation(s))
- Network
- declared (5 observation(s))
- Shell
- declared (3 observation(s))
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (14)
.coderabbit.yaml
.infisical.json
.mise.toml
.pre-commit-config.yaml
vi.mock('../../credential-state.js', () => ({} from '../../credential-state.js'
import { getState, getSubjectToken, resetState, resolveCredentialState } from '../../credential-state.js'params: { name: 'help', arguments: { tool_name: '../../../package.json' } }url: 'http://127.0.0.1:9999/',
url: 'http://127.0.0.1:9999/',
const CALLBACK_URI = `http://127.0.0.1:${CALLBACK_PORT}/callback`const url = new URL(req.url, `http://127.0.0.1:${CALLBACK_PORT}`)@cloudflare/containers, @modelcontextprotocol/sdk, @notionhq/client, zod, @biomejs/biome, @cloudflare/workers-types, @types/node, @vitest/coverage-v8
- Your `NOTION_TOKEN` is read from environment variables and never transmitted anywhere except the Notion API.
Gates applied: no_behavioural_pass.
659cbe3f53d1full audit observations/trust-audit/mcp-server/n24q02m__better-notion.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-08 | 659cbe3f53d1 | SAFE | B | 88 | first audit |
Questions
What is the Better Notion MCP server?
Markdown-first Notion for AI agents -- pages, databases, blocks, and comments in one call.
What tools does Better Notion expose?
6 in total: 5 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Better Notion safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (88/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does Better Notion need?
It reads CLOUDFLARE_API_TOKEN, CREDENTIAL_SECRET, MCP_AUTH_DISABLE, MCP_RELAY_PASSWORD, NOTION_MCP_BEARER_TOKEN, NOTION_OAUTH_CLIENT_ID, NOTION_OAUTH_CLIENT_SECRET and NOTION_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Better Notion run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as @n24q02m/better-notion-mcp at 2.41.6.
How current is this page?
The grade is for one exact copy of the source (659cbe3f53d1), read on 2026-10-08. The repository is watched and re-audited when it changes.