Invariance MCP
Official@invariance/mcp
AIコーディングエージェントをInvarianceオブザーバビリティプラットフォームに接続するMCP(Model Context Protocol)サーバーです。Claude Desktop、Cursor、Claude Codeなどのツールから、実行(runs)、ノード、モニター、シグナル、調査結果(findings)、レビューなどに直接アクセスできるようになります。
MCPは、AIアシスタントが外部ツールやデータソースを利用できるようにするためのオープンプロトコルです。このサーバーはInvariance向けに実装されており、AIアシスタントが会話を中断することなく、オブザーバビリティデータのクエリ、問題の調査、エージェントの動作分析を行えるようにします。
インストール
npm install -g @invariance/mcpまたは、npxを使用して直接実行します(MCPクライアントの設定にはこちらを推奨します):
npx @invariance/mcpRelated MCP server: Claude Code Starter Kit MCP
セットアップ
環境変数
変数 | 必須 | デフォルト | 説明 |
| はい | — | Invariance APIキー |
| いいえ |
| APIベースURL |
| いいえ |
| トランスポートモード: |
| いいえ |
| SSE/HTTPトランスポート用ポート |
| いいえ |
| リクエストタイムアウト(ミリ秒) |
APIキーはapp.invariance.ai/settings/api-keysから取得してください。
Claude Desktop
Claude Desktopの設定(macOSの場合は ~/Library/Application Support/Claude/claude_desktop_config.json)に追加します:
{
"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
CursorのMCP設定(.cursor/mcp.json)に追加します:
{
"mcpServers": {
"invariance": {
"command": "npx",
"args": ["-y", "@invariance/mcp"],
"env": {
"INVARIANCE_API_KEY": "your-api-key"
}
}
}
}利用可能なツール
このサーバーは、Invariance API全体をカバーする37個のツールを公開しています。名前は invariance_<resource>_<action> に従います。
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(ナレッジベースと実行データに対するターンベースのQ&A)、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トランスポート
stdioの代わりにStreamable HTTP経由でサーバーを実行するには:
INVARIANCE_API_KEY=your-api-key INVARIANCE_MCP_TRANSPORT=http INVARIANCE_MCP_PORT=3000 npx @invariance/mcpサーバーは http://127.0.0.1:3000/mcp にStreamable HTTPエンドポイントを、http://127.0.0.1:3000/health にヘルスチェックエンドポイントを公開します。
HTTPトランスポートをサポートするMCPクライアントは、サブプロセスを起動する代わりに /mcp エンドポイントURLを使用して接続できます。
トラブルシューティング
"INVARIANCE_API_KEY environment variable is required"
MCPクライアントの設定で INVARIANCE_API_KEY 環境変数が設定されていることを確認してください。上記のセットアップガイドを参照してください。
MCPクライアントにサーバーが表示されない
クライアントの設定ファイルのパスが正しいか確認してください
設定を編集した後、クライアントを再起動してください
ターミナルで
npx @invariance/mcpがエラーなく実行できるか確認してください
認証エラー
app.invariance.ai/settings/api-keys でAPIキーが有効であることを確認してください。
接続タイムアウト
カスタムの 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