Invariance MCP
Official@invariance/mcp
Сервер MCP (Model Context Protocol), который подключает ИИ-агентов для написания кода к платформе наблюдаемости Invariance. Он предоставляет таким инструментам, как Claude Desktop, Cursor и Claude Code, прямой доступ к вашим запускам (runs), узлам (nodes), мониторам, сигналам, результатам анализа (findings), проверкам (reviews) и многому другому.
MCP — это открытый протокол, позволяющий ИИ-ассистентам использовать внешние инструменты и источники данных. Этот сервер реализует его для Invariance, чтобы ваш ИИ-ассистент мог запрашивать данные наблюдаемости, расследовать проблемы и анализировать поведение агентов, не прерывая диалог.
Установка
npm install -g @invariance/mcpИли запустите напрямую с помощью npx (рекомендуется для конфигураций клиентов MCP):
npx @invariance/mcpRelated MCP server: Claude Code Starter Kit MCP
Настройка
Переменные окружения
Переменная | Обязательно | По умолчанию | Описание |
| Да | — | Ваш API-ключ Invariance |
| Нет |
| Базовый URL API |
| Нет |
| Режим транспорта: |
| Нет |
| Порт для транспорта SSE/HTTP |
| Нет |
| Тайм-аут запроса в миллисекундах |
Получите свой API-ключ на странице app.invariance.ai/settings/api-keys.
Claude Desktop
Добавьте в конфигурацию Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json на macOS):
{
"mcpServers": {
"invariance": {
"command": "npx",
"args": ["-y", "@invariance/mcp"],
"env": {
"INVARIANCE_API_KEY": "your-api-key"
}
}
}
}Claude Code
Добавьте в конфигурацию Claude Code (.claude/settings.json или ~/.claude/settings.json):
{
"mcpServers": {
"invariance": {
"command": "npx",
"args": ["-y", "@invariance/mcp"],
"env": {
"INVARIANCE_API_KEY": "your-api-key"
}
}
}
}Cursor
Добавьте в настройки MCP для Cursor (.cursor/mcp.json):
{
"mcpServers": {
"invariance": {
"command": "npx",
"args": ["-y", "@invariance/mcp"],
"env": {
"INVARIANCE_API_KEY": "your-api-key"
}
}
}
}Доступные инструменты
Сервер предоставляет 37 инструментов, охватывающих весь API Invariance. Имена соответствуют шаблону invariance_<ресурс>_<действие>.
Запуски (Runs) (invariance_run_*)
start, get, list, finish, fail, verify, metrics
Узлы (Nodes) (invariance_node_*)
write, list
Мониторы (Monitors) (invariance_monitor_*)
create, list, get, update, pause, resume, evaluate, executions, findings
Сигналы (Signals) (invariance_signal_*)
emit, list, get, acknowledge, resolve
Результаты анализа (Findings) (invariance_finding_*)
list, get, update
Проверки (Reviews) (invariance_review_*)
list, get, claim, unclaim, resolve
Агенты (Agents) (invariance_agent_*)
me, set_key
Аналитика (Insights)
invariance_narrative_get (сводка запуска, синтезированная LLM), invariance_ask (вопросы и ответы по вашей базе знаний + запускам), invariance_kb_pages_list, invariance_kb_page_get
Для сложных аргументов объектов (тело монитора, данные сигнала, ввод/вывод узла, метаданные запуска) инструменты принимают JSON-строки, которые сервер парсит перед отправкой в API.
Устаревшие псевдонимы инструментов
Оригинальные 6 имен инструментов из ранних версий сохранены как псевдонимы, чтобы существующие конфигурации клиентов продолжали работать: invariance_create_run, invariance_get_run, invariance_list_runs, invariance_write_node, invariance_list_nodes, invariance_verify_run.
HTTP-транспорт
Чтобы запустить сервер через Streamable HTTP вместо stdio:
INVARIANCE_API_KEY=your-api-key INVARIANCE_MCP_TRANSPORT=http INVARIANCE_MCP_PORT=3000 npx @invariance/mcpСервер предоставляет Streamable HTTP-эндпоинт по адресу http://127.0.0.1:3000/mcp и проверку работоспособности (health check) по адресу http://127.0.0.1:3000/health.
Клиенты MCP, поддерживающие HTTP-транспорт, могут подключаться, используя URL эндпоинта /mcp вместо запуска подпроцесса.
Устранение неполадок
"INVARIANCE_API_KEY environment variable is required"
Убедитесь, что вы установили переменную окружения INVARIANCE_API_KEY в конфигурации вашего клиента MCP. См. руководства по настройке выше.
Сервер не отображается в вашем клиенте MCP
Проверьте правильность пути к файлу конфигурации для вашего клиента
Перезапустите клиент после редактирования конфигурации
Проверьте, что команда
npx @invariance/mcpвыполняется без ошибок в вашем терминале
Ошибки аутентификации
Проверьте, что ваш API-ключ действителен на странице app.invariance.ai/settings/api-keys.
Тайм-ауты соединения
Если вы используете пользовательский INVARIANCE_BASE_URL, проверьте, доступен ли этот URL.
Участие в разработке
См. CONTRIBUTING.md.
Лицензия
MIT
This server cannot be installed
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 Connectors
AI agent observability for production traces, natural-language insights, and improvement loops.
Connect Claude, Cursor, or ChatGPT to your business data. Ask questions, get answers.
Data + AI observability — monitor and troubleshoot production-grade agents and the context they use.
Connect Claude, Cursor, Codex, and other AI tools to your robotics mission data.
Related MCP Servers
- AlicenseAqualityCmaintenanceConnects AI assistants to Warpmetrics telemetry data to monitor AI agent performance, execution runs, and LLM costs. It allows users to query success rates, latency, and spend metrics directly through natural language interfaces.2059MIT
- AlicenseCqualityCmaintenanceEnables AI-powered automated testing, security scanning, code review, and maintenance tasks directly within Claude Code or desktop.124MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI-driven incident response by connecting Claude to monitoring tools like Prometheus, Grafana, Loki, PagerDuty, and Slack for automated investigation and runbook generation.9

Confident AIofficial
AlicenseNot gradedqualityBmaintenanceConnects AI-powered tools to the Confident AI platform for evaluating, observing, and iterating on AI quality, enabling cloud evaluations, dataset management, prompt versioning, production tracing, and human annotations directly from editors like Cursor and Claude Code.2MIT
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/Hardik-Singh/invariance-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server