MCP-server
0
AI Sticky Notes MCP Server is a simple MCP server designed to manage digital sticky notes. It allows users to add, read, and summarize notes stored in a local text file while providing various tools for note management.
Overview
A simple Machine Communication Protocol (MCP) server that manages digital sticky notes. This project demonstrates how to build a functional MCP server with features including adding notes to a persistent text file, reading stored notes, retrieving the latest note, and generating AI summarization prompts for your notes.
Features
- add_note: Append a new note to your collection
- read_notes: View all your saved notes
- notes://latest: Access your most recent note
- notes_summary_prompt: Generate a prompt that includes all your notes for AI summarization
Getting Started
- Ensure you have the MCP library installed.
- Run the server.
- Interact with your sticky notes through the MCP interface.
File Structure
main.py
: The MCP server implementationnotes.txt
: The text file where your notes are stored.
Implementation Details
The server uses a local text file to store notes. It includes error handling and file existence checks to ensure smooth operation.