๐Ÿง  Custom MCP Server for AI-Powered Sticky Notes

by kishorekrrish3

947 downloads
Not rated
GitHub

About

A lightweight server built with FastMCP + uv, enabling natural language commands to manage notes, reminders & productivity within Claude Desktop.

Details

Author
kishorekrrish3
Downloads
947
Categories
Knowledge Base, AI, Productivity

- Natural language note creation via AI assistants
- Instant retrieval of previously saved notes
- Persistent local storage in a .txt file
- Fast Python environment using the uv package manager
- Automatic tool registration inside Claude Desktop
- Extensible design for adding new tools

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name ๐Ÿง  Custom MCP Server for AI-Powered Sticky Notes
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install Python 3.12+, the uv package manager, and optionally Claude Desktop. Run uv init ., then uv add "mcp[cli]", and finally uv run mcp install main.py to register the server. After restarting Claude Desktop (if used), the tools add_note, get_notes, and search_notes become available for natural language note management.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "\ud83e\udde0 custom mcp server for ai-powered sticky notes": {
            "Custom-MCP-Server-for-AI-Powered-Sticky-Notes": {
                "command": "uv",
                "args": [
                    "init",
                    "."
                ]
            }
        }
    }
}

McpServers

{
    "Custom-MCP-Server-for-AI-Powered-Sticky-Notes": {
        "command": "uv",
        "args": [
            "init",
            "."
        ]
    }
}

<div align="center">

๐Ÿง  NoteFlow



AI-Powered Sticky Notes via a Custom MCP Server



A lightweight Model Context Protocol (MCP) server that enables AI assistants to create, retrieve, and manage sticky notes using natural language.
Turn simple conversations into persistent notes for productivity, brainstorming, and reminders.

<br>

Python
FastMCP
uv
Claude
[MIT License]()

</div>

---

๐Ÿ“– What is NoteFlow?



NoteFlow is a custom MCP (Model Context Protocol) server designed to bring persistent sticky notes into AI workflows.

Instead of manually managing notes in separate apps, users can simply ask their AI assistant to create, store, or retrieve notes using natural language.

When integrated with AI clients like Claude Desktop, NoteFlow allows the assistant to:

Save reminders
Store ideas
Retrieve previously saved notes
Maintain persistent context across conversations

All notes are stored locally in a simple .txt file, making the system lightweight, transparent, and fully customizable.

---

โœจ Features



| Feature | Description |
| ------------------------------------- | ---------------------------------------------------------- |
| ๐Ÿง  Custom MCP Server | Implements a fully functional MCP server using FastMCP |
| ๐Ÿ“ Natural Language Note Creation | AI assistants can add notes directly through commands |
| ๐Ÿ“– Note Retrieval | Retrieve previously saved notes instantly |
| ๐Ÿ’พ Persistent Storage | Notes are stored locally in a .txt file |
| โšก Fast Python Environment | Uses the modern uv package manager |
| ๐Ÿ”— Claude Desktop Integration | Automatically registers tools inside Claude |
| ๐Ÿงฉ Extensible Design | Easily add new tools like delete, tag, or categorize notes |

---

๐Ÿ—๏ธ System Architecture



Request Flow



``mermaid
graph TD
A[๐Ÿ‘ค User Prompt] --> B[Claude Desktop AI]
B --> C[MCP Client]
C --> D[Custom MCP Server - FastMCP]
D --> E{Command Type}

E -->|Add Note| F[Write to notes.txt]
E -->|Retrieve Notes| G[Read notes.txt]
E -->|List Notes| H[Parse Stored Notes]

F --> I[Return Confirmation]
G --> I
H --> I

I --> B
`

---

MCP Workflow



The MCP server exposes custom tools that the AI client can call.

1๏ธโƒฃ The user asks the AI assistant to save or retrieve a note
2๏ธโƒฃ The assistant sends a tool request through MCP
3๏ธโƒฃ The FastMCP server processes the request
4๏ธโƒฃ Notes are written to or retrieved from
notes.txt
5๏ธโƒฃ The response is returned to the AI client

This architecture allows AI assistants to interact with local tools safely and efficiently.

---

๐Ÿ› ๏ธ Technology Stack



Core Backend



| Component | Technology |
| --------------------- | ----------------- |
| Programming Language |
Python 3.12 |
| MCP Server Framework |
FastMCP |
| Package Manager |
uv |
| Storage | Local
.txt file |
| AI Client Integration | Claude Desktop |

---

๐Ÿ“‚ Project Structure



`text
ai-sticky-notes-mcp/
โ”‚
โ”œโ”€โ”€ main.py # MCP server logic (tools, prompts, handlers)
โ”œโ”€โ”€ notes.txt # Persistent storage for sticky notes
โ””โ”€โ”€ README.md # Project documentation
`

---

๐Ÿš€ Installation & Setup



Prerequisites



Python 3.12+
Claude Desktop (optional but recommended)

---

1๏ธโƒฃ Install uv



Windows (PowerShell)



`powershell
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
`

Mac / Linux (curl)



`bash
curl -LsSf https://astral.sh/uv/install.sh | sh
`

Or with wget



`bash
wget -qO- https://astral.sh/uv/install.sh | sh
`

---

2๏ธโƒฃ Initialize the Project



`bash
uv init .
`

---

3๏ธโƒฃ Add MCP Dependency



`bash
uv add "mcp[cli]"
`

---

๐Ÿƒ Running the MCP Server



Place all server logic inside
main.py.

Then install the MCP server:

`bash
uv run mcp install main.py
`

This registers the MCP server so AI clients can discover it automatically.

---

๐Ÿ”— Claude Desktop Integration



If Claude Desktop is installed:

1๏ธโƒฃ Run:

`bash
uv run mcp install main.py
`

2๏ธโƒฃ Claude will automatically detect your MCP server.

3๏ธโƒฃ Restart Claude if tools do not appear:

Open Task Manager
End the Claude Desktop process
Restart the app

Your MCP tools should now be available.

---

๐ŸŒ MCP Tools Example



Your server can expose tools such as:

| Tool | Description |
| -------------- | ------------------------------- |
|
add_note | Save a new sticky note |
|
get_notes | Retrieve all notes |
|
search_notes | Find notes containing a keyword |

Example interaction:

`
User: Remember that I need to finish my ML assignment tonight.

Claude: Note saved successfully.
`

---

โš™๏ธ Configuration



| Setting | File | Description |
| ------------------ | -------------- | ---------------------------------- |
| Notes Storage |
notes.txt | Local file where notes are stored |
| MCP Tools |
main.py | Define tools and commands |
| Client Integration | Claude Desktop | Registers MCP server automatically |

---

๐Ÿ› Known Issues & Troubleshooting



MCP server not visible in Claude



Restart the Claude desktop application:

1. Open Task Manager
2. End the Claude process
3. Restart the app

---

Notes not saving



Ensure that:

notes.txt` exists in the project directory
The MCP server has permission to write to the file

---

๐Ÿ”ฎ Future Improvements



๐Ÿ“‚ Note tagging and categorization
๐Ÿง  Semantic search using embeddings
๐Ÿ—‘๏ธ Delete or edit notes
โ˜๏ธ Cloud storage integration
๐Ÿ”— Multi-agent MCP workflows

---

<div align="center">

<br>

<i>Making AI assistants remember what matters.</i>

<br><br>

<b>NoteFlow</b> โ€” because ideas shouldn't disappear.

</div>

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.