A Model Context Protocol (MCP) server for managing notes. This server provides tools to create, read, update, delete, list, and search notes directly from Claude Desktop.
- Full CRUD operations: Create, read, update, and delete notes
- Search functionality: Search notes by title or content
- Metadata tracking: Automatically tracks creation and modification timestamps
- Resource exposure: Notes are exposed as MCP resources for easy access
- JSON storage: Notes are stored as JSON files with metadata
- Clone this repository
- Install dependencies:
npm install
- Build the project:
npm run build
Add the following to your Claude Desktop MCP settings:
{
"mcpServers": {
"mcp-note-manager": {
"command": "node",
"args": ["/path/to/mcp-note-manager/dist/index.js"]
}
}
}
Replace /path/to/mcp-note-manager
with the actual path to this project.
Create a new note with a title and content.
- Parameters:
title
(string): Title of the notecontent
(string): Content of the note
Read the content of a specific note.
- Parameters:
title
(string): Title of the note to read
Update an existing note's content.
- Parameters:
title
(string): Title of the note to updatecontent
(string): New content for the note
Delete a note.
- Parameters:
title
(string): Title of the note to delete
List all available notes with their metadata (creation and modification dates).
Search notes by content or title.
- Parameters:
query
(string): Search query to find in note contents or titles
For development with auto-reload:
npm run dev
Notes are stored in the notes/
directory as JSON files. Each note contains:
- Content: The actual note text
- Metadata: Title, creation timestamp, and last modification timestamp
The filenames are sanitized versions of the note titles to ensure filesystem compatibility.