Skip to main content
Glama
7Fernando750

notes-box

by 7Fernando750

my-mcp-server-app

学习 MCP:一个带有三个工具的微型笔记服务器

功能

  • 包含 Claude Desktop 配置片段

  • 三个工具:添加 / 获取 / 列出笔记

  • 状态持久化到主目录中的 JSON 文件

  • FastMCP 风格:装饰器,零样板代码

Related MCP server: mcp-snippetbox

用法

# claude_desktop_config.json
# {
#   "mcpServers": {
#     "notes-box": {"command": "python", "args": ["server.py"]}
#   }
# }
python server.py

安装

pip install -r requirements.txt

项目结构

├── .github/
│   ├── ISSUE_TEMPLATE/
│   │   └── bug_report.md
│   ├── dependabot.yml
│   └── pull_request_template.md
├── docs/
│   ├── development.md
│   ├── roadmap.md
│   └── usage.md
├── .gitignore
├── CHANGELOG.md
├── CONTRIBUTING.md
├── requirements.txt
└── server.py

开发

python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
python -m pytest -q

备注

  • 基本稳定,仍存在边缘情况

许可证

MIT。你想怎么用都行。

Related MCP Connectors

Related MCP Servers