Windows Microsoft Sticky Notes MCP Server
Connect an MCP-compatible AI client to Microsoft Sticky Notes on Windows through a local stdio server that works directly with plum.sqlite.
List notes (
list_notes): previews and metadata, newest first, with limit/offset, theme, open/closed, and include-deleted filters.Read a note (
get_note): full cleaned Markdown, raw text, and metadata by note ID.Search notes (
search_notes): case-insensitive SQLiteLIKEsearch with limit and include-deleted option.Create notes (
create_note): set text, color theme, open state, and always-on-top flag.Update notes (
update_note): replace or append text, change theme, toggle open/always-on-top;textoverridesappend_text.Delete notes (
delete_note): soft-delete by default or permanently delete when explicitly requested.Restore notes (
restore_note): recover soft-deleted notes.Get stats (
get_stats): count active, open, deleted notes and group active notes by theme.Export notes (
export_notes): write active notes to Markdown or JSON, defaulting to Documents or a customoutput_dir.Supports colors: Yellow, Green, Pink, Purple, Blue, Grey, Charcoal.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Windows Microsoft Sticky Notes MCP Server create a yellow sticky note reminding me to submit the report by 3 PM"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Sticky Notes MCP
Connect an MCP-compatible AI client to Microsoft Sticky Notes on Windows. Read, search, create, and organize notes through a local server that works directly with the app's plum.sqlite database.
Windows 10 / 11 · Python 3.10+ · stdio transport · MIT license
Getting started · Client setup · Tools · Data handling
What you can do
Find notes by keyword, color, or saved open/closed state.
Read complete notes with cleaned Markdown and original text.
Create notes, replace their content, or append new lines.
Change note colors and saved visibility or always-on-top flags.
Soft-delete and restore notes, or permanently delete them when explicitly requested.
Export active notes to Markdown or JSON and inspect note counts by color.
The server exposes nine tools and uses the MCP SDK plus Python's standard library. It runs locally over stdio; it does not start an HTTP service.
Related MCP server: mor
Getting started
Requirements
Windows 10 or Windows 11.
Python 3.10 or later and Git.
Microsoft Sticky Notes with an existing local
plum.sqlitedatabase. Open the app and create a note before using the server for the first time.An MCP client that supports launching a local stdio server.
This project targets the Windows UWP Sticky Notes database layout. Other editions or storage formats may not be compatible.
Install from source
Run in PowerShell:
git clone https://github.com/widisaadi/stickynotes-mcp.git
cd stickynotes-mcp
python -m venv .venv
.\.venv\Scripts\python.exe -m pip install -e .Keep the repository in a stable location, then configure your client with the absolute paths below.
Client setup
For clients that use an mcpServers JSON configuration, merge this entry into the existing configuration:
{
"mcpServers": {
"sticky-notes": {
"command": "C:\\path\\to\\stickynotes-mcp\\.venv\\Scripts\\python.exe",
"args": ["C:\\path\\to\\stickynotes-mcp\\server.py"]
}
}
}Replace both example paths with your actual installation folder. Using the virtual environment's Python executable ensures the client can find the installed dependencies.
If your client provides a setup form or uses a different configuration format, use these values:
Setting | Value |
Name |
|
Transport |
|
Command | Absolute path to |
Arguments | Absolute path to |
Environment | Optional |
Restart or reconnect the client after saving. Confirm that it lists the nine tools below, then try a read-only request such as “List my five most recently updated sticky notes.”
Example requests
“Find my notes that mention the release checklist.”
“Create a yellow note with these three tasks.”
“Append ‘Review the screenshots’ to this note.”
“Export my active notes as Markdown.”
Use a note's ID from list_notes or search_notes when selecting a specific note to change.
Tools
Tool | Purpose | Parameters |
| List previews and metadata, newest updates first |
|
| Read cleaned text, raw text, and note metadata |
|
| Search stored text using SQLite |
|
| Create a note with content and state flags |
|
| Replace or append text; change color or state flags |
|
| Soft-delete by default; optionally delete permanently |
|
| Restore a soft-deleted note |
|
| Count active, open, and deleted notes; group active notes by theme | None |
| Write active notes to a Markdown or JSON file |
|
Colors: Yellow, Green, Pink, Purple, Blue, Grey, Charcoal.
When both text and append_text are supplied to update_note, text takes precedence. Search supports SQL wildcard characters: % matches any sequence and _ matches one character.
Exports default to the Documents folder under the current user's home directory. Set output_dir to choose another location. Exported content includes cleaned text and metadata, rather than a complete database backup.
Database location
By default, the server looks for:
%LOCALAPPDATA%\Packages\Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe\LocalState\plum.sqliteTo use a different database, add env to the server entry in your client's configuration:
"env": {
"STICKY_NOTES_DB_PATH": "C:\\path\\to\\plum.sqlite"
}For a manual session in PowerShell:
$env:STICKY_NOTES_DB_PATH = "C:\path\to\plum.sqlite"
.\.venv\Scripts\python.exe server.pyThe process waits for MCP messages over standard input. It is a server process, so running it manually does not open an interactive notes interface.
Data handling and limitations
This is an independent project and is not affiliated with Microsoft. It edits the local database directly rather than calling a Microsoft service API.
Read and write access: Retrieval tools open SQLite in read-only mode. Mutations use a separate read-write connection with a 10-second lock timeout; database contention is still possible.
Backup behavior: Before a mutation, the server attempts to copy the database to
plum.sqlite.mcp.bakin the same directory. Each attempt overwrites that file, and a failed copy does not stop the write. The copy does not include SQLite WAL/SHM sidecar files, so it should not be treated as a consistent backup of an active database. Close Sticky Notes and keep an independent backup before using write tools on important notes.Deletion: Soft deletion sets a timestamp and can be reversed with
restore_note. Permanent deletion removes the database row and cannot be reversed with that tool.Desktop state: Visibility and always-on-top options update stored database flags. The server does not directly control app windows or guarantee an immediate desktop refresh or cloud sync.
Formatting: Common Sticky Notes formatting is converted to Markdown using a lightweight cleaner. It does not preserve every rich-text feature.
Client access: Note contents are returned to the connected MCP client. Its model provider and privacy settings determine how that content is handled after retrieval.
Troubleshooting
Problem | What to check |
Database not found | Open Sticky Notes and create a note. Check the default location or set |
Client cannot start the server | Confirm both absolute paths and install dependencies with the same virtual environment's Python executable. |
Database is locked | Close Sticky Notes and retry the operation after the current database write finishes. |
Changes are not visible in the app | Reopen Sticky Notes. Updates to stored flags may not immediately affect existing windows. |
SQL errors about missing tables or columns | The database may use a different schema. This server expects the UWP |
Landing page
The responsive landing page lives in docs/. It uses plain HTML, CSS, and JavaScript, with no build step or external runtime dependencies. Its interactive examples use fictional sample data and do not access your notes.
Newsreader and Plus Jakarta Sans are served from local font files. Their SIL Open Font License notices are included in docs/fonts/.
Preview it locally from the repository root:
python -m http.server 4173 --directory docs --bind 127.0.0.1Open the local preview in your browser. Stop the preview with Ctrl+C when finished.
Two scroll treatments are included: the editorial page at / and the cinematic paper-trail version at /cinematic/. The page switcher opens either version. Both keep a complete mobile and reduced-motion layout. The locally bundled ScrollCraft engine is attributed in docs/vendor/SCROLLCRAFT-SOURCE.md.
Development
server.py contains the server and all nine tools. test_server.py runs 11 self-check stages, including text cleanup, note operations, deletion, restoration, and export.
The test script expects a non-empty Sticky Notes database at the default location and copies it to %LOCALAPPDATA%\hermes\cache\scratch. It uses that copy for mutations and writes exports there. It hardcodes these paths and overrides STICKY_NOTES_DB_PATH; setting that variable externally does not redirect the tests. The scratch copy and exports contain note data.
To run the existing checks on Windows, close Sticky Notes first, then use PowerShell:
New-Item -ItemType Directory -Force "$env:LOCALAPPDATA\hermes\cache\scratch" | Out-Null
.\.venv\Scripts\python.exe test_server.pyFor bug reports, include your Python version, Sticky Notes version, client name, and the error message. Remove private note contents and personal paths before sharing logs.
License
Released under the MIT license.
Available Tools
9 toolscreate_noteA
Create a new Microsoft Sticky Note.
Args: text: Note content (supports multiline plain text or markdown lists). theme: Color theme (Yellow, Green, Pink, Purple, Blue, Grey, Charcoal). Default: Yellow. is_open: Display note window immediately on Windows desktop (default: True). is_always_on_top: Pin note always on top of other windows (default: False).
Inputs: text (required), theme, is_open, is_always_on_top. Returns: result
delete_noteA
Delete a Sticky Note. Defaults to soft-delete (recoverable). Set permanent=True for hard delete.
Args: note_id: The UUID of the note to delete. permanent: If True, permanently removes from SQLite; if False, moves to trash.
Inputs: note_id (required), permanent. Returns: result
export_notesB
Export all active Sticky Notes to a Markdown file or JSON dump.
Args: export_format: Export format - 'markdown' or 'json' (default: 'markdown'). output_dir: Target directory path. Defaults to user's Documents folder.
Inputs: output_dir, export_format. Returns: result
get_noteC
Get full content and details of a single Sticky Note by its UUID.
Args: note_id: The UUID of the sticky note.
Inputs: note_id (required). Returns: result
get_statsB
Get high-level summary statistics of Microsoft Sticky Notes database.
Inputs: no named parameters. Returns: result
list_notesB
List Microsoft Sticky Notes with summary metadata, theme, and text preview.
Args: limit: Maximum number of notes to return (default: 50). offset: Pagination offset (default: 0). theme: Filter by theme color (Yellow, Green, Pink, Purple, Blue, Grey, Charcoal). is_open: Filter by open/closed status on desktop. include_deleted: Include soft-deleted notes (default: False).
Inputs: limit, theme, offset, is_open, +1 more. Returns: result
restore_noteA
Restore a soft-deleted Sticky Note back to active desktop notes.
Args: note_id: The UUID of the note to restore.
Inputs: note_id (required). Returns: result
search_notesB
Search Sticky Notes by keyword or text pattern (case-insensitive).
Args: query: Search term or keyword. limit: Maximum results to return (default: 50). include_deleted: Include soft-deleted notes in search results (default: False).
Inputs: query (required), limit, include_deleted. Returns: result
update_noteA
Update an existing note's text, append new lines, change theme, or toggle visibility.
Args: note_id: The UUID of the note to update. text: Overwrite entire note text. append_text: Append new lines to existing text (ignored if 'text' is provided). theme: New color theme (Yellow, Green, Pink, Purple, Blue, Grey, Charcoal). is_open: Open (True) or minimize/close (False) the note on desktop. is_always_on_top: Pin (True) or unpin (False) always on top.
Inputs: note_id (required), text, theme, is_open, +2 more. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool serves a distinct purpose: list_notes for browsing, get_note for retrieving a single note, search_notes for querying, create_note for creation, update_note for modifications, delete_note for removal, restore_note for recovery, get_stats for aggregation, and export_notes for data extraction. There is no overlap in functionality, and the descriptions clearly delineate their roles.
All tool names follow a consistent verb_noun pattern (e.g., list_notes, get_note, search_notes, create_note, update_note, delete_note, restore_note, get_stats, export_notes), using snake_case throughout. This makes the toolset highly predictable.
With 9 tools, the set is well-scoped for a Sticky Notes management server, covering CRUD operations, search, restore, stats, and export without redundancy. Each tool is necessary and no obvious tool is missing.
The surface covers the full lifecycle: create, read, update, delete (with soft/hard options), restore, list, search, stats, and export. Minor gaps exist, such as bulk operations or note tagging, but these are not essential for core workflows.
Maintenance
Related MCP Connectors
Create, search, and update notes in an xNotepad AI notebook, with semantic search and AI Q&A.
AI access to your aNotepad online notes: read, search, write, and organize via 22 tools.
Markdown notes and whiteboards your AI agent can read and write.
Notes and actions in one app. Let Claude or ChatGPT read and update them.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to create, read, and summarize sticky notes stored in a local text file through MCP tools, resources, and prompts.-
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to search, read, create, update, and remove personal markdown notes stored locally, providing persistent memory across sessions.104 npm3MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to save and retrieve persistent sticky notes across conversations, with tools, a resource, and a prompt for note management and summarization.-
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage local sticky notes, allowing users to add, read, retrieve the latest note, and generate AI summaries through natural language.-