A Model Context Protocol Tool for Notion integration and automation
Project description
mcp-server-notion: A Notion MCP Tool
Overview
mcp-server-notion은 Notion에 글을 작성하는 기능을 MCP(Model Context Protocol) Tool로 제공합니다. LLM 프롬프트, Claude, uvx 등에서 직접 호출하여 Notion 페이지를 자동으로 생성할 수 있습니다.
주요 기능 (MCP Tool)
notion_create_page: Notion 데이터베이스에 새 페이지를 생성합니다.- 입력값:
notion_token(string): Notion API 통합 토큰parent_id(string): 페이지를 생성할 데이터베이스 IDtitle(string): 페이지 제목content(string): 페이지 본문
- 반환값: 생성된 페이지의 URL
- 입력값:
설치
pip install mcp-server-notion
사용법 (MCP Tool)
MCP 프롬프트/uvx/Claude Desktop 연동 예시
claude_desktop_config.json
"mcpServers": {
"notion": {
"command": "uvx",
"args": ["mcp-server-notion"]
}
}
VS Code .vscode/mcp.json
{
"mcp": {
"servers": {
"notion": {
"command": "uvx",
"args": ["mcp-server-notion"]
}
}
}
}
MCP Tool 프롬프트 예시
- notion_create_page tool을 호출할 때 아래와 같이 입력:
{
"notion_token": "your_notion_token",
"parent_id": "your_database_id",
"title": "회의록",
"content": "오늘 회의 내용 정리"
}
- 반환 예시:
페이지 생성됨: https://www.notion.so/xxxxxxx
Notion API 토큰 발급 방법
- Notion 개발자 페이지에서 통합 생성
- 해당 통합을 원하는 데이터베이스에 초대
- 통합 토큰 복사 후 notion_token으로 사용
License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mcp_server_notion-0.1.0.tar.gz
(22.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_server_notion-0.1.0.tar.gz.
File metadata
- Download URL: mcp_server_notion-0.1.0.tar.gz
- Upload date:
- Size: 22.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ec6d3e8eb78422c0941c5b705eab6d9889258d4b3da8c51e599540fade5ad79
|
|
| MD5 |
f1e08612a921b4bf35f20c9bc6cb84ff
|
|
| BLAKE2b-256 |
4a28281bfe765de743c9aa689d3bdc9137705d6ccb9201ddb1fc45fe56aab3f3
|
File details
Details for the file mcp_server_notion-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mcp_server_notion-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52e81fc94abbd4476206f190ba27527bf68630290d43cf8497f9f5d0081688d2
|
|
| MD5 |
13045e4a7fd4bf935530e0a2b6f87189
|
|
| BLAKE2b-256 |
98e7bb4c06d37aaf386552d82e10a574039b07fed9354a96811bd686d5d33e4a
|