Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@foreverworks/mcp-notion

Latest version: v0.1.3

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: foreverworks-agents, horatiuvlad
5 Stars
2 Forks
4 Versions
384 Downloads
TypeScript Repo language

Scan summary

@foreverworks/mcp-notion was last scanned on 28 Nov 2026 at version 0.1.3. Risk score 5 of 100 (low). No malicious behavior was detected.

  • Releases: 4 versions; the latest was published on 28 Nov 2026.
  • Findings: 1 rule fired in version 0.1.3 (1 low). The score describes this version only.
  • Downloads: 384 downloads.

Versions

4 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.3 LATEST 28 Nov 2026 1 rule fired
0.1.1 31 Oct 2026 No rules fired
0.1.0 26 Oct 2026 No rules fired
0.0.0-stage 26 Oct 2026 Not shown

Rules fired in 0.1.3: 1

Findings

1 Low

Findings for v0.1.3. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

Maintainer or owner changed

The package's maintainer or owner differs from the previous version. This is usually benign, such as a transfer or reorganization, but account takeovers look the same at first. Shown for awareness.

LOW
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

The score describes 0.1.3; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Notion MCP server

Search, read and write your Notion workspaces from your AI assistant, several through one server: pages as Markdown, databases queried and counted by column, saved views, people, comments and files. It creates pages, rows, columns and databases, edits properties and bodies, comments, uploads files, and moves pages to Notion's trash (kept 30 days; restore_page brings them back). No tool is money.

You need a Notion integration per workspace, its token in a file of its own, and your top-level pages shared with it: an integration sees only what you share. Uploads take files up to 20 MiB (5 MiB on Notion's Free plan).

What you can ask

  • "Find the Q3 roadmap page in my work workspace and summarise it."
  • "How many rows of the Tasks database are in each Status?"
  • "Show me my Due this week view."
  • "Add 'Thinking in Systems' to the Reading List with status To read and the tag Books."
  • "In the Onboarding page, replace 'Slack' with 'Mattermost' everywhere."
  • "Download the PDFs attached to the Client SRL row of the Contracts database."

Install

Install in VS Code Install in Cursor Download for Claude Desktop

With Claude Code:

claude mcp add notion -e NOTION_TOKENS_DIR="<path to Notion tokens folder>" -- npx -y @foreverworks/mcp-notion

Claude Desktop (Settings, Developer, Edit Config) and most other clients read the same command as JSON:

{
  "mcpServers": {
    "notion": {
      "command": "npx",
      "args": ["-y", "@foreverworks/mcp-notion"],
      "env": {
        "NOTION_TOKENS_DIR": "<path to Notion tokens folder>"
      }
    }
  }
}

Each runs the published package on Node 22.19 or newer. VS Code and the Claude Desktop bundle ask for NOTION_TOKENS_DIR as they add the server. Cursor reads it from your environment instead (${env:NOTION_TOKENS_DIR}), so set it before you start Cursor. Configuration says what it holds.

From a clone
git clone https://github.com/foreverworks/mcps.git && cd mcps
npm ci && npm run build
claude mcp add notion -e NOTION_TOKENS_DIR="<path to Notion tokens folder>" -- node "$PWD/servers/notion/dist/index.js"

In a JSON configuration, the command is node and its one argument the full path of servers/notion/dist/index.js. To share one running copy between several clients over HTTP, see docs/deploying.md.

Over HTTP, a deployment that limits its hosts sets MCP_EGRESS_ALLOW=api.notion.com,prod-files-secure.s3.us-west-2.amazonaws.com,s3.us-west-2.amazonaws.com: Notion's API and the hosts its files are served from.

Configuration

Variable Required Meaning
NOTION_TOKENS_DIR yes, or CREDENTIALS_DIRECTORY A folder holding one file per workspace, notion-<label>, each holding that workspace's token and nothing else.
CREDENTIALS_DIRECTORY Read when NOTION_TOKENS_DIR is unset: under systemd, LoadCredential=notion-<label>:<path> puts the same files there, readable by the unit alone.
NOTION_OUTBOX_DIR for download_files The folder downloaded files are saved in, which the server writes and you read. Unset, download_files answers a config error naming it; every other tool works.

Each file is a workspace: notion-personal and notion-work are labelled personal and work, and the server names the labels it found at start. A label is lower-case letters, digits and hyphens; an empty file is skipped. There is no default folder, so a test or a hand-run copy cannot reach a workspace by accident. The files are re-read at most once a minute, and at once after a refused token, so a new token needs no restart. The variables every server shares (transport, limits, MCP_FILE_ROOTS for uploads) are in docs/configuration.md.

Getting a token

For each workspace:

  1. Open https://www.notion.so/profile/integrations, signed in to that workspace, and create a new internal integration.
  2. Turn on the capabilities the assistant needs: read, update and insert content for pages and databases, and the comment capabilities for comments. People's emails appear only if it may read user information with email addresses.
  3. Copy its Internal Integration Secret straight into notion-<label> in your tokens folder, readable by you alone (mode 0600). Do not paste it into a chat.
  4. Share your pages with the integration, which starts out seeing nothing. In Notion, open each top-level page the assistant should reach, then the ••• menu, Connections, and add the integration. Pages under it inherit the access; a new top-level page must be shared the same way.

A personal access token works in the same file instead (made at https://www.notion.so/developers/tokens, signed in to the workspace, with the Notion API capability). It acts as you: it sees every page you see, with nothing to share, and can create private top-level pages, which an integration cannot. It expires within a year.

First run

Ask your assistant to run Notion's health check. Per workspace, it says whether the token is accepted, the workspace and integration names, and whether the integration sees any page yet; if not, do step 4 above.

From a shell, node dist/index.js --health prints one NOTION: line per workspace and exits 0 when all is well, 1 when a person has to act (a refused token, a missing capability), and 2 for a warning (an integration that sees nothing yet, or Notion unwell), which suits a timer.

Tools

read changes nothing; write changes something in a workspace. A tool that takes an id also takes a Notion URL, and finds the workspace itself.

Workspaces and search
Tool Access What it does
list_accounts read The workspaces with a token file, by label. No request to Notion.
health read Per workspace: the token accepted, the workspace and integration names, whether it sees any page yet.
list_users read The people (and bots) of every workspace: id, name, and email when the token may read it; narrowed by a word.
search read Pages and databases by title, in every workspace at once, each hit tagged with its workspace.
Pages
Tool Access What it does
read_page read A page's properties as plain values and its body as Notion's Markdown.
read_blocks read The blocks directly inside a page or a block: id, type, plain text. A meeting-notes block names the blocks holding its summary, notes and transcript.
create_page write A row in a database, checked against its columns (or started from one of its templates), or a child page; either with a Markdown body.
update_page write A page's properties and icon.
append_content write Markdown at the end, the start, or after a passage.
edit_content write Find and replace in a page's Markdown.
replace_content write A page's whole body; an empty one only with clear. Answers with the page's title and its block count before and after.
move_page write Under another page or into a database, within one workspace.
trash_page / restore_page write Into Notion's trash (kept 30 days) and back. A database template only with allow_template.
Databases
Tool Access What it does
describe_database read A database's tables and columns: types, options, status groups, relation targets, formulas.
query_database read Rows, filtered by where (typed from the schema) or Notion's own filter, sorted, up to 1,000 in one call.
count_rows read How many rows match, and per value of a column ("tasks per status"), without sending the rows.
list_views read A database's saved views: id, name, type, and the filter and sorts saved in each, columns by name.
query_view read The rows a saved view shows, in its order, filtered exactly as Notion applies it, with the view's total.
list_database_templates read A database's page templates: their page ids, names and which is the default.
add_column write A column on a database: a free name, a type and its settings (options, number format, formula, relation), checked against the table first.
add_options write Options on a select, multi-select or status column; the ones there are kept by id and the column is read back after.
create_database write A database under a page, with its title column and other columns, each checked against the others first.
Comments and files
Tool Access What it does
get_comments read A page's open comments.
add_comment write A comment on a page, or a reply in a discussion.
upload_file write A file by path, uploaded to a row's files column or into a block at the end of a page's body; answers its size and SHA-256.
download_files read A page's Notion-hosted files (its files columns and the file blocks of its body) saved to the outbox, each with its SHA-256.

test/tools.snapshot.json pins what a client lists; a diff there is a breaking change.

Troubleshooting

health says "the integration sees no page yet", or a call answers not_shared. Notion answers the same 404 for an id that does not exist and a page not shared with the integration. Check the id, then share the page (step 4 of Getting a token); sharing a top-level page shares everything under it.

auth. The token was refused: revoked, or a personal access token past its expiry. Put a new one in the notion-<label> file; the next call reads it.

forbidden. The integration lacks a capability for this call. Turn it on at https://www.notion.so/profile/integrations (step 2 of Getting a token).

config. No token files where NOTION_TOKENS_DIR points, an unreadable one, or one holding more than one token. For download_files, set NOTION_OUTBOX_DIR.

input from create_page with no parent. Notion refuses a top-level page from an integration; give a parent page, or use a personal access token. Any other input names what to fix, and nothing changed.

outcome_unknown. An append, a find-and-replace, a new page or a comment lost its answer; it is never resent blind. Read the page (or search for a new one) before writing again: the change may be there.

conflict: someone edited the same object at that moment; read it again, then retry. rate_limited: Notion still throttles after the retries (180 requests a minute on the Free plan); wait a minute. api: Notion was unreachable or failed; retry later. With reason: "drift" its answer changed shape: please report it.

How it works

An id finds its own workspace

An id lives in exactly one workspace, so src/app/locate.ts asks each until one answers; a 404 from all is not_shared. Every id found, or revealed by a search or query, is remembered while the process runs, so misses are paid once. A URL may be on notion.so, notion.site or app.notion.com; ?p= names a page open over a database.

A database is named by its own id or its data source's (search gives both). Since API 2025-09-03 a database holds data sources, nearly always one; with several, source names the table, and omitting it is refused with their names.

The values an agent sees

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @foreverworks/mcp-notion

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229