Skip to content

kishorekrrish3/NoteFlow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿง  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.


Python FastMCP uv Claude MIT License


๐Ÿ“– 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

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
Loading

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

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 -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Mac / Linux (curl)

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

Or with wget

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

2๏ธโƒฃ Initialize the Project

uv init .

3๏ธโƒฃ Add MCP Dependency

uv add "mcp[cli]"

๐Ÿƒ Running the MCP Server

Place all server logic inside main.py.

Then install the MCP server:

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:

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


Making AI assistants remember what matters.



NoteFlow โ€” because ideas shouldn't disappear.

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages