# @n24q02m/notion [Health: Active]

**Category:** 🏢 Workplace & Productivity  
**Repository:** https://github.com/n24q02m/notion  
**GitHub Stars:** 38  
**npm Downloads (last month):** 5574  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/n24q02m-notion

## Description
Markdown-first Notion for AI agents -- pages, databases, blocks, and comments in one call.

## Tools
Capabilities this server exposes over MCP:

- **pages** — notion pages get --page-id <page-id> --json
- **databases** — notion databases query --database-id <db-id> --limit 5
- **blocks** — notion blocks append --block-id <block-id> --content '## Update'
- **users** — notion users me
- **workspace** — notion workspace search --query roadmap
- **comments** — notion comments list --page-id <page-id>
- **content_convert** — notion content_convert --direction markdown-to-blocks --content '# Title'
- **file_uploads** — notion file_uploads list --limit 10
- **help** — notion help databases
- **config** — notion config-tool status

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "notion": {
    "command": "npx",
    "args": ["--yes","@n24q02m/notion@latest"],
    "env": {
      "NOTION_TOKEN": "",
      "MCP_AUTH_MODE": ""
    }
  }
}
```

**Requires environment variables:** `NOTION_TOKEN`, `MCP_AUTH_MODE` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What @n24q02m/notion does

@n24q02m/notion exposes Notion workspace operations through the Model Context Protocol. Its interface is designed around Markdown input and output, making page content easier for an agent or developer to inspect than raw Notion block structures. The covered workspace objects include pages, databases, blocks, and comments.

The package groups functionality into eight composite MCP tools containing 39 actions. It also provides `config` and `help` capabilities. Composite operations can combine work that would otherwise require multiple Notion API calls, while bulk operations handle repeated work without requiring the caller to manage each request manually.

## How it works

The package supports two transports:

- **stdio**, which is the default for local MCP client integrations
- **HTTP**, started with the `--http` option

In stdio mode, an MCP client launches the `notion` command and communicates through standard input and output. The server authenticates to Notion with an integration token. The package is available through `npx`, as a Docker image for stdio use, or as a directly installed command-line package.

HTTP authentication is selected with `MCP_AUTH_MODE`. The supported modes are `multi`, which is the default, `token`, and `no-auth`. The HTTP form is suitable when the MCP endpoint needs to be reached remotely rather than launched inside each client.

The tool layer includes automatic pagination and bulk handling. Tool actions can also be invoked from the command line, using the same handlers as their MCP counterparts. Command-line inputs use the tool schemas, with kebab-case flags, optional JSON output, and support for repeated or comma-separated array values.

## Setup and configuration

A local setup requires Node.js 24 or newer and a Notion integration token beginning with `ntn_`. Create the token through Notion's integrations settings, then add the package to an MCP client's server configuration:

```json
{
  "mcpServers": {
    "notion": {
      "command": "npx",
      "args": ["--yes", "@n24q02m/notion@latest"],
      "env": { "NOTION_TOKEN": "ntn_your_token_here" }
    }
  }
}
```

The same package can be started directly with `NOTION_TOKEN` set in the environment. For containerized stdio deployments, the published Docker image accepts the token with `-e NOTION_TOKEN=...` and must be run interactively so the MCP client can communicate with it.

The command-line package also includes `auth`, `config`, `status`, `logout`, `doctor`, and `token` commands. The legacy `better-notion-mcp` command remains available as an alias, while the package name is `@n24q02m/notion`.

## Tools and capabilities

The server provides:

- Markdown-oriented page content input and output
- Page operations
- Database operations
- Block operations
- Comment operations
- Eight composite tools with 39 actions
- Automatic pagination for multi-page API results
- Bulk operations for repeated changes
- A `help` capability for on-demand tool guidance
- A `config` capability for configuration-related operations

The repository's client examples cover Claude Code, Codex CLI, OpenCode, Cursor, Windsurf, and Gemini CLI. Any MCP client that supports the relevant stdio or HTTP transport can use the corresponding server configuration.

## Limitations and notes

The server depends on the permissions granted to the Notion integration token. Content must be accessible to that integration for the related operations to work. Local stdio mode requires the token in the environment, while HTTP deployments require choosing an authentication mode and configuring the endpoint accordingly.

The tool interface is optimized around Markdown rather than exposing every Notion API detail as a separate low-level operation. Agents that need direct control over raw API request construction may find the composite abstraction less suitable. The package also requires Node.js 24 or newer when run through its Node-based installation path.

_Full upstream README: https://allmcps.com/mcp/n24q02m-notion/readme_

