systemprompt-mcp-notion
Ejb503/systemprompt-mcp-notion · 26 stars · TypeScript
MCP server This an Model Context Protocol (MCP) server that integrates Notion into your AI workflows. This server enables seamless access to Notion through MCP, allowing AI agents to interact with pages, databases, and comments.
Install
The repo has no one-line install. Follow its README.
Files
systemprompt-mcp-notion
SystemPrompt MCP Notion Server
A high-performance Model Context Protocol (MCP) server that seamlessly integrates Notion into your AI workflows. This server enables AI agents to interact with Notion pages and databases through a standardized protocol. This server supports and requires MCP Sampling, which is required to the MCP to create and update Notion pages.
A compatible MCP client is available here.
Server Capabilities
const serverCapabilities: { capabilities: ServerCapabilities } = {
capabilities: {
resources: {
listChanged: true,
},
tools: {},
prompts: {
listChanged: true,
},
sampling: {},
},
};
Key Features
-
📝 Comprehensive Content Management
- Create and update pages with rich text formatting
- Search across your Notion workspace
-
🛠 Developer-Friendly
- Extensive test coverage with Jest
- TypeScript support
- Comprehensive error handling
- Detailed logging and debugging tools
Prerequisites
Before using this server, you'll need:
-
Systemprompt API Key (Free)
- Sign up at systemprompt.io/console
- Create a new API key in your dashboard
-
Notion Account and Workspace
- Active Notion account
- Workspace with content you want to access
-
Notion Integration
- Create at notion.so/my-integrations
- Required capabilities:
- Read/Update/Insert content
- Database management
- Search functionality
-
MCP-Compatible Client
- Systemprompt MCP Client
- Any other MCP-compatible client
Quick Start
-
Installation
Installing via Smithery
To install systemprompt-mcp-notion for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install systemprompt-mcp-notion --client claude
npm install systemprompt-mcp-notion
-
Configuration Create a
.envfile:SYSTEMPROMPT_API_KEY=your_systemprompt_api_key NOTION_API_KEY=your_notion_integration_token
-
MCP Configuration Add the following to your MCP configuration JSON:
{ "mcpServers": { "notion": { "command": "npx", "args": ["systemprompt-mcp-notion"], "env": { "SYSTEMPROMPT_API_KEY": "your_systemprompt_api_key", "NOTION_API_KEY": "your_notion_integration_token" } } } }Alternatively, if you've installed the package locally:
{ "mcpServers": { "notion": { "command": "node", "args": ["./node_modules/systemprompt-mcp-notion/build/index.js"], "env": { "SYSTEMPROMPT_API_KEY": "your_systemprompt_api_key", "NOTION_API_KEY": "your_notion_integration_token" } } } }
Development
Setup
-
Clone the repository:
git clone https://github.com/systemprompt-io/systemprompt-mcp-notion.git cd systemprompt-mcp-notion
-
Install dependencies:
npm install
-
Set up environment:
cp .env.example .env # Edit .env with your API keys
Testing
We maintain high test coverage using Jest:
# Run all tests npm test # Watch mode for development npm run test:watch # Generate coverage report npm run test:coverage # Test Notion API connection npm run test:notion
Facts
- Kind
- MCP server
- Group
- Uncategorized
- Stars
- 26
- Language
- TypeScript
- Last push
- 2025-02-18
- Forks
- 10
- Homepage
- systemprompt.io
- Topics
- ai, mcp, mcp-server, systemprompt
- 1REAio.github.morluto/reaReverse engineer anything from your terminal or agent with one CLI and MCP server.125.3k
- 2com.browser-use/browser-usecom.browser-use/browser-useControl a real Chrome browser to complete any task: fill forms, extract data, book flights.117.7k
- 3World Monitorapp.worldmonitor/mcpLive markets, conflicts, country risk, chokepoints, energy, and China decision signals. 93 tools.88.3k
- 4Scrapling MCP Serverd4vinci/scrapling🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scraplingdev86.9k
- 5Everythingmodelcontextprotocol/serversThis MCP server attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.85.8k
- 6Fetchmodelcontextprotocol/serversA Model Context Protocol server that provides web content fetching capabilities. This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.85.8k