Get My Notion MCP Server
A Model Context Protocol (MCP) server that provides access to the my-notion GitHub repository data. This server allows AI assistants like Claude and Cursor to fetch the latest files, content, and commit information from the repository.
โจ Features
- ๐ Browse Files: List files and directories in the repository
- ๐ Read Content: Get the content of any file
- ๐ Track Changes: Check the latest commit information
- ๐ Repository Info: Access repository metadata
๐ Quick Start
Install via npm
npm install -g @parkjonghun/get-my-notion-mcp
Configure with Claude Code
claude mcp add get-my-notion-mcp -- npx -y @parkjonghun/get-my-notion-mcp
Configure with Cursor
Add to your Cursor settings:
{
"mcpServers": {
"get-my-notion-mcp": {
"command": "npx",
"args": ["-y", "@parkjonghun/get-my-notion-mcp"]
}
}
}
Settings location:
- macOS:
~/Library/Application Support/Cursor/User/settings.json
- Windows:
%APPDATA%\Cursor\User\settings.json
- Linux:
~/.config/Cursor/User/settings.json
๐ฌ Example Usage
Once configured, try these commands:
- "List all files in the my-notion repository"
- "Show me the README.md content"
- "What's the latest commit?"
- "Browse the src directory"
๐ง Alternative Installation Methods
Option 1: Build from Source (If npm install fails)
# Clone and build
git clone https://github.com/ParkJong-Hun/get-my-notion-mcp.git
cd get-my-notion-mcp
npm run build
npm link
Then use:
# Claude Code
claude mcp add get-my-notion-mcp -- get-my-notion-mcp
# Cursor
{
"mcpServers": {
"get-my-notion-mcp": {
"command": "get-my-notion-mcp"
}
}
}
Option 2: Direct Binary Path
# Build
cargo build --release
# Use full path
./target/release/get-my-notion-mcp
Configuration:
{
"mcpServers": {
"get-my-notion-mcp": {
"command": "/full/path/to/target/release/get-my-notion-mcp"
}
}
}
๐ Documentation
- API Reference - Detailed tool and resource documentation
- Development Guide - Contributing and building from source
- Deployment Guide - Advanced installation and configuration
๐ง How It Works
This MCP server connects to the my-notion GitHub repository and provides three main tools:
list_files
- Browse repository structureget_file_content
- Read any file contentget_latest_commit
- Get current commit info
All data is fetched in real-time from the GitHub API, so you always get the latest information.
โก Requirements
- No authentication needed (uses public GitHub API)
- Internet connection for GitHub API access
- Rate limit: 60 requests per hour
๐ ๏ธ Troubleshooting
Connection issues? Verify internet access and GitHub API availability.
Rate limits? The server handles GitHub's 60 requests/hour limit automatically.
Installation problems? Check our Deployment Guide for alternative methods.
๐ License
MIT License - see LICENSE for details.
๐ Links
- my-notion repository - The repository this server accesses
- Model Context Protocol - Official MCP specification
- Claude Code - Claude's code assistant
- Cursor - AI-powered code editor