N

Notion MCP Server

Notion's official MCP server for managing workspace pages, databases, and content directly from Claude Code. Connect your development workflow to project documentation, wikis, and task databases in Notion for seamless context sharing.

MCPCommunitydevelopmentv1.0.0MIT
0 views0 copies

MCP Server Configuration

{ "mcpServers": { "notion": { "command": "npx", "args": ["-y", "@notionhq/notion-mcp-server"], "env": { "NOTION_API_KEY": "<your-integration-token>", "OPENAPI_MCP_HEADERS": "{\"Authorization\": \"Bearer <your-integration-token>\", \"Notion-Version\": \"2022-06-28\"}" } } } }

Available Tools

ToolDescription
searchSearch across all pages and databases
get_pageRetrieve a page and its properties
create_pageCreate a new page in a database or as a subpage
update_pageUpdate page properties
get_block_childrenGet content blocks of a page
append_block_childrenAdd content to a page
query_databaseQuery a database with filters and sorts
create_databaseCreate a new database
get_databaseGet database schema and properties
list_usersList workspace members
create_commentAdd a comment to a page or discussion

Setup

  1. Create an integration at https://www.notion.so/my-integrations
  2. Copy the "Internal Integration Token" (starts with ntn_)
  3. Share pages/databases with your integration:
    • Open the page in Notion
    • Click "..." menu > "Connections" > Add your integration
  4. Replace <your-integration-token> in both places in the config

Usage Examples

  • "Search Notion for our API design decisions"
  • "Add today's meeting notes to the Engineering Wiki"
  • "Query the sprint backlog database for unfinished tasks"
  • "Create a new page documenting the auth flow changes"
  • "Update the deployment checklist with the new steps"

Security Notes

  • Integration tokens grant read/write access to shared pages only
  • Pages must be explicitly shared with the integration
  • Store tokens in .claude/settings.local.json (gitignored)
  • The integration can only access content you explicitly share with it
  • Review write operations before approving to prevent unwanted edits
Community

Reviews

Write a review

No reviews yet. Be the first to review this template!

Similar Templates