notepad-server

A Model Context Protocol server that implements a simple notes system and demonstrates core MCP concepts.

Visit Server
Added on 3/28/2025

๐Ÿ“ notepad-server MCP Server

ไธญๆ–‡็‰ˆ

๐Ÿค– 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

๐ŸŒŸ Features

๐Ÿ› ๏ธ Tools

addNotepad

  • Description: Add a new notepad
  • Parameters:
    • name (string): Name of the notepad
    • content (string): Content of the notepad

delNotepad

  • Description: Delete a notepad
  • Parameters:
    • id (number): ID of the notepad to delete

updateNotepad

  • Description: Update a notepad
  • Parameters:
    • id (number): ID of the notepad to update
    • content (string): New content for the notepad

listNotepads

  • Description: List all notepads
  • Parameters: None

useNotepad

  • Description: Use a specific notepad
  • Parameters:
    • id (number): ID of the notepad to use

๐Ÿ› ๏ธ Development

Install dependencies:

npm install

Build the server:

npm run build

For development with auto-rebuild:

npm run watch

๐Ÿ“ฅ Installation

To 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"
    }
  }
}

๐Ÿ” Debugging

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 inspector

The Inspector will provide a URL to access debugging tools in your browser.