Uncert manager MCP (uncert-mcp)
stdio MCP-сервер: tools к HTTP API Uncert с personal access token. Хост (Cursor, Claude Desktop и др.) запускает процесс и ходит в API как PAT-пользователь.
После публикации на PyPI хост ставит пакет сам через uvx — клонировать
репозиторий не нужно.
Выпустить PAT
- Войдите в Uncert.
- Откройте Настройки —
/me/settings. - Создайте personal access token и скопируйте сырое значение
uncert_pat_….
Переменные окружения
| Переменная | Пример | Смысл |
|---|---|---|
UNCERT_API_URL |
https://uncert.ru/api |
База API с префиксом /api. Локально: http://localhost:8001/api |
UNCERT_PAT |
uncert_pat_… |
Сырой PAT |
Пустые значения — процесс не стартует и пишет имя переменной в stderr.
Cursor / любой MCP-хост (из PyPI)
Нужны uv и PAT. В конфиге хоста (~/.cursor/mcp.json или Settings → MCP):
{
"mcpServers": {
"uncert": {
"command": "uvx",
"args": ["uncert-mcp"],
"env": {
"UNCERT_API_URL": "https://uncert.ru/api",
"UNCERT_PAT": "YOUR_PAT_HERE"
}
}
}
}
На macOS, если GUI не видит uvx в PATH, подставьте абсолютный путь
(часто /opt/homebrew/bin/uvx или ~/.local/bin/uvx).
Токен только в пользовательском конфиге, не в git.
Разработка из репозитория
cd apps/mcp
export UNCERT_API_URL=http://localhost:8001/api
export UNCERT_PAT=uncert_pat_…
uv run uncert-mcp
Локальный пример хоста — mcp.json.example.
Публикация на PyPI
Релиз: поднять version в pyproject.toml, тег mcp-v0.1.0 (совпадает с
версией) или Actions → Publish MCP to PyPI → Run workflow.
Нужен Trusted Publisher на PyPI (проект uncert-mcp, репо
prakt1ka/uncert, workflow publish-mcp.yml, environment pypi).
Metadata
Release files for uncert-mcp 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| uncert_mcp-0.2.0.tar.gz | 7.7 kB | Without provenance | Details for uncert_mcp-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| uncert_mcp-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for uncert_mcp-0.2.0-py3-none-any.whl |
Total release size: 17.4 kB
Release files / uncert_mcp-0.2.0.tar.gz
| Download URL | uncert_mcp-0.2.0.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d111b5c8c117e3d4b7c9168c0d7963ddf9594c4d3c849788905309d4e1ebb088
|
|
BLAKE2b-256 checksum How to use checksums |
6ec265b17e5101d73c9f90e19cc88ef5d1c6947b4aeba23ccd34f555e71bd20e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / uncert_mcp-0.2.0-py3-none-any.whl
| Download URL | uncert_mcp-0.2.0-py3-none-any.whl |
|---|---|
| Size | 9.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0f2f6560c5e2e87541ef2bfa7f83ca296fc6ae11d276b7ee41bcac20da98992a
|
|
BLAKE2b-256 checksum How to use checksums |
7b0af41697ee8252ed2f51945c63f03770b40e77db852e4b828f949195ef0b44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for uncert-mcp 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.