MCP.so
登录

Notion MCP Server

@flyer103

基本信息

分类

记忆与知识

最近更新

许可证

Apache-2.0 license

传输方式

stdio

作者

flyer103

关于 Notion MCP Server

A simple Notion MCP Server

Notion MCP Server 配置

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

{
  "mcpServers": {
    "notion-mcp-flyer103": {
      "command": "uv",
      "args": [
        "venv"
      ]
    }
  }
}

Notion MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

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

概览

What is Notion MCP Server?

Notion MCP Server implements the Model Context Protocol to interface with Notion’s API, enabling AI models to read and write Notion documents and data. It is built with the official MCP Python SDK and is intended for use with MCP‑compatible LLM clients like Claude for Desktop.

How to use Notion MCP Server?

Clone the repository, create a virtual environment, and install dependencies with uv. Obtain a Notion API key from the Notion integrations page and set it as the NOTION_API_KEY environment variable. Run python -m notion_mcp.server (stdio) or use --transport sse for SSE. For Claude for Desktop, add a claude_desktop_config.json file pointing to the uv executable and the server directory.

Key features of Notion MCP Server

  • Supports 14 tools for pages, databases, blocks, comments, and search.
  • Two transport methods: stdio (default) and SSE.
  • Configured via a single environment variable (NOTION_API_KEY).
  • Requires Python 3.12+ and the uv package manager.
  • Seamlessly integrates with Claude for Desktop through a JSON config file.

Use cases of Notion MCP Server

  • Create, read, and update Notion pages via an AI assistant.
  • Query and create Notion databases programmatically.
  • Append, update, or delete blocks within a page.
  • Search across a Notion workspace for objects.
  • Add comments to Notion pages through natural language requests.

常见问题

1

How do I get a Notion API key?

Go to [https://www.notion.so/my-integrations](https://www.notion.so/my-integrations), create a new integration, and copy the API key. Then share the relevant Notion pages/databases with the integration by adding it as a connection.

2

What transport methods are supported?

The server supports standard input/output (stdio) for local clients and Server‑Sent Events (SSE) for web‑based integrations. Use the `--transport` flag to choose between them.

3

What are the runtime requirements?

Python 3.12 or higher and the `uv` package manager are required. All dependencies are installed via `uv pip install -e ".[dev]"`.

4

How do I integrate it with Claude for Desktop?

Create a `claude_desktop_config.json` file in the Claude configuration directory with the absolute path to `uv`, the server directory, and the `NOTION_API_KEY` environment variable. See the README for exact syntax and platform‑specific paths.

5

I see a “spawn uv ENOENT” error. How do I fix it?

Claude Desktop cannot find the `uv` executable. Locate the full path using `which uv` (macOS/Linux) or `where uv` (Windows) and use that absolute path in the `command` field of the configuration file.

评论

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