Skip to main content
Glama
forhad9009237

mcp-snippetbox

mcp-snippetbox

Шаблон MCP-сервера, на основе которого я создаю новые инструменты

Начинался как хак на выходных, а затем прижился.

Что делает

  • Включает фрагмент конфигурации Claude Desktop

  • Три инструмента: add / get / list notes

  • Состояние сохраняется в 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
│   └── pull_request_template.md
├── docs/
│   ├── development.md
│   ├── roadmap.md
│   └── usage.md
├── examples/
│   └── quickstart.md
├── .editorconfig
├── .gitattributes
├── .gitignore
├── CONTRIBUTING.md
├── Makefile
├── SECURITY.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

  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables Claude Desktop to add, get, and list notes, with state persisted to a JSON file in the home directory.
    MIT