Official Notion MCP server for workspace integration
## Notion MCP Server: All-in-One Workspace The **Notion MCP Server** integrates Notion's powerful workspace into Google Antigravity, enabling developers to manage notes, databases, and documentation through AI-assisted knowledge workflows. ### Why Notion MCP? - **Blocks System**: Build anything with flexible, nested blocks - **Databases**: Powerful databases with views, filters, and relations - **Templates**: Start fast with templates for any use case - **Collaboration**: Real-time editing with team members - **API Access**: Full programmatic access to all content ### Key Features #### 1. Page and Database Operations ```javascript // Create page const page = await notion.createPage({ parent: { database_id: "database_123" }, properties: { "Name": { title: [{ text: { content: "API Documentation" } }] }, "Status": { select: { name: "In Progress" } }, "Tags": { multi_select: [{ name: "Backend" }, { name: "API" }] } }, children: [ { object: "block", type: "heading_1", heading_1: { rich_text: [{ text: { content: "Overview" } }] } }, { object: "block", type: "paragraph", paragraph: { rich_text: [{ text: { content: "This document..." } }] } } ] }); // Query database const results = await notion.queryDatabase({ database_id: "database_123", filter: { property: "Status", select: { equals: "In Progress" } }, sorts: [{ property: "Created", direction: "descending" }] }); ``` #### 2. Block Management ```javascript // Append blocks to page await notion.appendBlocks({ block_id: page.id, children: [ { type: "code", code: { rich_text: [{ text: { content: "const api = new API();" } }], language: "javascript" } } ] }); // Search across workspace const searchResults = await notion.search({ query: "authentication", filter: { property: "object", value: "page" } }); ``` ### Configuration ```json { "mcpServers": { "notion": { "command": "npx", "args": ["-y", "@anthropic/mcp-notion"], "env": { "NOTION_API_KEY": "your-integration-token" } } } } ``` ### Use Cases **Documentation**: Build and maintain technical documentation with databases. **Project Wiki**: Create team wikis with linked pages and databases. **Knowledge Base**: Organize institutional knowledge with search and relations. The Notion MCP Server brings powerful workspace capabilities to your development workflow.
{
"mcpServers": {
"notion": {
"mcpServers": {
"notionApi": {
"env": {
"NOTION_TOKEN": "ntn_YOUR_TOKEN"
},
"args": [
"-y",
"@notionhq/notion-mcp-server"
],
"command": "npx"
}
}
}
}
}