Aerostack
Aerostack
electrical_services

Notion Workspace

MCP Server Hosted Key Required

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

v1.0.0MITUpdated Jan 21, 1970
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_desktop_config.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:

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

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

VariableRequiredDescriptionHow to Get
NOTION_API_KEYYesNotion OAuth Access TokenSee "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

Details

upgradeVersion1.0.0
gavelLicenseMIT
wifiTransporthttp-sse
lockAccessKey Required
categoryCategorydatabase
terminalTools

Live Endpoint

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

Sub-50ms globally · Zero cold start

Tags

Browse more servers

Similar MCP Servers

View all →