Notion MCP Server

Productivitystdiov1.5.0
代码仓库

Official Notion MCP server for workspace integration. Enables AI agents to search pages, read content, create new pages, update existing pages, and manage databases in Notion. Supports rich text content, database queries with filters, and page property management for seamless knowledge base interaction from AI-powered tools.

连接

将此配置添加到 .claude/mcp.json

{
  "mcpServers": {
    "notion": {
      "command": "npx",
      "args": [
        "-y",
        "@notionhq/notion-mcp-server"
      ],
      "env": {
        "NOTION_API_KEY": "<YOUR_NOTION_API_KEY>"
      }
    }
  }
}

工具 (4)

search_pages

Search for pages in the Notion workspace by title or content.

{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "description": "Search query string"
    },
    "filter": {
      "type": "object",
      "properties": {
        "value": {
          "type": "string"
        },
        "property": {
          "type": "string"
        }
      },
      "description": "Optional filter criteria"
    }
  }
}

read_page

Read the content of a Notion page by its ID.

{
  "type": "object",
  "required": [
    "pageId"
  ],
  "properties": {
    "pageId": {
      "type": "string",
      "description": "Notion page ID"
    }
  }
}

create_page

Create a new page in a Notion database or as a child of another page.

{
  "type": "object",
  "required": [
    "parentId",
    "title"
  ],
  "properties": {
    "title": {
      "type": "string",
      "description": "Page title"
    },
    "content": {
      "type": "string",
      "description": "Page content in Markdown"
    },
    "parentId": {
      "type": "string",
      "description": "Parent page or database ID"
    },
    "properties": {
      "type": "object",
      "description": "Database properties to set"
    }
  }
}

update_page

Update an existing Notion page's content or properties.

{
  "type": "object",
  "required": [
    "pageId"
  ],
  "properties": {
    "pageId": {
      "type": "string",
      "description": "Page ID to update"
    },
    "content": {
      "type": "string",
      "description": "New content in Markdown"
    },
    "properties": {
      "type": "object",
      "description": "Properties to update"
    }
  }
}

资源

此服务器未提供任何资源。

提示词

此服务器未提供任何提示词。

服务器信息

作者
Notion (@makenotion)
代码仓库
https://github.com/makenotion/notion-mcp-server
许可证
MIT
版本
1.5.0
星标
4,360
最后更新
2026年5月25日