Skip to main content
Glama
joonhuang

Notion MCP Server

by joonhuang

Notion MCP Project

Introduction

This project integrates with the Notion API to provide tools and services for interacting with Notion databases and pages. It is built using TypeScript and the @notionhq/client library, and it follows the Model Context Protocol (MCP) for tool registration and interaction.

Related MCP server: Notion MCP Server

Summary

The Notion MCP project includes the following features:

  • A globally accessible Notion client for API interactions.

  • Services for searching Notion pages and databases.

  • A structured and modular codebase for maintainability.

  • Integration with the MCP Inspector for testing and debugging tools.

Prerequisites

Before starting, ensure you have the following:

  1. Node.js: Install Node.js (v18 or later).

  2. npm: Ensure npm is installed.

  3. Environment Variable: Set up the NOTION_API_KEY in a .env file at the root of the project. Example:

    NOTION_API_KEY=<YOUR NOTION INTEGRATION API>

How to Start

  1. Install Dependencies:

    npm install
  2. Build the Project:

    npm run build
  3. Run with MCP Inspector: Use the following command to start the application with the MCP Inspector:

    npx @modelcontextprotocol/inspector node build/app.js
  4. Run with Claude Desktop: Open up the Claude Desktop > Settings > Developer > Edit Config

    "notion": {
       "command": "node",
       "args": [
         "/Users/<username>/notion-mcp/build/app.js"
       ]
     }

This will start the application and allow you to inspect and test the registered tools.

F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

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/joonhuang/notion-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server