Skip to main content
Glama
README.md
# πŸ—’οΈ AI Sticky Notes – MCP Server in Python

This project is a minimal **MCP (Message Control Protocol)** server built in Python using the [`mcp` SDK](https://github.com/mcp-ai/mcp). 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](https://www.anthropic.com/index/claude-desktop) installed
- [uv](https://github.com/astral-sh/uv) (recommended over pip for dependency management)
- MCP Python SDK

## πŸ›  Setup

1. **Install `uv` (recommended)**

   ```bash
   # Windows
   irm https://astral.sh/uv/install.ps1 | iex

   # macOS/Linux
   curl -LsSf https://astral.sh/uv/install.sh | sh

2. **Initialize a new project**

   ```bash
   uv init . |sh

3. **Install dependencies**

   ```bash
   uv add mcp-cli

4. **Run the MCP server**

   ```bash
   uv run mcp install main.py

5. **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