cs-ai-notion-mcp
Provides full CRUD capabilities over Notion pages, databases, and content blocks, enabling management of Notion content programmatically.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@cs-ai-notion-mcpCreate a new task in my Tasks database"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
cs-ai-notion-mcp
A custom Model Context Protocol (MCP) server for Notion providing full CRUD (Create, Read, Update, Delete) capabilities over Notion pages, databases, and content blocks. Built using FastMCP (@modelcontextprotocol/sdk) and the official Notion JavaScript SDK (@notionhq/client).
Features
🔍
search_pages: Search pages or databases in your Notion workspace.📖
get_page: Retrieve metadata and properties for a specific page.📝
create_page: Create new pages under existing pages or database entries.✏️
update_page: Update page properties or toggle archive status.🧱
get_page_blocks: Read child content blocks (paragraphs, lists, headings) from a page.➕
append_blocks: Append new content blocks to a page or block.🗑️
delete_page: Archive/delete a page from Notion.
Related MCP server: Notion MCP Server
Setup & Installation
1. Prerequisites
Node.js >= 18
A Notion Integration Token (
NOTION_API_KEY) created at https://www.notion.so/my-integrations.Share target pages or databases with your Notion integration in Notion UI.
2. Installation
cd /Users/xavier.villarroel/GitHub/cs-ai-notion-mcp
npm install3. Environment Configuration
Copy .env.example to .env and set your key:
cp .env.example .envEdit .env:
NOTION_API_KEY=secret_your_actual_notion_api_tokenRunning the Server
Local Execution (stdio)
npm startTesting with MCP Inspector
npx @modelcontextprotocol/inspector node index.mjsAdding to MCP Config (e.g. Claude Desktop or Antigravity)
{
"mcpServers": {
"notion": {
"command": "node",
"args": ["/Users/xavier.villarroel/GitHub/cs-ai-notion-mcp/index.mjs"],
"env": {
"NOTION_API_KEY": "secret_your_actual_notion_api_token"
}
}
}
}Code Architecture
The codebase follows strict project standards with 4 clearly delineated sections in index.mjs:
Import Section: Module dependencies (
@modelcontextprotocol/sdk,@notionhq/client,zod,dotenv).Functions Section: Low-level Notion API operations.
Handler Section: MCP tool definitions and stdio server initialization.
Comments Section: Exhaustive documentation for LLM code comprehension and testing.
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables interaction with Notion workspaces through the Notion API. Supports creating, retrieving, and updating Notion pages and their properties, allowing users to manage Notion content through natural language.Last updated4
- Alicense-qualityDmaintenanceEnables interaction with Notion workspaces through the Notion API, allowing users to search, read, comment on, and create pages and databases using natural language commands.Last updated194,217MIT
- Alicense-quality-maintenanceEnables AI workflows to integrate with Notion workspaces, supporting page and database creation, queries with filters and sorting, content updates, and workspace-wide search operations.Last updated
- Alicense-qualityDmaintenanceEnables AI agents to interact with Notion workspaces through the Notion API, allowing them to search, read, create, update pages and databases, and manage comments using natural language commands.Last updated194,217MIT
Related MCP Connectors
MCP-native open-source Notion alternative: read & write pages, databases and kanban boards.
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
Streamline your Attio workflows using natural language to search, create, update, and organize com…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/trilogy-group/cs-ai-notion-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server