MCP Notes Server
A Model Context Protocol (MCP) server implementation for managing notes with persistent storage.
Features
- Create, read, update, and delete notes
- Persistent storage using JSON
- Timestamp tracking for creation and modifications
- Note summarization via prompts
- Resource-based access using note:// URI scheme
Installation
Installing via Smithery
To install notes for Claude Desktop automatically via Smithery:
Copy
Manual Installation
- Ensure you have Python 3.10 or later installed
- Create a virtual environment:Copy
- Install requirements:Copy
Project Structure
Copy
Available Tools
add-note
: Create a new notelist-all-notes
: Display all stored notesupdate-note
: Modify an existing notedelete-note
: Remove a note
Usage
- Start the server:Copy
- Example operations:Copy
Storage
Notes are stored in notes_storage.json
with the following structure:
Copy
Resource Access
Notes can be accessed as resources using the note://
URI scheme:
- List resources: Returns all available notes as resources
- Read resource: Access a specific note using
note://internal/note_name
Prompt Generation
The server includes a prompt generation feature for note summarization:
- Supports both brief and detailed summaries
- Formats notes for language model input
- Available via the "summarize-notes" prompt
Development
To modify or extend the server:
- Clone the repository
- Install development dependencies
- Make changes in the appropriate module
- Test thoroughly before deploying
Testing
Tests should cover:
- Basic CRUD operations
- Multiple note handling
- Error cases
- Resource access
- Prompt generation
License
[Add your license here]
You must be authenticated.
local-only server
The server can only run on the client's local machine because it depends on local resources.
An MCP server for managing and persisting notes, offering CRUD operations, note summarization, and resource-based access via a note:// URI scheme.
- Features
- Installation
- Project Structure
- Available Tools
- Usage
- Storage
- Resource Access
- Prompt Generation
- Development
- Testing
- License