Notion MCP Server
Notion MCP 서버
Notion 작업 공간과 통합하기 위한 모델 컨텍스트 프로토콜(MCP) 서버입니다. 이 서버는 AI 모델이 Notion의 콘텐츠에 접근하고, 쿼리하고, 수정할 수 있는 표준화된 인터페이스를 제공합니다.
필수 조건
Node.js(v16 이상)
Notion API 키( Notion 통합 에서)
적절한 권한이 있는 연결된 Notion 작업 공간
Related MCP server: Notion MCP Server
설치
이 저장소를 복제하세요:
지엑스피1
종속성 설치:
npm installNotion API 키로 루트 디렉토리에
.env파일을 만듭니다.# Required NOTION_API_KEY=your_notion_api_key_here # Optional settings DEBUG=false REQUIRE_CONFIRMATION_FOR_CREATE=true REQUIRE_CONFIRMATION_FOR_UPDATE=true REQUIRE_CONFIRMATION_FOR_DELETE=true UPDATE_POLLING_INTERVAL=60000 MAX_BLOCK_DEPTH=3 BACKUP_DIR=./backups BACKUP_RETENTION_DAYS=30 MAX_BACKUPS_PER_PAGE=5프로젝트를 빌드하세요:
npm run build서버를 시작합니다:
npm start
Claude와 함께 데스크톱 사용
Claude for Desktop과 함께 이 Notion MCP 서버를 사용하려면:
Claude for Desktop이 설치되고 최신 버전으로 업데이트되었는지 확인하세요.
Claude for Desktop의 구성 파일을 엽니다.
macOS의 경우:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows의 경우:
%APPDATA%\Claude\claude_desktop_config.json
서버 구성을 추가합니다.
{ "mcpServers": { "notion": { "command": "node", "args": ["/path/to/notion-mcp-server/build/index.js"], "env": { "NOTION_API_KEY": "your_notion_api_key_here" } } } }파일을 저장하고 Claude for Desktop을 다시 시작하세요.
자원
서버는 다음과 같은 리소스를 제공합니다.
리소스 URI | 설명 |
| 작업 공간의 모든 데이터베이스를 나열합니다. |
| 특정 데이터베이스의 스키마를 검색합니다 |
| 특정 데이터베이스에서 모든 페이지/항목을 검색합니다. |
| 특정 페이지의 내용을 검색합니다 |
| 작업 공간에서 최근 업데이트 및 변경 사항을 검색합니다. |
도구
서버는 다음과 같은 도구를 제공합니다.
프롬프트
서버에는 다음과 같은 사전 구성된 프롬프트가 포함되어 있습니다.
프롬프트 이름 | 설명 |
| 다가오는 마감일 목록을 받으세요 |
| 프로젝트 상태를 요약합니다 |
| 오늘의 작업 목록을 받으세요 |
예제 쿼리
Claude에 연결되면 Notion 작업 공간에 대한 자연어 질문을 할 수 있습니다.
"오늘 내 작업 공간에서 어떤 작업을 마감해야 하나요?"
"프로젝트 X의 상태를 보여주세요"
"'아이디어' 데이터베이스에 '새로운 기능 컨셉'이라는 제목으로 새 페이지를 만드세요."
"작업 Y의 상태를 '완료'로 업데이트"
"지난 24시간 동안 내 작업 공간에 어떤 변경 사항이 있었나요?"
"다음 주 마감일을 요약해 보세요"
"abc123 페이지의 모든 백업을 보여주세요"
"백업 파일 page_abc123_2023-01-01.json에서 페이지 abc123을 복원합니다."
서버 확장
새로운 기능을 추가하려면:
리소스 추가 :
index.ts에서 리소스 핸들러 확장도구 추가 :
index.ts에 새 도구 정의를 만듭니다.프롬프트 추가 :
index.ts에 새 프롬프트 템플릿 정의API 통합 강화 :
notion-api.ts에 새로운 API 함수 추가
로그
자세한 오류 정보는 서버 로그에서 확인하세요.
데스크톱 로그용 Claude : MCP 관련 로그를 보려면 Claude 로그 디렉토리를 찾으세요.
서버 출력 : 서버 로그에 대한 표준 출력 및 오류 스트림을 확인합니다.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Hosted Notion MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
A Model Context Protocol server for Wix AI tools
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
Related MCP Servers
- AlicenseDqualityDmaintenanceA Model Context Protocol server that enables Claude and other LLMs to interact with Notion workspaces, providing capabilities like searching, retrieving, creating and updating pages, as well as managing databases.103ISC
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides a standardized interface for interacting with Notion's API, enabling users to list databases, create pages, and search across their Notion workspace.109MIT
- AlicenseCqualityDmaintenanceA Model Context Protocol (MCP) server that exposes the official Notion SDK, allowing AI models to interact with Notion workspaces.1738 npm10Apache 2.0
- AlicenseBqualityDmaintenanceA Model Context Protocol server that connects Claude and other AI assistants to your Notion workspace, allowing AIs to interact with databases, pages, and blocks.12011MIT