lzt-dev-mcp
lzt-dev-mcp is an MCP server for the lolzteam/lzt.market ecosystem, providing 29 tools across four groups:
API Testing (
lzt_dev_mcp.testing) — Browse the pylzt API catalog (list_methods,describe_api), inspect method and model schemas (get_method_schema,get_model_schema), and send real requests against testnet (default) or production (gated: requires an explicit token, otherwiseProdBlocked).Flow Orchestration (
lzt_dev_mcp.flow) — Managelzt-flowworkflows: create, list, get, export, import, and compile flows. Discover node types and dynamic methods for flow building (list_catalog,list_dynamic_methods,get_dynamic_method). Start and monitor runs (create_runwith idempotentrun_key,list_runs,get_run,get_run_trace).Event Subscriptions (
lzt_dev_mcp.eventus) — Managelzt-eventussubscriptions (webhook/websocket/sse/polling): list, create, poll pending events, and confirm reads. Register and list token accounts. Browse subscribable event types and check instance reachability. Admin-gated tools requireLZT_DEV_MCP_LZT_EVENTUS_ADMIN_API_KEY.Helpers (
lzt_dev_mcp.helpers) — View rate limits perRateClass, browse typed pylzt error classes with HTTP statuses, and check testnet reachability.
Safety: Prod requests are blocked by default (token required). Testnet requests require LZT_DEV_MCP_TESTNET_BASE_URL; if unset, TestnetUnavailable is raised with no silent fallback to prod.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@lzt-dev-mcplist methods with search='lot'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
lzt-mcp
MCP-сервер для экосистемы lolzteam/lzt.market: тестовые запросы к API (testnet по умолчанию,
прод заблокирован без явного токена), управление сценариями lzt-flow, управление
подписками/событиями lzt-eventus.
uv sync --extra dev
scripts/run.shДокументация для AI-агентов — карта модулей и инварианты, читать перед исходниками.
Установка
uv sync --extra devpylzt и lzt-testnet — git-зависимости (tool.uv.sources в pyproject.toml), обе тянутся с
ветки main репозиториев open-lzt/pylzt и open-lzt/lzt-testnet. Без --extra dev
lzt-testnet не ставится и pytest -m e2e не соберётся.
Related MCP server: amoCRM MCP Server
Подключение к MCP-клиенту
.mcp.json (или конфиг Claude Desktop) — cwd указывает на абсолютный путь до этого репозитория:
{
"mcpServers": {
"lzt-mcp": {
"command": "uv",
"args": ["run", "python", "-m", "lzt_dev_mcp"],
"cwd": "/absolute/path/to/lzt-mcp"
}
}
}По умолчанию сервер поднимается на транспорте stdio (scripts/run.sh делает то же самое).
Для streamable HTTP:
uv run python -m lzt_dev_mcp --http --host 127.0.0.1 --port 8770Инструменты
29 инструментов, зарегистрированы в server.py из четырёх групп:
Тестирование запросов (lzt_dev_mcp.testing)
Инструмент | Что делает |
| Список методов API pylzt с фильтром по namespace/поиску |
| Поля запроса метода + имя модели ответа |
| JSON Schema модели ответа по имени |
| Реальный запрос: testnet по умолчанию, прод — под гвардом |
| Полнотекстовый поиск по каталогу методов |
Flow (lzt_dev_mcp.flow)
Инструмент | Что делает |
| Список flow текущего тенанта |
| Полная спецификация flow по id |
| Создать flow из FlowSpec |
| Экспорт flow как версионированного конверта FlowSpec |
| Импорт flow из экспортированного конверта (гейт: компиляция + dry-run) |
| Компиляция flow в неизменяемый FlowIR |
| Каталог узлов lzt-flow (типы action/logic/trigger) |
| Методы фасада pylzt, доступные как динамические узлы flow |
| Параметры и форма возврата одного динамического метода |
| Запуск скомпилированного flow (идемпотентно по |
| Список ранов текущего тенанта |
| Текущий статус рана |
| Трейс выполнения рана по узлам |
Вспомогательные (lzt_dev_mcp.helpers)
Инструмент | Что делает |
| Опубликованные лимиты запросов по |
| Типизированные классы ошибок pylzt с их аргументами |
| Доступен ли настроенный инстанс lzt-testnet |
События (lzt_dev_mcp.eventus)
Инструмент | Что делает |
| Список подписок lzt-eventus (гейт админ-ключом) |
| Новая подписка (webhook/websocket/sse/polling) |
| Опрос ожидающих событий подписки на polling-транспорте |
| Зафиксировать прогресс чтения подписки до seq |
| Каталог типов событий, на которые можно подписаться |
| Регистрация токен-аккаунта lzt-eventus |
| Список токен-аккаунтов (гейт админ-ключом) |
| Доступен ли настроенный инстанс lzt-eventus |
CRUD в группах Flow и События неполный не случайно: lzt-flow и lzt-eventus сами не
предоставляют update/delete для flow и подписок — инструменты отражают их REST API один в один,
ничего сверху не достроено.
Гард прода
send_request(target="prod") без явного непустого token всегда бросает ProdBlocked
(errors.py) — фолбэка через переменные окружения нет и не будет: config.py намеренно не
содержит настройки allow_prod, чтобы не было второго, более слабого ответа на тот же вопрос.
Прод-клиент собирает client_factory.build_client:
if target == "prod":
if not token:
raise ProdBlocked()
return Client([token])target="testnet" (значение по умолчанию) без настроенного LZT_DEV_MCP_TESTNET_BASE_URL
бросает TestnetUnavailable, а не тихо уходит на прод.
Конфигурация
Переменные окружения с префиксом LZT_DEV_MCP_ (config.py, Settings):
Переменная | Дефолт | Назначение |
| не задан | Куда бьёт |
|
| REST API |
| не задан |
|
|
| REST API |
| не задан | Админ-ключ для маршрутов |
.env.example в репозитории задаёт только первые три переменные — lzt-eventus работает с
дефолтным base_url без ключа, пока не нужны админ-маршруты.
Разработка
uv run ruff check .
uv run ruff format --check .
uv run mypy src
uv run pytest -q # юнит-тесты, e2e пропускаются (маркер `e2e` в pyproject.toml)
uv run pytest -m e2e -q # нужен запущенный lzt-testnet + dev-инстанс lzt-flow.github/workflows/ci.yml гоняет тот же набор (ruff check, ruff format --check, mypy, pytest) на
каждый push в main и на каждый PR.
Экосистема
Лицензия
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseCqualityDmaintenanceAn MCP (Model-Controller-Processor) server for accessing League of Legends client data. This server provides a collection of tools that communicate with the League of Legends Live Client Data API to retrieve in-game data.1212Apache 2.0
- Alicense-qualityFmaintenanceAn MCP server that provides 36 tools for interacting with the amoCRM (Kommo) API v4, covering leads, contacts, companies, and tasks. It supports full entity lifecycles, account analytics, and bulk operations with integrated OAuth 2.0 and rate limiting.2MIT
- AlicenseAqualityBmaintenanceMCP server for YooKassa API enabling payments, refunds, receipts, payouts, webhooks, and more via 20 tools.20443MIT
- Alicense-qualityBmaintenanceMCP server providing access to Lolzteam Market and Forum APIs with 271 tools for account trading, forum interactions, and more.4MIT
Related MCP Connectors
MCP server for AI access to Swagger by SmartBear.
MCP server exposing the Backtest360 engine API as tools for AI agents.
Official MCP server for Qase — manage test cases, runs, suites, defects via AI tools.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/open-lzt/lzt-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server