# ๐๏ธ 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.