MCP cover image
See in Github
2025-04-14

fastMCP实现了intion-MCP服务器,并支持可扩展的自定义对象和功能

0

Github Watches

0

Github Forks

0

Github Stars

Notion Chakra MCP

This is a Notion integration service that provides MCP (Message Control Protocol) endpoints for interacting with Notion databases and pages.

Features

  • List and query Notion databases
  • Create and update pages
  • Search Notion content
  • Manage blocks and children
  • Support for both stdio and SSE transports

Setup Options

1. MCP Client Configuration (Recommended)

Add the following to your ~/.cursor/mcp.json:

{
  "mcpServers": {
    "notion-chakra-mcp": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "-v",
        "/path/to/notion-chakra-mcp/data:/app/data",
        "-e",
        "TRANSPORT",
        "-e",
        "NOTION_API_KEY",
        "-e",
        "HOST",
        "-e",
        "PORT",
        "-e",
        "PYTHONPATH=/app/src",
        "notion-chakra-mcp"
      ],
      "env": {
        "TRANSPORT": "stdio",
        "NOTION_API_KEY": "your_notion_api_key",
        "HOST": "0.0.0.0",
        "PORT": "8050"
      }
    }
  }
}

Make sure to:

  1. Replace /path/to/notion-chakra-mcp with your actual project path
  2. Set your NOTION_API_KEY value
  3. Create a data directory in your project root: mkdir -p data

2. Docker Compose Setup

For development or standalone usage, you can use Docker Compose:

# Build and start with stdio transport
TRANSPORT=stdio docker-compose up notion-chakra-mcp

# Or with SSE transport
TRANSPORT=sse docker-compose up notion-chakra-mcp

3. Direct Docker Usage

For manual testing or custom setups:

# Build the image
docker build -t notion-chakra-mcp .

# Run with stdio transport
docker run --rm -i \
  -v $(pwd)/data:/app/data \
  -e TRANSPORT=stdio \
  -e NOTION_API_KEY=your_key \
  -e PYTHONPATH=/app/src \
  notion-chakra-mcp

# Run with SSE transport
docker run --rm -i \
  -v $(pwd)/data:/app/data \
  -e TRANSPORT=sse \
  -e NOTION_API_KEY=your_key \
  -e HOST=0.0.0.0 \
  -e PORT=8050 \
  -p 8050:8050 \
  -e PYTHONPATH=/app/src \
  notion-chakra-mcp

Configuration

Environment Variables

  • NOTION_API_KEY: Your Notion integration token (required)
  • TRANSPORT: Transport type (stdio or sse, defaults to stdio)
  • HOST: Server host for SSE transport (defaults to 0.0.0.0)
  • PORT: Server port for SSE transport (defaults to 8050)
  • PYTHONPATH: Python module path (should be /app/src)

Data Persistence

The service uses a data directory for persistent storage:

  • Mounted at /app/data inside the container
  • Stores schemas, database mappings, and other persistent data
  • Must be created before running the container: mkdir -p data

Development

Running Tests

# Install test dependencies
pip install -r requirements.txt

# Run tests
python -m pytest tests/ -v

Adding New Features

  1. Add your feature implementation in src/
  2. Add tests in tests/
  3. Update requirements.txt if needed
  4. Run tests to verify everything works

相关推荐

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • langgenius
  • alibaba
  • 1Panel-dev
  • 🔥1Panel提供了直观的Web接口和MCP服务器,用于在Linux服务器上管理网站,文件,容器,数据库和LLMS。

  • rulego
  • ⛓️Rulego是一种轻巧,高性能,嵌入式,下一代组件编排规则引擎框架。

  • hkr04
  • 轻巧的C ++ MCP(模型上下文协议)SDK

  • nbonamy
  • Witsy:桌面AI助手

  • microsoft
  • Python tool for converting files and office documents to Markdown.

  • mem0ai
  • mindsdb
  • AI's query engine - Platform for building AI that can answer questions over large scale federated data. - The only MCP Server you'll ever need

  • evilsocket
  • 简单的代理开发套件。

    Reviews

    2.7 (3)
    Avatar
    user_V9Z1pc4i
    2025-04-23

    Notion-Chakra-MCP by thestumonkey is a game-changing app that seamlessly integrates Notion and Chakra UI components. Its intuitive design and powerful features streamline productivity and enhance user experience. Whether you are managing projects or organizing personal tasks, this tool is indispensable. Highly recommend for anyone looking to optimize their workflow!

    Avatar
    user_nGoxdMAC
    2025-04-23

    Notion-Chakra-MCP by thestumonkey is a game-changer for any Notion enthusiast. This tool perfectly blends the power of Notion with advanced functionalities, making task management seamless and more efficient. The intuitive design and user-friendly interface are remarkable. Highly recommended for both beginners and experienced users looking to elevate their productivity.

    Avatar
    user_7JTsfZ64
    2025-04-23

    Notion-chakra-mcp by thestumonkey is an exceptional tool that seamlessly integrates with my workflow. It's intuitive and has significantly boosted my productivity. I love how easy it is to navigate and customize to fit my needs. Highly recommend it to anyone looking to streamline their tasks efficiently.