Skip to main content
Glama

mcp-snippetbox

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

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

亮点

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

  • 包含 Claude Desktop 配置片段

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

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

Related MCP server: mcp-server-sample

安装

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

ActivityMaintained
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/EatCodeSleepRepeatteg/mcp-snippetbox'

If you have feedback or need assistance with the MCP directory API, please join our Discord server