🤖 A Model Context Protocol server
🛠️ This project implements a simple notes system and demonstrates core MCP concepts by providing:
- Tools for creating new notes
- Prompts for generating summaries of notes
- Description: Add a new notepad
- Parameters:
name(string): Name of the notepadcontent(string): Content of the notepad
- Description: Delete a notepad
- Parameters:
id(number): ID of the notepad to delete
- Description: Update a notepad
- Parameters:
id(number): ID of the notepad to updatecontent(string): New content for the notepad
- Description: List all notepads
- Parameters: None
- Description: Use a specific notepad
- Parameters:
id(number): ID of the notepad to use
Install dependencies:
npm installBuild the server:
npm run buildFor development with auto-rebuild:
npm run watchTo use with Claude Desktop, add the server config:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"notepad-server": {
"command": "/path/to/notepad-server/build/index.js"
}
}
}Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
npm run inspectorThe Inspector will provide a URL to access debugging tools in your browser.