MCP server, by Notion (makenotion)
Notion MCP Server
Notion MCP server for the Notion API. Notion recommends the hosted Remote Notion MCP over this self-hosted build.
Quick facts
What it does
This project implements an MCP server for the Notion API. The README recommends Remote Notion MCP, the official hosted server, and describes this repository as a separate self-hosted implementation that is no longer actively maintained or supported. Per the README comparison table, Remote Notion MCP searches a workspace and connected apps semantically, reads and edits pages in Markdown, and uses OAuth while respecting existing Notion permissions.
The local server is at version 2.0.0 and migrates to Notion API 2025-09-03, with data sources as the primary abstraction for databases, across 22 tools. Two page-content tools, retrieve-page-markdown and update-page-markdown, work with page content as enhanced Markdown instead of block JSON. Installation requires an internal integration in Notion, content connected to that integration, and the MCP config added to the client.
Configuration
npm: run npx -y @notionhq/notion-mcp-server with NOTION_TOKEN set, after creating an internal integration at notion.so/profile/integrations and connecting pages or databases to it. Docker: use the official image mcp/notion with NOTION_TOKEN set. Transports: STDIO by default, plus Streamable HTTP.
{"mcpServers":{"notionApi":{"command":"npx","args":["-y","@notionhq/notion-mcp-server"],"env":{"NOTION_TOKEN":"ntn_****"}}}}Source: https://github.com/makenotion/notion-mcp-server. Placeholders only. Replace them in your own environment, and never commit real keys to a repository.
| Environment variable | Required | Purpose |
|---|---|---|
NOTION_TOKEN | Yes | Internal integration token. Recommended configuration method for npm and Docker. |
OPENAPI_MCP_HEADERS | Optional | Advanced option: a JSON string with the Authorization Bearer token and Notion-Version header. When set, its Notion-Version takes precedence for every tool. |
Tools and features on record
query-data-source Config checked
Queries a data source with filters and sorts. New in v2.0.0, replacing post-database-query.
retrieve-a-data-source Config checked
Returns metadata and schema for a data source. New in v2.0.0.
create-a-data-source Config checked
Creates a new data source. New in v2.0.0, replacing create-a-database.
update-a-data-source Config checked
Updates data source properties. New in v2.0.0, replacing update-a-database.
retrieve-page-markdown Config checked
Reads full page content as Markdown. Set include_transcript to inline meeting-note transcripts.
update-page-markdown Config checked
Edits page content as Markdown. Prefer replace_content to overwrite, or update_content for targeted find-and-replace edits.
move-page Config checked
Moves a page to a different parent location. New in v2.0.0.
Security notes
- The README warns of a non-zero risk to workspace data when it is exposed to LLMs, even though the exposed Notion API scope is limited. For example, databases cannot be deleted through MCP. Security-conscious users can further restrict the integration capabilities, for example with a read-only token limited to Read content access.
- Only pages and databases connected to the integration are accessible. Grant access from the integration Access tab or through Connect to integration on each page.
- The README states this local repository is no longer actively maintained or supported, that issues and PRs are not actively monitored, and that Notion is prioritizing Remote Notion MCP. The local server may be sunset in the future.
An MCP server runs with the permissions of the process you start it from. Scope credentials to the narrowest access the job needs, and review what the client will send before connecting anything sensitive.
Sources and freshness
- Official source: https://github.com/makenotion/notion-mcp-server
- Repository: https://github.com/makenotion/notion-mcp-server
Checked 2026-10-29. Config-checked means the configuration and feature list trace to the official source above; it does not mean AgentsUse ran the server. Send corrections through the contact page. Back to the MCP server index.