MCP.so
登录
N

Notion

@ContexaAI

关于 Notion

暂无概览

基本信息

分类

记忆与知识

传输方式

stdio

发布者

ContexaAI

提交者

Akshay Galande

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "notionApi": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "-e",
        "OPENAPI_MCP_HEADERS",
        "mcp/notion"
      ],
      "env": {
        "OPENAPI_MCP_HEADERS": "{\"Authorization\":\"Bearer ntn_****\",\"Notion-Version\":\"2022-06-28\"}"
      }
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Notion?

This project implements an MCP server for the Notion API. It is a fork of the official Notion MCP server that replaces the Stdio transport with Server-Sent Events (SSE). It allows AI assistants to interact with Notion pages, databases, and comments using natural language commands.

How to use Notion?

Install and configure the server by setting up an internal Notion Integration, copying the integration token, and adding the MCP configuration to your client (e.g., .cursor/mcp.json or claude_desktop_config.json). You can run it via npx or Docker, providing the token and Notion version in the OPENAPI_MCP_HEADERS environment variable. Then instruct your AI to perform actions like commenting or creating pages.

Key features of Notion

  • MCP server for the Notion API
  • Supports searching, reading, commenting, and creating pages
  • Uses Server-Sent Events (SSE) transport (fork modification)
  • Installable via npm or Docker
  • Read-only token option for security-conscious users
  • Designed for use with AI assistants like Claude

Use cases of Notion

  • Comment "Hello MCP" on a specific page
  • Create a new page titled "Notion MCP" under a parent page
  • Retrieve the content of a page by its content ID
  • Search for pages and databases using natural language
  • Add content to existing pages via AI instructions

FAQ from Notion

What is the main modification of this fork?

The primary modification is the replacement of the transport mechanism from Stdio to Server-Sent Events (SSE).

How do I get a Notion Integration token?

Go to https://www.notion.so/profile/integrations, create a new internal integration, and copy the token from the Configuration tab.

Can this server delete databases?

No. The scope of the Notion API exposed is limited; for example, you will not be able to delete databases via MCP. There is a non-zero risk to workspace data, so consider creating a read-only integration token.

How do I configure the server for my client?

Add the appropriate block to your client’s config file (e.g., .cursor/mcp.json or claude_desktop_config.json) using either npx or Docker, with your integration token and Notion version in the OPENAPI_MCP_HEADERS variable.

What runtime does the server require?

It requires Node.js (for npx) or Docker. The Docker image can be pulled from Docker Hub or built locally using the provided docker-compose file.

评论

记忆与知识 分类下的更多 MCP 服务器