Markdown-first MCP server for Notion API with 9 composite tools and 39+ actions.
mcp-name: io.github.n24q02m/better-notion-mcp
Markdown-first Notion API server for AI agents -- 9 composite tools replacing 28+ endpoint calls
<a href="https://glama.ai/mcp/servers/n24q02m/better-notion-mcp"> </a>help toolVia marketplace (includes skills: /organize-database, /bulk-update):
/plugin marketplace add n24q02m/claude-plugins
/plugin install better-notion-mcp@claude-pluginsOr install this plugin only:
/plugin marketplace add n24q02m/better-notion-mcp
/plugin install better-notion-mcpPlugin uses remote OAuth — no NOTION_TOKEN needed. Browser opens for Notion authorization on first use.
Connect directly via URL with OAuth authentication. Your MCP client handles the OAuth flow automatically.
{
"mcpServers": {
"better-notion": {
"type": "http",
"url": "https://better-notion-mcp.n24q02m.com/mcp"
}
}
}Get your token: https://www.notion.so/my-integrations -> Create integration -> Copy token -> Share pages
Set NOTION_TOKEN in ~/.claude/settings.local.json or your shell profile:
export NOTION_TOKEN="ntn_..."Then add to your MCP client config:
{
"mcpServers": {
"better-notion": {
"command": "npx",
"args": ["-y", "@n24q02m/better-notion-mcp@latest"]
}
}
}Other runners: bun x, pnpm dlx, yarn dlx also work.
// Cursor (~/.cursor/mcp.json), Windsurf, Cline, Amp, OpenCode
{
"mcpServers": {
"better-notion": {
"command": "npx",
"args": ["-y", "@n24q02m/better-notion-mcp@latest"]
}
}
}# Codex (~/.codex/config.toml)
[mcp_servers.better-notion]
command = "npx"
args = ["-y", "@n24q02m/better-notion-mcp@latest"]{
"mcpServers": {
"better-notion": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"-e", "NOTION_TOKEN",
"n24q02m/better-notion-mcp:latest"
]
}
}
}You can self-host the remote server with your own Notion OAuth app.
Prerequisites:
https://your-domain.com/callbackclient_id and client_secretdocker run -p 8080:8080 \
-e TRANSPORT_MODE=http \
-e PUBLIC_URL=https://your-domain.com \
-e NOTION_OAUTH_CLIENT_ID=your-client-id \
-e NOTION_OAUTH_CLIENT_SECRET=your-client-secret \
-e DCR_SERVER_SECRET=$(openssl rand -hex 32) \
n24q02m/better-notion-mcp:latest| Tool | Actions | Description |
|---|---|---|
pages | create, get, get_property, update, move, archive, restore, duplicate | Create, read, update, and organize pages |
databases | create, get, query, create_page, update_page, delete_page, create_data_source, update_data_source, update_database, list_templates | Database CRUD and page management within databases |
blocks | get, children, append, update, delete | Read and manipulate block content |
users | list, get, me, from_workspace | List and retrieve user information |
workspace | info, search | Workspace metadata and cross-workspace search |
comments | list, get, create | Page and block comments |
content_convert | markdown-to-blocks, blocks-to-markdown | Convert between Markdown and Notion blocks |
file_uploads | create, send, complete, retrieve, list | Upload files to Notion |
help | - | Get full documentation for any tool |
| URI | Description |
|---|---|
notion://docs/pages | Page operations reference |
notion://docs/databases | Database operations reference |
notion://docs/blocks | Block operations reference |
notion://docs/users | User operations reference |
notion://docs/workspace | Workspace operations reference |
notion://docs/comments | Comment operations reference |
notion://docs/content_convert | Content conversion reference |
notion://docs/file_uploads | File upload reference |
| Variable | Required | Default | Description |
|---|---|---|---|
NOTION_TOKEN | Yes (stdio) | - | Notion integration token |
TRANSPORT_MODE | No | stdio | Set to http for remote mode |
PUBLIC_URL | Yes (http) | - | Server's public URL for OAuth redirects |
NOTION_OAUTH_CLIENT_ID | Yes (http) | - | Notion Public Integration client ID |
NOTION_OAUTH_CLIENT_SECRET | Yes (http) | - | Notion Public Integration client secret |
DCR_SERVER_SECRET | Yes (http) | - | HMAC secret for stateless client registration |
PORT | No | 8080 | Server port |
git clone https://github.com/n24q02m/better-notion-mcp.git
cd better-notion-mcp
bun install
bun run dev| Server | Description |
|---|---|
| wet-mcp | Web search, content extraction, and documentation indexing |
| mnemo-mcp | Persistent AI memory with hybrid search and cross-machine sync |
| better-email-mcp | Email (IMAP/SMTP) with multi-account and auto-discovery |
| better-godot-mcp | Godot Engine 4.x with 18 tools for scenes, scripts, and shaders |
| better-telegram-mcp | Telegram dual-mode (Bot API + MTProto) with 6 composite tools |
| better-code-review-graph | Knowledge graph for token-efficient code reviews |
See CONTRIBUTING.md.
MIT -- See LICENSE.