Skip to content
Hidden Logic Lab

Official Notion MCP Server 2.6.1 registers every OpenAPI-derived tool, including writes such as API-update-page-markdown and API-delete-a-block, with no server-side read-only mode or confirmation gates, and Notion’s own README now steers operators to hosted Remote Notion MCP because this local package is no longer actively maintained.

Published

Official Notion MCP Server 2.6.1 registers every OpenAPI-derived tool, including writes such as API-update-page-markdown and API-delete-a-block, with no server-side read-only mode or confirmation gates, and Notion’s own README now steers operators to hosted Remote Notion MCP because this local package is no longer actively maintained.

Published November 28, 2026

The official Notion MCP Server is a first-party Model Context Protocol server that turns a curated Notion REST API surface into MCP tools a connected AI client can call. Publisher: Notion Labs, Inc. (@notionhq). The public repository is makenotion/notion-mcp-server. The npm package operators actually install is @notionhq/notion-mcp-server; its bin is notion-mcp-server (bin/cli.mjs). The license is MIT. The root LICENSE file is a 2025 Notion Labs, Inc. MIT grant. The tool converter under src/openapi-mcp-server/ is a vendored fork of v1 of snaggle-ai/openapi-mcp-server, also MIT; that subdirectory carries the upstream copyright notice plus Notion’s modifications.

This review is a static review of a pinned published artifact, not of git HEAD in the abstract and not of Notion’s hosted service. At research time on 29 November 2026, npm latest was 2.6.1, and that tarball’s gitHead and its SLSA provenance both pointed at commit cf16e5c20bfbfb98ecec1227f210ef0ae3abebe5, which was also origin/main. We cloned that commit, read first-party source and docs, downloaded the official npm tarball, and checked hashes and attestations. We did not run the MCP server, npx @notionhq/notion-mcp-server, postinstall hooks, the HTTP transport, Docker, or any installer. We did not use a Notion token, OAuth login, or real workspace, and we did not connect to https://mcp.notion.com/ or to the Notion API.

The local open-source server reviewed here is a different product from Notion’s hosted Remote Notion MCP at https://mcp.notion.com/mcp. The repository README and Notion’s current developer documentation recommend the hosted service, describe this repository as no longer actively maintained or supported, and say the local package may be sunset. We cannot statically review the hosted service’s private code. Claims about Remote Notion MCP in this article come only from official public documentation.

What we pinned

  • npm @notionhq/notion-mcp-server@2.6.1, the latest dist-tag at research time (29 November 2026, Asia/Hong_Kong). The registry published this version on 30 October 2026, 00:13:01 Asia/Hong_Kong (29 October 2026, 16:13:01 UTC). The package metadata time.modified value is later, 18 November 2026, 04:31:16 Asia/Hong_Kong (17 November 2026, 20:31:16 UTC); that is a registry metadata timestamp, not a second 2.6.1 tarball. No other dist-tag was present. The version is not marked deprecated.
  • Git commit cf16e5c20bfbfb98ecec1227f210ef0ae3abebe5, message Upgrades both Docker build and runtime stages to Node 22 (#374), which also bumps package.json from 2.6.0 to 2.6.1. Author: Quan Nguyen. Committer: GitHub <noreply@github.com>. Commit date: 30 October 2026, 00:10:19 Asia/Hong_Kong (29 October 2026, 16:10:19 UTC; the commit itself is dated 09:10:19 -0700). After importing GitHub’s web-flow public keys, git verify-commit reported a good signature from GitHub <noreply@github.com> with fingerprint 9684 79A1 AFF9 27E3 7D1A 566B B569 0EEE BB95 2194. That confirms GitHub’s merge signature, not a maintainer-signed annotated tag.
  • There is no git tag v2.6.1 or v2.6.0. The newest tag in the clone is annotated tag v2.5.2 (tagger github-actions[bot], 21 September 2026, 07:09:01 Asia/Hong_Kong / 20 September 2026, 23:09:01 UTC), pointing at commit 730ae781ba28beeaf0865025a3f2ed4c25ea2387. git tag -v v2.5.2 reported error: no signature found. The GitHub Releases API listed only v2.1.0. RELEASING.md says the Publish Package workflow “pushes a vX.Y.Z git tag,” but .github/workflows/publish.yml only runs the tag step when the push commit message contains Bump version to. The 2.6.1 merge message does not, so the missing tag is explained by the workflow condition, not by a second unpublished commit.
  • npm gitHead for 2.6.1 is cf16e5c20bfbfb98ecec1227f210ef0ae3abebe5, matching the commit above. The official tarball is https://registry.npmjs.org/@notionhq/notion-mcp-server/-/notion-mcp-server-2.6.1.tgz. Downloaded size: 1,656,568 bytes. Registry shasum (SHA-1) 238e4cc7a48cc18d6fc86a8782a2190cccfb93cc and integrity sha512-CJ83Z6o93d85RbQnJWYlKTdY2vplU02yvHCSIRSGcuQppzeV3roaiuj3yM28v85mOUr6aQgsUR9CrxxTvO62jQ== both matched the file we downloaded. Computed SHA-256 is dda051e78271e754b6c6fe6907bfb71ee28b3cd81efe8d39fb39268c3b10aec5; SHA-512 hex is 089f3767aa3ddddf3945b427256625293758dafa65534db2bc709221148672e429a73795deba1a8ae8f7c8cdbcbfce66394afa69082c511f42af1c53bceeb68d. Registry metadata reports fileCount 52 and unpackedSize 3,014,075.
  • Provenance is present. The package was published by the trusted publisher GitHub Actions (npm-oidc-no-reply@github.com). We downloaded the official attestations for 2.6.1. The npm publish attestation and the SLSA v1 provenance attestation both name subject pkg:npm/%40notionhq/notion-mcp-server@2.6.1 with the same SHA-512 digest as the tarball. The SLSA predicate attributes the build to .github/workflows/publish.yml on refs/heads/main in https://github.com/makenotion/notion-mcp-server, resolved git commit cf16e5c20bfbfb98ecec1227f210ef0ae3abebe5, builder https://github.com/actions/runner/github-hosted, invocation https://github.com/makenotion/notion-mcp-server/actions/runs/40908919632/attempts/1. The Sigstore certificate SAN is https://github.com/makenotion/notion-mcp-server/.github/workflows/publish.yml@refs/heads/main, with Fulcio extensions naming the same commit, the workflow display name Publish Package, event push, and a github-hosted runner. We decoded those payloads and read the certificate; we did not independently re-verify the full Sigstore transparency-log signatures with a separate policy tool.
  • The tarball contains first-party TypeScript source, tests, Docker files, GitHub workflows, and the published bin package/bin/cli.mjs (1,380,194 bytes). bin/ is gitignored, so that bundled CLI is not in the git tree. A source comparison of the non-bin files showed the tarball matching the commit except that git also has .gitignore and package-lock.json, which npm did not include, and the tarball uniquely adds bin/cli.mjs. The README and package.json in git and in the tarball are identical. scripts/build-cli.js uses esbuild to minify-bundle scripts/start-server.ts into bin/cli.mjs. We did not rebuild that file from TypeScript, so we cannot independently prove that every byte of the minified CLI was produced from this commit’s sources — only that npm provenance attributes the tarball to this commit, and that the TypeScript we opened is what the build script says it bundles.
  • For context only, npm 2.6.0 has gitHead 6abe1cd16f44ca75d1771f7e7c0b29c3c595ad9f (Upgrade npm packages (#372)), published 28 October 2026, 10:54:34 Asia/Hong_Kong (02:54:34 UTC). That commit is before [Hardening] Reject file uploads and remove local filesystem reads (#373) (d221339a14fd452429cb81bec559d445364de8a6). This review pins 2.6.1, which includes that hardening.

Scope

This review covers the local open-source server at the pin above: architecture and trust boundaries (stdio, optional Streamable HTTP, and how those differ from hosted Remote Notion MCP), the default tool surface, malware and static-check findings and their limits, permission and data-access scope, network / file / command / credential / telemetry risks, who the local server is for, and how a careful operator would pin and restrict it.

It does not cover runtime behavior we did not exercise, third-party node_modules implementations we did not install or audit, the Docker Hub image mcp/notion named in the README, or the private implementation of https://mcp.notion.com/mcp.

Verdict

In this pin, @notionhq/notion-mcp-server@2.6.1 is a local MCP process that authenticates to https://api.notion.com with a Notion integration token (NOTION_TOKEN or OPENAPI_MCP_HEADERS) and exposes every operation in scripts/notion-openapi.json as a tool. There are 24 such operations. The MCP-facing names in src/openapi-mcp-server/mcp/proxy.ts are API- plus the OpenAPI operationId, so the README’s retrieve-page-markdown and update-page-markdown are registered as API-retrieve-page-markdown and API-update-page-markdown. Twelve of those tools are HTTP GET and are annotated readOnlyHint: true. The other twelve, including API-update-page-markdown, API-delete-a-block, API-post-page, API-patch-page, API-create-a-comment, and API-create-a-data-source, are annotated destructiveHint: true. There is no server-side read-only flag, no tool allow-list, and no elicitation or confirmation gate in the first-party source. Official install examples use unpinned npx -y @notionhq/notion-mcp-server (or unpinned mcp/notion) and place NOTION_TOKEN in the client config; they mention a read-only integration capability as optional advice, they do not enable it in the snippets.

Default transport is stdio. Streamable HTTP is opt-in (--transport http), defaults to 127.0.0.1:3000, and requires a bearer token unless the operator passes --unsafe-disable-auth (or the deprecated alias --disable-auth). The /health route is unauthenticated even when /mcp is not. DNS-rebinding header checks are turned on only when HTTP auth is disabled.

No malware, unexpected installer hooks, or unexpected first-party binaries were found in the first-party files we opened. That is not a clean bill of health. The same repository README that documents how to run this package tells operators to use Remote Notion MCP instead, because this local server is not actively supported. A careful operator who still needs the local package should pin 2.6.1 (not a floating latest, and not 2.6.0 if they want the file-upload hardening), use a least-privilege internal integration and explicit page sharing, keep the token out of world-readable config, and treat HTTP as a different trust boundary from stdio.

Architecture and trust boundaries

The process is a Node.js MCP server. scripts/start-server.ts is the entry point. It loads scripts/notion-openapi.json (OpenAPI 3.1.0, info.version 2.0.0, titled “Notion API”, default server URL https://api.notion.com), and src/init-server.ts constructs an MCPProxy. The proxy converts every path operation into tools and, on CallTool, forwards the call through HttpClient (src/openapi-mcp-server/client/http-client.ts) using openapi-client-axios and axios. The axios defaults set User-Agent: notion-mcp-server and merge in the configured Notion headers. This is an API proxy in the operator’s environment, not a hosted Notion service.

parseServerOptions() in scripts/server-options.ts defaults transport to stdio, HTTP port to 3000, and HTTP host to 127.0.0.1 (DEFAULT_HTTP_HOST). Unrecognized CLI arguments are ignored, which the comment says is for Docker command names.

Local stdio (default). On stdio, startServer() calls initProxy(specPath, baseUrl) and proxy.connect(new StdioServerTransport()). The trust boundary is the MCP client that spawned the process: that client already has the server’s stdio and, in the official examples, injects NOTION_TOKEN into the child environment. Anyone who can send MCP tool calls on that stdio can invoke every registered tool, subject only to the Notion API and the integration token’s capabilities and page access. The server itself does not ask the operator to confirm a write.

Local Streamable HTTP (opt-in). --transport http starts an Express app with express.json(), a POST|GET|DELETE /mcp surface using StreamableHTTPServerTransport, and app.listen(port, options.host). There is no Server-Sent Events transport in this local codebase; leftover SSE language in Notion’s docs is about the hosted endpoint https://mcp.notion.com/sse, not this package.

HTTP authentication is on by default. If --unsafe-disable-auth is not set, the server uses --auth-token, or AUTH_TOKEN, or randomBytes(32).toString('hex'). An auto-generated token is written to os.tmpdir() as .notion-mcp-auth-token-${process.pid} with mode 0o600, and the path is logged; the raw token is not printed. Middleware authenticateToken requires Authorization: Bearer <token> on /mcp and compares it with !== (not a constant-time compare). --auth-token on a command line can also appear in process listings; the README’s “recommended for production” examples include that flag as well as AUTH_TOKEN.

The /health GET handler returns { status: 'healthy', timestamp, transport: 'http', port } with no authentication. That is a narrower leak than unauthenticated /mcp, but it is still unauthenticated on the same bind address.

--unsafe-disable-auth (and deprecated --disable-auth) turns that bearer check off and prints warnings that a malicious website may reach the server via DNS rebinding, and that an unauthenticated bind that is not loopback is even worse. Only in that unauthenticated configuration does getDnsRebindingProtectionOptions() enable the SDK’s DNS-rebinding protection and restrict Host / Origin to localhost, 127.0.0.1, [::1], and the configured host. When bearer auth is left on, those header checks are not enabled; the server relies on the gateway token instead.

--host 0.0.0.0 is a documented example. The help text and the README both show it. Binding HTTP, with or without a bearer token, to all interfaces is a different trust boundary from stdio or from loopback HTTP: anything that can reach that port and present the gateway token (or, if auth was disabled, pass the Host/Origin checks) can use the Notion integration. Per-request Notion token passthrough (--enable-token-passthrough or ENABLE_TOKEN_PASSTHROUGH=true) is off by default. When enabled, a client may send a Notion token in the Notion-Token header on initialize; the server accepts values that look like ntn_ or legacy secret_ tokens (length 8–300). If HTTP auth is also disabled, Authorization: Bearer ntn_… can be used as a fallback. Logs of passthrough tokens go through redactToken(), which keeps the prefix and the length. The README tells operators to use TLS and to keep gateway auth enabled for multi-tenant HTTP. We did not run this path.

BASE_URL, if set in the environment, overwrites parsed.servers[0].url in loadOpenApiSpec(). That retargets every tool call, including the Authorization header the process already holds. It is an operator-controlled startup variable, not a tool argument, but an untrusted BASE_URL is a credential-exfiltration path.

When HTTP listening starts and NOTION_TOKEN is set, start-server.ts also fetches https://api.notion.com/v1/users/me with Notion-Version: 2022-06-28 in order to print a https://www.notion.so/profile/integrations/internal/{id} link. Failures are swallowed. That is a first-party, documented-purpose call to the Notion API at process start, not a general telemetry channel, and it is in the HTTP transport path rather than stdio.

Hosted Remote Notion MCP. Official documentation at Connect to Notion MCP and the overview at developers.notion.com/docs/mcp (the URL the README uses) describe a hosted Streamable HTTP server at https://mcp.notion.com/mcp. Clients authenticate with OAuth, or, on Business and Enterprise plans, with an MCP token a workspace owner creates, sent as a bearer token. The docs say this server “supports OAuth authorization and MCP tokens, and requires no infrastructure setup,” and that it “automatically respects each user’s existing Notion permissions.” The repository README’s comparison table says Remote Notion MCP offers semantic search, AI Connector search, Markdown-native editing, token-efficient agent-oriented tools, and active support; this local project is described as keyword search only, basic API-derived tools, manual token and page sharing, and “Not actively supported.” Notion says it may sunset this repository, does not actively monitor issues and pull requests, and will retire the legacy hosted SSE URL https://mcp.notion.com/sse on 23 February 2027. We did not probe those hosted endpoints, and we have no visibility into their server-side code.

Tools and defaults

Tools are generated from the vendored OpenAPI document, not from a hand-written allow-list. OpenAPIToMCPConverter.convertToMCPTools() walks every path operation, uses the operationId as the method name, groups them under the internal name API, and records a lookup key API-${operationId}. MCPProxy.setupHandlers() then registers each method as an MCP tool with that API- prefix (truncated to 64 characters if needed). The snapshot test notion-spec.snapshot.test.ts locks the unprefixed operationIds and states that a change to names, HTTP methods, or parameter surface should fail the snapshot. The proxy unit tests call tools as API-getTest, API-create-a-comment, and so on. The README and CLAUDE.md talk about retrieve-page-markdown / update-page-markdown and say “Tool names come from OpenAPI operationId,” without mentioning the API- prefix the ListTools handler actually prepends. We are reporting what the source will register, not a runtime listing we obtained by launching the server.

The 24 tools in the snapshot, with the MCP prefix applied, are:

  • Read (GET, readOnlyHint: true): API-retrieve-a-block, API-get-block-children, API-retrieve-a-page, API-retrieve-a-page-property, API-retrieve-page-markdown, API-retrieve-a-comment, API-retrieve-a-data-source, API-list-data-source-templates, API-retrieve-a-database, API-get-users, API-get-user, API-get-self.
  • Non-GET (annotated destructiveHint: true solely because the HTTP method is not GET): API-post-search (POST /v1/search), API-query-data-source (POST /v1/data_sources/{data_source_id}/query), API-post-page, API-patch-page, API-update-page-markdown, API-move-page, API-update-a-block, API-patch-block-children, API-delete-a-block, API-create-a-comment, API-create-a-data-source, API-update-a-data-source.

API-post-search and API-query-data-source are query operations that happen to use POST; the annotation does not mean the server has decided they are destructive in a Notion sense. The other ten can create or change pages, blocks, comments, or data sources, or move a page, or delete a block (Notion’s delete-block API archives the block). The README is explicit that some Notion API scope is withheld — “you will not be able to delete databases via MCP” — and this pin’s spec has no delete-database or delete-data-source operation. It also has no file-upload operation. Absence from the spec is the only restriction the server applies; there is no --readOnly, no disabledTools, and no official install snippet that turns writes off in the server.

API-update-page-markdown is the standout write: the README says it can replace_content to overwrite a whole page, or update_content for find-and-replace, via PATCH /v1/pages/{page_id}/markdown. API-retrieve-page-markdown can pass include_transcript: true to inline meeting-note transcripts. Those two operations default Notion-Version to 2026-03-11 in the spec; most other operations default to 2025-09-03 through the shared components.parameters.notionVersion parameter. Header parameters are not exposed as tool inputs; HttpClient.buildDefaultHeaders() fills them from the spec default unless the operator already set Notion-Version in OPENAPI_MCP_HEADERS, in which case that value wins for every tool. create-a-comment is an exception in the spec itself: that operation has no parameters array and declares security: []. The axios instance is still constructed with the process’s Authorization header, but this review did not send a request, so it does not claim a runtime authentication bypass.

There is no elicitation, confirmation prompt, or client-capability check before a write. If the connected MCP client auto-approves tools, or if a human approves a session broadly, API-update-page-markdown and API-delete-a-block run as ordinary HTTP calls. destructiveHint is only a hint to the client.

Malware check

We opened the first-party tree at cf16e5c20bfbfb98ecec1227f210ef0ae3abebe5 and the corresponding files in the official 2.6.1 tarball, including: package.json, LICENSE, README.md, RELEASING.md, CLAUDE.md, Dockerfile, docker-compose.yml, .dockerignore, .gitignore (git only), package-lock.json (git only), .github/workflows/publish.yml, .github/workflows/ci.yml, .github/workflows/increment-version.yml, scripts/start-server.ts, scripts/server-options.ts, scripts/build-cli.js, scripts/notion-openapi.json, src/init-server.ts, src/openapi-mcp-server/** (parser, proxy, token, http-client, file-upload, auth leftovers, tests and snapshot), and the published bin/cli.mjs. We also read registry metadata and the two attestations.

package.json has no preinstall, install, or postinstall script. The publish workflow runs npm publish --ignore-scripts --provenance --access public. The Dockerfile runs npm ci --ignore-scripts --omit-dev in the build stage. The tarball does not contain native addons or unexpected executables beyond the shebang on bin/cli.mjs. That file is a minified esbuild ESM bundle (shebang #!/usr/bin/env node, createRequire banner as in scripts/build-cli.js). It contains Function( , which is common in bundled dependencies, and we did not find eval(. We did not line-audit the 1.38 MiB bundle, and we did not execute it.

First-party TypeScript does not spawn child processes, does not implement a general file-read or file-write tool, and does not contain obfuscated credential-harvesting logic. The only first-party file write we found is the HTTP auto-generated auth-token file in os.tmpdir() with mode 0o600. The only first-party file read of a path the process chooses, aside from loading its own OpenAPI spec, is that same token file path construction; loadOpenApiSpec() reads the already-resolved spec path. Commit #373 makes file-upload operations throw File uploads are not supported: local file access is disabled before any local stream is opened, and a unit test asserts fs.createReadStream is not called. The current OpenAPI spec has no multipart upload path, so that check is defense in depth against a future spec change.

On the HTTP listen path, the process may call https://api.notion.com/v1/users/me as described above. Tool calls go to the OpenAPI server URL, default https://api.notion.com, unless BASE_URL overrides it. We did not find first-party telemetry, analytics, crash-reporting, or undocumented product endpoints.

Direct dependencies in package.json / package-lock.json (lockfileVersion 3, lockfile also at version 2.6.1) are ordinary packages on registry.npmjs.org, including @modelcontextprotocol/sdk@1.32.2, axios@1.21.0, express@4.22.3, openapi-client-axios@7.9.1, zod@4.6.7, plus mustache@4.2.0, node-fetch@3.3.2, which@5.0.0, and yargs@17.7.3. In the first-party runtime sources we opened, mustache is imported only by leftover src/openapi-mcp-server/auth/template.ts, and we did not find imports of yargs, which, or node-fetch (the HTTP startup path uses global fetch). We scanned lockfile metadata for install / preinstall / postinstall / prepare script fields and did not see them on the entries we inspected; we did not install node_modules and we did not audit dependency implementations. package.json also has an overrides entry pinning @hono/node-server under the MCP SDK to ^2.0.5. We did not treat that as malware; we also did not verify the override’s security implications.

No malware was found in that first-party scope. That statement does not extend to running the bundle, to transitive dependencies, or to the hosted service.

Permissions and data access

The local server does not implement a second permission model. It forwards the operator’s token to the Notion API. Official Notion documentation for internal connections and connection capabilities is the authority for what that token can do.

An internal integration is a bot user in a single workspace. It does not automatically see the whole workspace. A newly created connection has no page access until someone shares pages or databases with it, from the Developer portal Content access tab or from a page’s Connections menu. Access is inherited by child pages. Access belongs to the connection, not to the person who shared the page, and it persists if that person leaves. Capabilities, configured on the integration, include Read / Update / Insert content, Read / Insert comments, user-information levels (including or omitting emails), and, for some tokens, agent capabilities. The README tells security-conscious users they “may want to further configure the Integration’s Capabilities,” and that a read-only token is created by giving only “Read content.” None of the copy-paste install snippets set that restriction.

If the token can update and insert content on shared pages, the MCP tools can create pages, overwrite page markdown, append or update or delete blocks, move pages, create comments, and create or update data sources, within that shared subtree. API-get-users / API-get-user will return whatever the integration’s user capability allows, including email addresses if that capability was granted. API-post-search searches by title over content the integration can access, which is keyword search, not the hosted semantic search described in Notion’s Remote MCP docs.

Hosted Remote Notion MCP, according to those docs, is different: OAuth (or an MCP token) acts with the signed-in user’s (or token’s) existing Notion permissions, and a workspace-owned connection can have its tool list limited by an admin. The tool FAQ lists a large hosted tool set (notion-search, notion-fetch, notion-create-pages, notion-update-page, notion-delete-pages, notion-delete-databases, connector search, calendar tools, Skills, Custom Agents, and others) that is not this package’s 24 API-derived tools. We did not verify hosted enforcement; we are repeating the public docs.

Network, file, credential, and telemetry risks

Network: the intended destination is https://api.notion.com. The operator can redirect it with BASE_URL. HTTP transport binds where the operator says it should, default loopback. Clients that can reach /mcp and satisfy its auth (or the unauthenticated-plus-DNS-rebinding case) inherit the Notion token’s power, or, with passthrough, can present their own Notion tokens. Official examples document --host 0.0.0.0. We did not test DNS rebinding, redirect following, or SSRF at runtime.

Files: no general filesystem tools. File uploads are rejected in HttpClient. The HTTP auth-token file is the only first-party secret write. The OpenAPI spec is read from disk at startup.

Commands: no first-party command-execution tool and no child_process usage in the first-party sources we opened.

Credentials: official npm, Cursor, Claude, Copilot, Zed, and Docker examples put NOTION_TOKEN or a JSON OPENAPI_MCP_HEADERS blob containing Authorization: Bearer … into client MCP config, often under a home-directory or project path that may be more broadly readable than a secret store. npx -y @notionhq/notion-mcp-server is unpinned in those snippets, so a later compromised or unexpected latest would be fetched at client start. Docker examples also use the unpinned image name mcp/notion; we did not pull that image and do not know whether it currently matches this npm pin. OPENAPI_MCP_HEADERS can also force a single Notion-Version across tools, including the markdown endpoints that the spec otherwise pins to 2026-03-11. Passthrough HTTP and --auth-token on a command line are additional credential-exposure surfaces. First-party logs we read redact passthrough Notion tokens; we did not find code that prints the raw integration token, but we did not run the process to inspect live logs.

Telemetry: none found in first-party source, aside from the optional users/me lookup on HTTP startup and ordinary console.log / console.error / console.warn operational messages (including HTTP error status codes, not response bodies, in HttpClient when NODE_ENV !== 'test').

Who it is for, and who should not enable writes / who should not use the unmaintained local server

Notion’s own docs say that for most users, the hosted Remote Notion MCP is the supported path. Connect to Notion MCP describes the open-source server as “a last resort” for clients that cannot speak remote HTTP, and even then it first suggests the mcp-remote bridge to https://mcp.notion.com/mcp. This review agrees with that framing on support grounds: the local package’s issue tracker is described as unmonitored, and the vendor may sunset the repository.

The local server can still be a deliberate choice for an operator who needs a pinned, inspectable OpenAPI-derived tool surface, who can accept integration-token (bot) semantics and manual page sharing, and who is prepared to maintain the process themselves. It is a poor default for a shared or production workspace where the operator can instead use the hosted OAuth path that, per Notion, follows each user’s existing permissions.

Do not enable writes unless the integration’s capabilities and shared pages are an acceptable blast radius for an LLM that can call API-update-page-markdown or API-delete-a-block without a server-side confirmation step. A read-only integration is the control this package actually documents; the server will still advertise the write tools, but the Notion API should reject writes. We did not run that experiment.

Do not use --unsafe-disable-auth, and do not bind HTTP to 0.0.0.0, unless you understand that you have moved from “a client-spawned stdio helper” to “a network service that can use the workspace token.” Do not use unpinned npx @notionhq/notion-mcp-server or unpinned mcp/notion if you care about remaining on the artifact this review describes. Do not stay on 2.6.0 if the reason you upgraded into the 2.6 series was the file-upload hardening; that code landed after 2.6.0 was published.

How a careful operator would pin and restrict it

  1. Pin the artifact, not the moving latest tag. Prefer @notionhq/notion-mcp-server@2.6.1 and verify the tarball SHA-256 dda051e78271e754b6c6fe6907bfb71ee28b3cd81efe8d39fb39268c3b10aec5 (or the registry integrity string above). The matching git commit is cf16e5c20bfbfb98ecec1227f210ef0ae3abebe5. There is no v2.6.1 tag to check out; use the commit. Provenance is available on the registry if you have a flow that verifies it.
  2. Create a dedicated internal integration, not a broad existing one. Grant the minimum capabilities (often only “Read content” unless you have a specific write workflow). Share only the pages or parent pages the client should see. Remember that child pages inherit access and that the bot keeps access if the sharing user leaves. Official capability documentation is linked above.
  3. Keep NOTION_TOKEN out of a world-readable mcp.json. Prefer a file with restricted permissions, a secret manager, or a wrapper that injects the environment. Do not commit the token. Do not put it on an HTTP bind that other users or processes can reach. Prefer NOTION_TOKEN over stuffing Authorization into OPENAPI_MCP_HEADERS, and do not set Notion-Version globally unless you intend to override the per-operation defaults, including 2026-03-11 for the markdown tools.
  4. Prefer stdio, spawned by a client you trust, over local HTTP. If you need HTTP, leave bearer auth on, bind to 127.0.0.1, do not use --unsafe-disable-auth, do not use --host 0.0.0.0 without an additional network control, and do not enable token passthrough unless you are deliberately building a multi-integration gateway over TLS. Treat /health as unauthenticated.
  5. Do not set BASE_URL unless you intend to change the API origin. Do not run untrusted MCP clients against a token that can write. Review the client’s tool-approval settings; this server will not prompt on its own.
  6. If what you wanted was OAuth, user-scoped permissions, admin-limited hosted tools, or a supported Notion MCP, use https://mcp.notion.com/mcp as documented and do not install this package just because an older tutorial named it.

These steps reduce risk. They do not make the server “safe,” and they are not a substitute for runtime review.

Limits of this review

This was a static review of makenotion/notion-mcp-server at cf16e5c20bfbfb98ecec1227f210ef0ae3abebe5 and of the official npm package @notionhq/notion-mcp-server@2.6.1. We read source, docs, registry metadata, and attestations, compared the tarball to the commit, and verified the downloaded hashes against the registry and against the attestation subject digest.

We did not run the server, the bundled CLI, npx, npm install scripts, Docker, or docker compose. We did not rebuild bin/cli.mjs from TypeScript. We did not connect to Notion or to https://mcp.notion.com/, and we used no Notion credential. We did not audit third-party dependency implementations or the Docker Hub image mcp/notion. We did not exercise elicitation, DNS rebinding, or HTTP passthrough at runtime. We cannot see the hosted Remote Notion MCP’s private code.

No malware was found in the first-party scope we opened. The default local tool surface is read-write whenever the integration token is. Official install examples disagree with a careful pin: they use unpinned npx and leave read-only as optional advice. Notion documents this local package as unmaintained relative to hosted Remote Notion MCP. We did not run the server. This is not a clean bill of health.

More skill reviews

← All skill reviews