SN

sjotie/notionmcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

11 stars 7 forks 品質 55 トレンド 8

Node based Notion MCP server

概要

A Model Context Protocol (MCP) server that connects Claude and other AI assistants to your Notion workspace. This integration allows AI assistants to interact with your Notion databases, pages, and blocks. This tool acts as a bridge between AI assistants (like Claude) and your Notion workspace. It allows the AI to: - View and search your Notion databases - Create and update pages - Manage content blocks - And much more! - Node.js (version 14 or higher) - A Notion account - Claude Desktop app (if using with Claude) 1. Go to https://www.notion.so/my-integrations 2. Click the blue button 3. Fill in the details: - : Choose a name like "Claude Assistant" or "AI Helper" - : Optional - : Select your Notion workspace 4. Click 5. On the next page, find the section 6. Click and copy the token (it starts with secret_) 1. Go to the GitHub repository: https://github.com/Sjotie/notionMCP/ 2. Click the green "Code" button at the top right 3. Select "Download ZIP" 4.

README

以下は原文 README の抜粋です。原文を見る。

Notion MCP Server

A Model Context Protocol (MCP) server that connects Claude and other AI assistants to your Notion workspace. This integration allows AI assistants to interact with your Notion databases, pages, and blocks.

What is this?

This tool acts as a bridge between AI assistants (like Claude) and your Notion workspace. It allows the AI to:

  • View and search your Notion databases
  • Create and update pages
  • Manage content blocks
  • And much more!

Step-by-Step Setup Guide

Prerequisites

  • Node.js (version 14 or higher)
  • A Notion account
  • Claude Desktop app (if using with Claude)

1. Getting Your Notion API Key

  1. Go to https://www.notion.so/my-integrations
  2. Click the blue “+ New integration” button
  3. Fill in the details:
    • Name: Choose a name like “Claude Assistant” or “AI Helper”
    • Logo: Optional
    • Associated workspace: Select your Notion workspace
  4. Click “Submit”
  5. On the next page, find the “Internal Integration Token” section
  6. Click “Show” and copy the token (it starts with secret_)

2. Setting Up This Server

Download the Repository

Option A: Download as ZIP (Recommended for beginners)

  1. Go to the GitHub repository: https://github.com/Sjotie/notionMCP/
  2. Click the green “Code” button at the top right
  3. Select “Download ZIP”
  4. Once downloaded, extract the ZIP file to a location on your computer
    • Windows: Right-click the ZIP file and select “Extract All”
    • Mac: Double-click the ZIP file to extract

Option B: Clone with Git (For users familiar with Git)

  1. Open a command prompt or terminal
    • Windows: Press Win+R, type cmd, and press Enter
    • Mac: Open Terminal from Applications > Utilities
  2. Navigate to where you want to store the repository
    cd path/to/desired/location
    
  3. Clone the repository
    git clone https://github.com/Sjotie/notionMCP/
    

After downloading or cloning, you need to navigate to the project folder using the cd (change directory) command:

If you downloaded the ZIP (Option A):

  1. Open a command prompt or terminal

  2. Use the cd command to navigate to where you extracted the ZIP file:

    cd path/to/extracted/folder/notionMCP
    

    For example:

    • On Windows: cd C:\Users\YourName\Downloads\notionMCP
    • On Mac: cd /Users/YourName/Downloads/notionMCP

If you cloned with Git (Option B):

  1. The repository should have been cloned into a folder named “notionMCP”
  2. If you’re still in the same terminal window after cloning, simply type:
    cd notionMCP
    

How to know you’re in the right directory:

  • After using the cd command, you can check your current location:
    • On Windows: Type dir and press Enter - you should see files like server.js
    • On Mac: Type ls and press Enter - you should see files like server.js
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "notion": { "command": "node", "args": [ "C:\\path\\to\\notion-mcp-server\\server.js" ], "env": { "NOTION_API_KEY": "your_notion_api_key_here" } } } }