Overview
Opsmatic ships a built-in Model Context Protocol (MCP) server, so AI assistants can query your monitoring data directly in conversation. Ask Claude “is my production n8n healthy?” or “how much did OpenClaw spend this week?” and it pulls live answers from your Opsmatic account. All tools are read-only — the MCP server can inspect connections, health, executions, usage, anomalies, and alerts, but it can never modify your account.Server URL
Authentication
The MCP server uses OAuth 2.1 — no API keys needed. When you add the server to an MCP client:- The client discovers the authorization server automatically via
/.well-known/oauth-protected-resource(RFC 9728) - It registers itself using dynamic client registration
- You’re redirected to sign in with your Opsmatic account and approve access
- The client receives a token scoped to your user
Authorization uses your regular Opsmatic sign-in. API keys from your profile settings are for the REST API and do not work with the MCP server.
Connecting a Client
- Claude Code
- Claude.ai / Desktop
- Cursor
- VS Code
Add the server from your terminal:The first time a tool is used, Claude Code opens your browser to complete the OAuth sign-in. Run
/mcp inside Claude Code to check connection status or re-authenticate.Available Tools
list_connections
List the monitored connections (n8n, Make.com, OpenClaw) you have access to, with their current status. Parameters: noneget_connection_health
Uptime percentage, average response time, and the latest check and failure for one connection over a recent window.| Parameter | Type | Required | Description |
|---|---|---|---|
connection_id | string | Yes | Connection id from list_connections |
hours | number | No | Window size in hours, 1–48 (default 24) |
list_recent_executions
Recent workflow executions across your connections, optionally filtered by connection or status.| Parameter | Type | Required | Description |
|---|---|---|---|
connection_id | string | No | Limit results to one connection |
status | string | No | One of success, error, running, waiting, cancelled |
limit | number | No | Max rows, 1–100 (default 25) |
get_openclaw_usage
Token usage and estimated USD spend for an OpenClaw connection, broken down by model.| Parameter | Type | Required | Description |
|---|---|---|---|
connection_id | string | Yes | An OpenClaw connection id |
period | string | No | One of day, week, month (default day) |
This tool only works for OpenClaw connections. Calling it with an n8n or Make.com connection returns an error.
list_anomalies
Statistical anomalies detected across your connections — response-time spikes, failure-rate spikes, and unusual OpenClaw token spend. See availability monitoring for how baselines are computed.| Parameter | Type | Required | Description |
|---|---|---|---|
status | string | No | Filter by lifecycle status: open or resolved |
limit | number | No | Max rows, 1–100 (default 25) |
get_alert_history
Recent alert notifications sent for your connections — failures, recoveries, audits, budget warnings, and anomalies.| Parameter | Type | Required | Description |
|---|---|---|---|
limit | number | No | Max rows, 1–100 (default 25) |
Example Prompts
Once connected, try asking your assistant:- “Which of my connections are currently down?”
- “What was the uptime of my production n8n over the last 48 hours?”
- “Show me the failed executions from today and summarize the errors.”
- “How much have I spent on OpenClaw this month, per model?”
- “Are there any open anomalies I should look at?”
Security
- Read-only — no tool can create, modify, or delete anything in your account
- User-scoped — tools only return data for connections you own or can reach through an organization; there is no way to widen the scope from the client
- HTTPS only — the server is only reachable over TLS
- Revocable — remove the connector from your MCP client (or revoke the app from your Opsmatic account settings) to cut off access at any time
Troubleshooting
The OAuth sign-in never completes
The OAuth sign-in never completes
Make sure your client supports OAuth 2.1 with dynamic client registration (recent versions of Claude, Cursor, and VS Code all do). If the browser window was closed mid-flow, remove and re-add the server to restart authorization.
Tools return 'Connection not found or not accessible'
Tools return 'Connection not found or not accessible'
The connection id doesn’t belong to your user or any organization you’re a member of. Call
list_connections first and use an id from its output.The server returns 404
The server returns 404
Check the URL is exactly
https://opsmatic.io/api/mcp and the client is configured for HTTP (Streamable HTTP) transport — the legacy SSE transport is not supported.Empty results from every tool
Empty results from every tool
Your account has no connections yet, or they belong to an organization you haven’t joined. Set one up first — see connections overview.

