README Documentation
🗒️ AI Sticky Notes – MCP Server in Python
This project is a minimal MCP (Message Control Protocol) server built in Python using the mcp
SDK. It lets you create and manage sticky notes that can be read, updated, and summarized by an AI agent like Claude, via Claude Desktop.
🚀 Features
- ✅ Add and save notes
- 📖 Read all saved notes
- 📌 Fetch the latest note
- 🧠 Prompt Claude to summarize all notes
📦 Requirements
- Python 3.8+
- Claude Desktop installed
- uv (recommended over pip for dependency management)
- MCP Python SDK
🛠 Setup
-
Install
uv
(recommended)# Windows irm https://astral.sh/uv/install.ps1 | iex # macOS/Linux curl -LsSf https://astral.sh/uv/install.sh | sh
-
Initialize a new project
uv init . |sh
-
Install dependencies
uv add mcp-cli
-
Run the MCP server
uv run mcp install main.py
-
Integrate with Claude Desktop
Open Claude Desktop
Go to Settings > Developer > Edit Config
Add your MCP server using the generated uv command
Restart Claude
✨ Usage
Ask Claude things like:
"Add a note saying 'Meeting at 3 PM'"
"Read all my notes"
"What’s the latest note?"
"Summarize my notes"
🧾 File Structure
```bashbash
main.py # MCP server implementation
notes.txt # Auto-generated file storing notes
📚 Tools and Concepts Used FastMCP
@mcp.tool – For executable functions
@mcp.resource – For context data (like latest notes)
@mcp.prompt – Reusable prompts for AI agents
Claude Desktop integration
🧠 Ideas for Future Enhancements Multi-user note support
Add timestamps to notes
Search notes by keyword
AI-generated tags or categories