What it is
@notionhq/notion-mcp-server is Notion's open-source local server. It turns the Notion API's operations into MCP tools. Notion also offers a hosted server with OAuth that its README recommends for most users.
- Maintainer
- Official (vendor)makenotion on GitHub (organisation account, project of the same name)
- Source
- makenotion/notion-mcp-server4,740 GitHub stars · MIT licence
- Transport
- stdio, HTTP (optional)
- Packages
- @notionhq/notion-mcp-server npm · latest 2.6.1 · 1,336,015 downloads last month
- Latest release
- v2.5.2 2026-09-20
- Public advisories
- 0GitHub and OSV, as of December 5, 2026
What it can do
Read from the public tool definitions in the source, not from a live run. A capability marked "yes" means at least one tool can do it.
- Reads: yes
- Writes: yes
- Deletes: yes
- Runs code: no
- Network: no
- Sends: yes
Anything an agent writes to a Notion page is visible to people who can see it, including comments.
| Tool | What it can do | Notes |
|---|---|---|
post-search | Reads | Searches pages the integration can see. |
retrieve-a-page | Reads | |
retrieve-page-markdown | Reads | |
query-data-source | Reads | |
get-users | Reads | Lists workspace users. |
post-page | Writes | Creates a page. |
patch-page | Writes | Updates a page. |
update-page-markdown | Writes | |
update-a-block | Writes | |
patch-block-children | Writes | |
move-page | Writes | |
create-a-comment | Writes, Sends | Posts a comment visible to others. |
delete-a-block | Deletes | Deletes a block. |
create-a-data-source | Writes | |
update-a-data-source | Writes |
Operation IDs from the bundled Notion OpenAPI file (24 operations). Tool names are generated from them. The list here is a subset.
Credentials and least privilege
Notion's page-sharing model limits what the token sees.
| Credential | What it is for | Least privilege |
|---|---|---|
NOTION_TOKEN (integration token) | Authenticates as a Notion internal integration. | Create an internal integration, give it only the capabilities you need (for read-only use, only Read content), and share only the specific pages with it. |
Public security advisories
No published security advisory was listed for this project on GitHub or OSV as of December 5, 2026. That only means none had been published. It does not mean the code has been audited.
What stands out
- The README says it limits the Notion API operations it exposes, for example you cannot delete databases.
- It still recommends caution because exposing workspace content to LLMs carries a non-zero risk.
- Notion's README describes a separate hosted server and says this repo is the self-hosted option.
Safe-install checklist
Install command from the project's docs: npx -y @notionhq/notion-mcp-server.
- Pin the version. Use an exact version, not
latest:npx -y @notionhq/notion-mcp-server@2.6.1. Set the token with an environment variable. - Scope the credential. Create an internal integration, give it only the capabilities you need (for read-only use, only Read content), and share only the specific pages with it.
- Use a read-only integration token for exploration, and only share the pages you want it to see.
- Deny
delete-a-block,create-a-commentandpost-pageunless the task needs them. - Deny the tools you do not need. In Claude Code, deny rules in
.claude/settings.jsonuse the formmcp__<server name>__<tool>, where the server name is whatever you called it in your config. Example, if you named itnotion-mcp-server:{ "permissions": { "deny": [ "mcp__notion-mcp-server__post-page", "mcp__notion-mcp-server__patch-page", "mcp__notion-mcp-server__update-page-markdown", "mcp__notion-mcp-server__update-a-block", "mcp__notion-mcp-server__patch-block-children", "mcp__notion-mcp-server__move-page", "mcp__notion-mcp-server__create-a-comment", "mcp__notion-mcp-server__delete-a-block" ] } } - Snapshot the tool list. Save the
tools/listoutput right after you install, then compare it before every upgrade with the free PTS MCP tool diff checker. It runs in your browser and flags new tools and changed descriptions or schemas. - Watch for fixes. Watch the project's security advisories and upgrade on purpose, after the diff.
For the general version of this list, see the MCP server security checklist. Not sure about a server that is not listed here? Read Is an MCP server safe to install?
Quick follow-ups
What can Notion MCP server do on my machine or accounts?
Based on its public tool definitions, it can: reads local files or data; creates or changes files, records or settings; deletes or destroys data; sends messages, posts or publishes for you. Anything an agent writes to a Notion page is visible to people who can see it, including comments.
Does Notion MCP server need a token or API key?
Yes, depending on setup: NOTION_TOKEN (integration token). Notion's page-sharing model limits what the token sees.
Has Notion MCP server had public security advisories?
No published advisory was listed for it on GitHub or OSV as of December 5, 2026. That is not proof it has no issues, only that none had been published.
How do I keep Notion MCP server from changing under me?
Pin the version, for example npx -y @notionhq/notion-mcp-server@2.6.1. Then save its tool list (name, description, input schema) with the free PTS MCP tool diff checker and compare it before each upgrade.
Sources
This page is a factual summary of public information about the software. It is not a verdict on the maintainers and not an audit. Check the project's own docs for your version before you rely on it. Educational, not legal or security advice.
