Aerostack
electrical_services

Notion MCP Server — Hosted for Any AI Agent

MCP Server language Hosted shield Key Required

Pages, databases, blocks, search via Notion's official MCP

aerostack @aerostack verified
v1.0.0 MIT Updated Jun 6, 2026
robot_2

Use with AI AssistantsMCP

Connect Claude, Cursor, or any MCP-compatible client — then call tools directly

① Add This MCP Server

Paste into your AI client config — then all its tools are available instantly.

.claude/mcp.json
{
  "mcpServers": {
    "notion-workspace": {
      "url": "https://mcp.aerostack.dev/s/aerostack/mcp-notion",
      "headers": {
        "Authorization": "Bearer YOUR_AEROSTACK_TOKEN"
      }
    }
  }
}

Replace YOUR_AEROSTACK_TOKEN with your API token from the dashboard.

② Call a Tool

Ask your AI assistant to call a specific tool, or send raw JSON-RPC:

+3 more

Natural Language Prompt

“Use the search tool to search across all pages and databases shared with your integration. returns matching pages and databases by title or content

Using a Workspace?

Add this MCP to your Workspace — your team shares one token, secrets are stored securely, and every AI agent in the workspace can call it without per-user setup.

add_circleAdd to Workspace

The Notion MCP server connects AI agents to your Notion workspace — searching pages, querying databases, and creating or updating content. Hosted on Aerostack as a single URL for Claude, Cursor, ChatGPT, or any MCP agent, it lets assistants turn notes into structured data, draft docs, and keep your knowledge base current.

description Overview

Notion Workspace MCP

Official proxy MCP — Pages, databases, blocks, search via Notion's official MCP

Live endpoint: https://mcp.aerostack.dev/s/aerostack/mcp-notion


Overview

Notion Workspace is a proxy MCP server that forwards requests directly to the official Notion MCP endpoint at https://mcp.notion.com/mcp. All tools are maintained by Notion — new tools are available immediately without any Aerostack update.

Type: Proxy (hosted by Notion)
Auth: Bearer token via NOTION_API_KEY

Important: OAuth Token Required

Notion's MCP endpoint requires an OAuth access token. Internal integration tokens (ntn_...) will NOT work — you'll get a 401 "Invalid token format" error.

How to Get a Notion OAuth Token
  1. Go to notion.so/my-integrations
  2. Click "New integration" → Set type to Public (not Internal)
  3. Fill in the OAuth settings:
    • Redirect URI: Any URL you control (e.g., https://yoursite.com/callback)
    • Integration type: Public
  4. Copy your OAuth client ID and OAuth client secret
  5. Direct your browser to:
    https://api.notion.com/v1/oauth/authorize?client_id=YOUR_CLIENT_ID&response_type=code&owner=user&redirect_uri=YOUR_REDIRECT_URI
    
  6. Authorize the integration → you'll be redirected with a code parameter
  7. Exchange the code for a token:
    curl -X POST https://api.notion.com/v1/oauth/token \
      -H "Content-Type: application/json" \
      -u "YOUR_CLIENT_ID:YOUR_CLIENT_SECRET" \
      -d '{"grant_type": "authorization_code", "code": "YOUR_CODE", "redirect_uri": "YOUR_REDIRECT_URI"}'
    
  8. Copy the access_token from the response — this is your NOTION_API_KEY

See: developers.notion.com/docs/authorization

Available Tools

  • search_pages — Search across all Notion pages and databases accessible to the integration by title or content
  • get_page — Retrieve a Notion page's properties and metadata by its page ID
  • create_page — Create a new Notion page inside a parent page or database with properties and content blocks
  • update_page — Update properties of an existing Notion page such as title, status, date, or any database property
  • query_database — Query a Notion database with filters and sorting to retrieve matching page entries

Configuration

Variable Required Description How to Get
NOTION_API_KEY Yes Notion OAuth Access Token See "How to Get a Notion OAuth Token" above

Setup

Add to Aerostack Workspace
  1. Go to app.aerostack.dev/workspacesCreate Workspace
  2. Inside your workspace → Add Server → search "Notion Workspace"
  3. Enter your OAuth access token as NOTION_API_KEY — stored encrypted, injected automatically
  4. Click Test to verify the connection

Once added, every AI agent in your workspace can use Notion tools automatically.

Usage

Example Prompts
"List all my Notion items and summarize the most recent ones"
"Find anything related to [keyword] in Notion"
"Create a new entry with the following details: ..."
Direct API Call
curl -X POST https://mcp.aerostack.dev/s/aerostack/mcp-notion \
  -H 'Content-Type: application/json' \
  -H 'X-Mcp-Secret-NOTION-API-KEY: your-oauth-token' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_pages","arguments":{"query":"test"}}}'

License

MIT

terminal Tools (9)

Available tools on this MCP server. Each tool can be called directly from any AI agent.

terminal
search #1

Search across all pages and databases shared with your integration. Returns matching pages and databases by title or content.

terminal
get_page #2

Get a Notion page with all its properties (title, status, dates, tags, etc.). Does NOT return page body content — use get_page_content for that.

terminal
create_page #3

Create a new page in a Notion database with properties and optional body content blocks.

terminal
update_page #4

Update properties on an existing Notion page. Only include the properties you want to change — others remain untouched. Can also archive a page.

terminal
query_database #5

Query a Notion database with optional filters and sorts. Returns matching pages with their properties.

terminal
get_database #6

Get a database schema — all property names, types, and options (select choices, relation targets, etc.). Use this to understand a database structure before querying or creating pages.

terminal
get_page_content #7

Read the body content of a Notion page — all blocks (paragraphs, headings, lists, code, etc.). Returns both structured blocks and a plain text version.

terminal
append_blocks #8

Append content blocks to the end of a Notion page. Use this to add text, headings, lists, or other content to an existing page.

terminal
list_databases #9

List all databases shared with your integration. Useful to discover available databases before querying.

Details

upgrade Version 1.0.0
gavel License MIT
wifi Transport http-sse
lock Access Key Required
category Category Database
terminal Tools 9

language Live Endpoint

https://mcp.aerostack.dev/s/aerostack/mcp-notion

Sub-50ms globally · Zero cold start

Publisher

aerostack
@aerostack verified

Pre-built functions for the most common MCP tool patterns. Clone, extend, and deploy.

Tags

Browse more servers

Frequently asked questions

What is the Notion MCP server and what can it do? +

The Notion MCP server is hosted on Aerostack and exposes these tools to your AI agent: `_ping`, `search`, `get_page`, `create_page`, `update_page`. You get one hosted URL — no self-hosting — that works from Claude, Cursor, ChatGPT, Gemini, VS Code, or any MCP-compatible client, and you can share it with your team or combine it with other MCP servers in a workspace.

Is the Notion MCP server hosted, or do I have to run it myself? +

It's hosted on Aerostack's edge infrastructure — you don't deploy or maintain anything. Add it to a workspace and you get one authenticated URL, with secrets encrypted, that any AI agent or editor can connect to. Use it solo or share the same URL across your whole team.

Which AI agents and editors can use the Notion MCP server? +

Any MCP client: Claude and Claude Code, Cursor, ChatGPT, Gemini, Windsurf, Cline, VS Code, and custom agents. Because it's one hosted URL, the same Notion MCP server works everywhere — and you can compose it with other MCP servers, skills, and functions behind a single workspace URL.

How do I install the Notion MCP server in Claude Desktop? +

Add the following to your Claude Desktop config (`claude_desktop_config.json`): ```json { "mcpServers": { "@aerostack/mcp-notion": { "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-notion"] } } } ``` Then restart Claude Desktop and the tools will appear automatically.

How do I use the Notion MCP server in Cursor? +

In Cursor, open **Settings → MCP** and add: ```json { "name": "@aerostack/mcp-notion", "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-notion"] } ``` Save and reload Cursor. The MCP tools will be available in Agent mode.

Does Notion MCP require authentication? +

Yes. Notion uses Bearer token authentication. Set your token as a workspace secret in the Aerostack dashboard.