Cover image
Try Now
2025-04-14

MCP Server for Notion.com integration

3 years

Works with Finder

0

Github Watches

0

Github Forks

0

Github Stars

NotionBae

A Model Context Protocol (MCP) Server for Notion.com integration, built with .NET C# using ModelContextProtocol. NotionBae leverages the Notion API to provide seamless interaction between AI assistants and Notion workspaces.

Overview

NotionBae provides a bridge between Large Language Models and Notion.com through the Model Context Protocol framework. This allows AI assistants to interact with Notion databases, pages, and content in a seamless and structured way.

Features

  • Integration with Notion API
  • MCP-compliant server implementation
  • Structured data handling for Notion content
  • Authentication and secure access to Notion workspaces

Available Tools

NotionBae provides the following tools for interacting with Notion:

Tool Name Description Parameters
Search Searches Notion pages and returns their titles and public URLs query: String - The search query to find matching pages in Notion

Getting Started

MCP Server Configuration

To use NotionBae as an MCP server in VS Code, add the following configuration to your VS Code settings.json file:

"mcp": {
  "inputs": [
    {
      "type": "promptString",
      "id": "notion_api_key",
      "description": "Notion API Key",
      "password": true
    }
  ],
  "servers": {
    "NotionBae": {
      "type": "stdio",
      "command": "dotnet",
      "args": [
        "run",
        "--project",
        "PATH_TO_NOTIONBAE_PROJECT/NotionBae.csproj"
      ],
      "env": {
        "NotionApiKey": "${input:notion_api_key}"
      }
    }
  }
}

Replace PATH_TO_NOTIONBAE_PROJECT with the path to your NotionBae project folder (the folder containing the NotionBae.csproj file).

For example, if your NotionBae project is located at C:\Projects\NotionBae\, the configuration would be:

"args": [
  "run",
  "--project",
  "C:\\Projects\\NotionBae\\NotionBae.csproj"
]

Environment Variables

The NotionBae server requires the following environment variables:

  • NotionApiKey: Your Notion API key for authentication with Notion's API

You can obtain a Notion API key by creating an integration in your Notion workspace settings. Visit the Notion API documentation for more information on creating an integration and obtaining an API key.

Running the Server

The MCP server is implemented in the Program.cs file and can be run directly using:

dotnet run

from the project directory.

Related Projects

This project is part of the "Bae" collection of tools:

  • TestBae - Testing utilities
  • AzBae - Azure tooling

License

More information coming soon.

相关推荐

  • av
  • Effortlessly run LLM backends, APIs, frontends, and services with one command.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的LLM资料总结(Agent框架、辅助编程、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.

  • 1Panel-dev
  • 🔥 1Panel provides an intuitive web interface and MCP Server to manage websites, files, containers, databases, and LLMs on a Linux server.

  • rulego
  • ⛓️RuleGo is a lightweight, high-performance, embedded, next-generation component orchestration rule engine framework for Go.

  • Azure
  • This repository is for development of the Azure MCP Server, bringing the power of Azure to your agents.

  • Onelevenvy
  • Flock is a workflow-based low-code platform for rapidly building chatbots, RAG, and coordinating multi-agent teams, powered by LangGraph, Langchain, FastAPI, and NextJS.(Flock 是一个基于workflow工作流的低代码平台,用于快速构建聊天机器人、RAG、Agent和Muti-Agent应用,采用 LangGraph、Langchain、FastAPI 和 NextJS 构建。)

  • caio-moliveira
  • This project was created to demonstrate how we can connect with different Model Context Protocols (MCPs).

    Reviews

    3.3 (3)
    Avatar
    user_Fv8VYzR5
    2025-04-24

    NotionBae by mrcunninghamz is an impressive tool for anyone looking to streamline their workflow and boost productivity. Its intuitive interface and robust features make it easy to organize tasks, manage projects, and collaborate seamlessly. Whether you're a solo entrepreneur or part of a larger team, NotionBae provides the flexibility and efficiency needed to keep everything on track. Highly recommended!

    Avatar
    user_yDVKw3jN
    2025-04-24

    As an avid user of the MCP app, I highly recommend NotionBae by mrcunninghamz. This tool has significantly improved my productivity and organization. Its user-friendly interface and versatile features have made a noticeable difference in my daily workflow. Definitely worth checking out for anyone looking to optimize their efficiency!

    Avatar
    user_OmabwHq0
    2025-04-24

    NotionBae by mrcunninghamz is a game-changer for Notion users. It's intuitive and streamlines my workflow incredibly well. The interface is user-friendly, making it easy to organize and manage tasks. I've seen a significant boost in productivity since I started using it. Highly recommend for anyone looking to enhance their Notion experience!