@mcpflow.io/mcp--notepad-server-mcp-server v1.0.1
📝 notepad-server MCP Server
此包由 MCPFlow 打包并发布到npm仓库。
基于 TypeScript 实现的 MCP 协议笔记服务器,提供添加、删除和更新笔记的功能,并支持与 Claude Desktop 的集成。
安装与使用
直接使用npx运行:
npx @mcpflow.io/mcp--notepad-server-mcp-server
或者先安装后使用:
# 安装
npm install @mcpflow.io/mcp--notepad-server-mcp-server
# 使用
npx @mcpflow.io/mcp--notepad-server-mcp-server
使用方法
请参考原始仓库的使用说明。
工具函数
addNotepad
Add a new notepad to the database
参数:
name
: Name of the notepadcontent
: Content of the notepad
delNotepad
Delete a notepad from the database by its ID
参数:
id
: ID of the notepad to delete
updateNotepad
Update the content of a notepad in the database by its ID
参数:
id
: ID of the notepad to updatecontent
: New content for the notepad
listNotepads
List all notepads in the database
参数:
useNotepad
Retrieve the details of a specific notepad by its ID
参数:
id
: ID of the notepad to retrieve
原始信息
- 开发者: GuoAccount
- 版本: 1.0.0
- 许可证: 未指定
- 原始仓库: GuoAccount/notepad-server
原始README
📝 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 notepadcontent
(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 updatecontent
(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.