Skip to main content
Glama

mcp-snippetbox

我基于它来构建新工具的 MCP 服务器模板

起初只是一个周末的练手项目,后来我越来越喜欢它。

亮点

  • 三个工具:add / get / list notes

  • 包含 Claude Desktop 配置片段

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

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

Related MCP server: notes-box

安装

pip install -r requirements.txt

使用

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

项目结构

├── .github/
│   ├── ISSUE_TEMPLATE/
│   │   └── bug_report.md
│   └── dependabot.yml
├── docs/
│   ├── configuration.md
│   ├── development.md
│   ├── roadmap.md
│   └── usage.md
├── examples/
│   └── quickstart.md
├── tests/
│   └── test_smoke.py
├── .editorconfig
├── .gitignore
├── CHANGELOG.md
├── CODE_OF_CONDUCT.md
├── CONTRIBUTING.md
├── LICENSE
├── SECURITY.md
├── requirements.txt
└── server.py

开发

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

更新日志

  • 0.1.1 - 修复参数解析中的边界情况

  • 0.1.0 - 首个可用版本

许可证

MIT 许可证,请参阅 LICENSE。

Maintenance

ActivityStale
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables adding, retrieving, and listing notes, with state persisted to a JSON file in the home directory.
    -