# ποΈ AI Sticky Notes β MCP Server
A lightweight **Model Context Protocol (MCP)** server that exposes a simple βsticky notesβ system through **tools**, **resources**, and **prompts**.
This server demonstrates how to build an MCP-compatible backend using **FastMCP**, enabling any MCP-enabled client (LLMs, agents, RAG systems) to read, write, and summarize notes.
---
## π Features
This MCP server provides four main capabilities:
### π§° Tools
| Tool | Description |
|------|-------------|
| `add_note(message: str)` | Appends a new note to `notes.txt` |
| `read_notes()` | Returns all notes as a single text block |
### π¦ Resources
| Resource | URI | Description |
|----------|-----|-------------|
| `get_latest_note()` | `notes://latest` | Returns the most recently added note |
### π¬ Prompts
| Prompt | Description |
|--------|-------------|
| `note_summary_prompt()` | Returns a ready-to-use prompt instructing an AI to summarize all notes |
---
## π How It Works
The server stores notes in a local text file. All interactions, adding notes, reading them, getting the latest note, and generating an AI summary prompt, are routed through the MCP server.