Invariance MCP
Official@invariance/mcp
Ein MCP-Server (Model Context Protocol), der KI-Coding-Agenten mit der Invariance-Observability-Plattform verbindet. Er bietet Tools wie Claude Desktop, Cursor und Claude Code direkten Zugriff auf Ihre Runs, Nodes, Monitore, Signale, Findings, Reviews und mehr.
MCP ist ein offenes Protokoll, das es KI-Assistenten ermöglicht, externe Tools und Datenquellen zu nutzen. Dieser Server implementiert es für Invariance, sodass Ihr KI-Assistent Observability-Daten abfragen, Probleme untersuchen und das Verhalten von Agenten analysieren kann, ohne das Gespräch zu verlassen.
Installation
npm install -g @invariance/mcpOder führen Sie es direkt mit npx aus (empfohlen für MCP-Client-Konfigurationen):
npx @invariance/mcpRelated MCP server: Claude Code Starter Kit MCP
Einrichtung
Umgebungsvariablen
Variable | Erforderlich | Standard | Beschreibung |
| Ja | — | Ihr Invariance API-Schlüssel |
| Nein |
| API-Basis-URL |
| Nein |
| Transportmodus: |
| Nein |
| Port für SSE/HTTP-Transport |
| Nein |
| Request-Timeout in Millisekunden |
Sie erhalten Ihren API-Schlüssel unter app.invariance.ai/settings/api-keys.
Claude Desktop
Fügen Sie dies zu Ihrer Claude Desktop-Konfiguration hinzu (~/Library/Application Support/Claude/claude_desktop_config.json unter macOS):
{
"mcpServers": {
"invariance": {
"command": "npx",
"args": ["-y", "@invariance/mcp"],
"env": {
"INVARIANCE_API_KEY": "your-api-key"
}
}
}
}Claude Code
Fügen Sie dies zu Ihrer Claude Code-Konfiguration hinzu (.claude/settings.json oder ~/.claude/settings.json):
{
"mcpServers": {
"invariance": {
"command": "npx",
"args": ["-y", "@invariance/mcp"],
"env": {
"INVARIANCE_API_KEY": "your-api-key"
}
}
}
}Cursor
Fügen Sie dies zu Ihren Cursor MCP-Einstellungen hinzu (.cursor/mcp.json):
{
"mcpServers": {
"invariance": {
"command": "npx",
"args": ["-y", "@invariance/mcp"],
"env": {
"INVARIANCE_API_KEY": "your-api-key"
}
}
}
}Verfügbare Tools
Der Server stellt 37 Tools bereit, die die vollständige Invariance-API abdecken. Die Namen folgen dem Schema invariance_<resource>_<action>.
Runs (invariance_run_*)
start, get, list, finish, fail, verify, metrics
Nodes (invariance_node_*)
write, list
Monitore (invariance_monitor_*)
create, list, get, update, pause, resume, evaluate, executions, findings
Signale (invariance_signal_*)
emit, list, get, acknowledge, resolve
Findings (invariance_finding_*)
list, get, update
Reviews (invariance_review_*)
list, get, claim, unclaim, resolve
Agenten (invariance_agent_*)
me, set_key
Insights
invariance_narrative_get (LLM-synthetisierte Run-Zusammenfassung), invariance_ask (turn-basierte Q&A über Ihre KB + Runs), invariance_kb_pages_list, invariance_kb_page_get
Für komplexe Objektargumente (Monitor-Body, Signaldaten, Node-Input/Output, Run-Metadaten) akzeptieren die Tools JSON-kodierte Strings, die der Server vor der Weiterleitung an die API parst.
Legacy-Tool-Aliase
Die ursprünglichen 6 Tool-Namen aus früheren Versionen bleiben als Aliase erhalten, damit bestehende Client-Konfigurationen weiterhin funktionieren: invariance_create_run, invariance_get_run, invariance_list_runs, invariance_write_node, invariance_list_nodes, invariance_verify_run.
HTTP-Transport
Um den Server über Streamable HTTP anstelle von stdio auszuführen:
INVARIANCE_API_KEY=your-api-key INVARIANCE_MCP_TRANSPORT=http INVARIANCE_MCP_PORT=3000 npx @invariance/mcpDer Server stellt einen Streamable HTTP-Endpunkt unter http://127.0.0.1:3000/mcp und einen Health-Check unter http://127.0.0.1:3000/health bereit.
MCP-Clients, die HTTP-Transport unterstützen, können sich über die /mcp-Endpunkt-URL verbinden, anstatt einen Subprozess zu starten.
Fehlerbehebung
"INVARIANCE_API_KEY environment variable is required"
Stellen Sie sicher, dass Sie die Umgebungsvariable INVARIANCE_API_KEY in Ihrer MCP-Client-Konfiguration gesetzt haben. Siehe die Einrichtungsanleitungen oben.
Server erscheint nicht in Ihrem MCP-Client
Überprüfen Sie, ob der Pfad zur Konfigurationsdatei für Ihren Client korrekt ist
Starten Sie den Client nach dem Bearbeiten der Konfiguration neu
Überprüfen Sie, ob
npx @invariance/mcpin Ihrem Terminal ohne Fehler ausgeführt wird
Authentifizierungsfehler
Überprüfen Sie, ob Ihr API-Schlüssel unter app.invariance.ai/settings/api-keys gültig ist.
Verbindungs-Timeouts
Wenn Sie eine benutzerdefinierte INVARIANCE_BASE_URL verwenden, überprüfen Sie, ob die URL erreichbar ist.
Mitwirken
Siehe CONTRIBUTING.md.
Lizenz
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