This demo implementation of the MCP was developed using the official MCP documentation and the Cursor
A simple Model Context Protocol (MCP) server that provides notepad functionality for LLM applications. This project created with the help of the official MCP documentation and the Cursor.
- Create, read, update, and delete notes
- Store notes in a local JSON file
- Expose notes through MCP resources and tools
- Clone this repository
- Install dependencies:
npm install- Build the project:
npm run buildStart the server:
npm startThe server will start and listen for MCP protocol messages on stdin/stdout.
notes://list- Lists all notesnotes://id/{id}- Gets a specific note by ID
-
add-note- Creates a new note- Parameters:
title(string): The title of the notecontent(string): The content of the note
- Parameters:
-
update-note- Updates an existing note- Parameters:
id(string): The ID of the note to updatetitle(string): The new titlecontent(string): The new content
- Parameters:
-
delete-note- Deletes a note- Parameters:
id(string): The ID of the note to delete
- Parameters:
Run the server in development mode:
npm run devISC