MCP.so
登录

Notion Export MCP Server

@syucream

基本信息

分类

记忆与知识

许可证

MIT

传输方式

stdio

作者

syucream

关于 Notion Export MCP Server

A MCP server that accesses to Notion unofficial API to export pages.

Notion Export MCP Server 配置

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

{
  "mcpServers": {
    "notion-export-mcp-server": {
      "command": "npx",
      "args": [
        "notion-export-mcp-server"
      ]
    }
  }
}

Notion Export MCP Server 工具

工具列表暂未提供

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

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is notion-export-mcp-server?

notion-export-mcp-server is a Model Context Protocol (MCP) server that accesses Notion’s unofficial API to export pages, providing a standardized interface for AI assistants to interact with exported Notion page data.

How to use notion-export-mcp-server?

Install via npm (npm install notion-export-mcp-server), set the required environment variables NOTION_TOKEN_V2 and NOTION_FILE_TOKEN, then start the server with npx notion-export-mcp-server. Configure your MCP client with the command and environment variables shown in the README. The server exposes the tool notion_export_get_result to retrieve exported markdown.

Key features of notion-export-mcp-server

  • Exports Notion pages via the unofficial API
  • Returns page content as markdown text
  • Works with any MCP-compatible client
  • Uses cookies (token_v2, file_token) for authentication
  • Relies on Notion’s internal export/download feature

Use cases of notion-export-mcp-server

  • Export Notion pages for AI assistant consumption
  • Integrate Notion document content into automated workflows
  • Provide markdown access to Notion data without a paid API key
  • Use within a MCP host for document retrieval tasks

常见问题

1

How does notion-export-mcp-server differ from the official Notion API?

This server uses Notion’s internal, unofficial API for export, which does not require an official API key but relies on browser cookies. The official API may offer more features but is subject to different rate limits and authentication.

2

What are the runtime dependencies?

The server is a Node.js package and requires Node.js to be installed. It also needs the cookies `token_v2` and `file_token` from a logged-in Notion session.

3

How do I obtain the required tokens?

Log into notion.so, open browser developer tools, go to Storage > Cookies, and copy the values of `token_v2` and `file_token`. If `file_token` is missing, export a file manually from Notion first. These cookies are valid for about one year.

4

Where does the exported data come from?

The server downloads and extracts ZIP files from Notion’s internal export feature. It does not generate any markup itself; it simply retrieves the exported content.

5

Is the server stable?

The server relies on Notion’s internal API, which may break anytime. While the export feature has been relatively stable, there are no guarantees of ongoing availability.

评论

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