πŸ—’οΈ MCP-Server: AI Sticky Notes

by HKanoje

148 downloads Not rated yet

About

# πŸ—’οΈ MCP-Server: AI Sticky Notes MCP-Server is a lightweight and modular Python server that allows you to **create**, **read**, and **summarize** sticky notes using AI tools. It’s built on top of `FastMCP`, providing a simple API-style interface for managing notes stored in a text file. --- ## πŸ“¦ Features * βœ… Add new…

Explore

βœ… Add new sticky notes
βœ… View all notes
βœ… Retrieve the latest note
βœ… Generate AI-based summaries of notes

---

Ensure you have Python 3.7+ and the fastmcp package installed. Run main.py as the entry point. The server exposes tools (add_note, read_notes, get_latest_note, note_summary_prompt) that your AI client can call.

MCP-Server is a lightweight and modular Python server that allows you to create, read, and summarize sticky notes using AI tools. It’s built on top of FastMCP, providing a simple API-style interface for managing notes stored in a text file.

---

πŸ“¦ Features

βœ… Add new sticky notes
βœ… View all notes
βœ… Retrieve the latest note
βœ… Generate AI-based summaries of notes

---

🧠 How It Works

The server uses FastMCP to expose simple tools and resources:

add_note(message) β†’ Adds a new note to the file.
read_notes() β†’ Returns all stored notes.
get_latest_note() β†’ Fetches the most recent note.
note_summary_prompt() β†’ Returns a summarization prompt for the notes.

All notes are stored in notes.txt in the same directory.

---

πŸ“ Project Structure

MCP-Server/
β”‚
β”œβ”€β”€ main.py          # Entry point for the MCP server
β”œβ”€β”€ notes.txt        # Storage for all sticky notes
β”œβ”€β”€ .gitignore       # Git ignored files
└── README.md        # Project documentation

---

πŸ“œ Sample Notes File

After interacting with the server, your notes.txt might look like this:

Work meeting today at 10 AM
AI agents use autonomous decision-making to complete tasks without human intervention
Types of AI agents include virtual assistants, recommendation systems, and autonomous vehicles
Agent foundations research focuses on ensuring AI systems make decisions aligned with human values
Multi-agent systems involve multiple AI agents interacting and collaborating to solve complex problems
Reinforcement learning is commonly used to train AI agents through trial and error
AI agents often need to handle uncertainty and incomplete information when making decisions
Tools like LangChain and AutoGPT help developers create and deploy AI agents more easily
Ethical considerations in AI agents include transparency, accountability, and preventing harmful behaviors
Agentic AI systems can use tools and interact with external systems to accomplish goals
Claude Code is an agentic command line tool from Anthropic that lets developers delegate coding tasks to Claude

When you call note_summary_prompt(), it will generate a prompt like:

Summarize the current notes: Work meeting today at 10 AM ...

This lets your AI model produce a concise summary like:

> πŸ“Œ Summary: A calendar reminder and a comprehensive overview of AI agents, including types, development techniques (e.g., reinforcement learning), tools (LangChain, Claude Code), and ethical concerns.

---

πŸ› οΈ Requirements

Python 3.7+
fastmcp

---

✨ Author

Created by HKanoje β€” feel free to reach out for feedback or collaboration!

No reviews yet β€” be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.