Quick start
1. Create a management key
In the app open API Keys → New API Key, choose the type “Management” and copy the key. It starts with ue_live_ and is shown once. Log ingest keys (ue_ingest_) do not work here.
2. Add the server to your client
Endpoint: https://api.uptimeeye.com/mcp (streamable HTTP), authenticated with Authorization: Bearer ue_live_…. With Claude Code it is one command:
claude mcp add --transport http uptimeeye https://api.uptimeeye.com/mcp \
--header "Authorization: Bearer ue_live_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"3. Ask
Try “List my UptimeEye monitors” — then describe what you want monitored. The assistant looks up your notification channels first, because every monitor needs one.
Connect your client
Claude Code
The quick start command adds the server for you alone. Add --scope project to share it with your team via .mcp.json, and keep the key out of that file: in single quotes, ${UPTIMEEYE_API_KEY} goes into the file as it is, and Claude Code reads the key from that environment variable when it starts.
claude mcp add --transport http --scope project uptimeeye https://api.uptimeeye.com/mcp \
--header 'Authorization: Bearer ${UPTIMEEYE_API_KEY}'Cursor
Global in ~/.cursor/mcp.json, or per project in .cursor/mcp.json:
{
"mcpServers": {
"uptimeeye": {
"url": "https://api.uptimeeye.com/mcp",
"headers": { "Authorization": "Bearer ue_live_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" }
}
}
}VS Code (GitHub Copilot agent mode)
VS Code prompts for the key once and stores it securely:
{
"inputs": [
{ "type": "promptString", "id": "uptimeeye-key", "description": "UptimeEye API key (ue_live_…)", "password": true }
],
"servers": {
"uptimeeye": {
"type": "http",
"url": "https://api.uptimeeye.com/mcp",
"headers": { "Authorization": "Bearer ${input:uptimeeye-key}" }
}
}
}Claude Desktop
Claude Desktop starts local servers only, so it connects through the mcp-remote bridge (needs Node.js). Add this to claude_desktop_config.json and restart the app:
{
"mcpServers": {
"uptimeeye": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://api.uptimeeye.com/mcp", "--header", "Authorization:${UPTIMEEYE_AUTH}"],
"env": { "UPTIMEEYE_AUTH": "Bearer ue_live_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" }
}
}
}Other clients: anything that supports remote MCP servers over streamable HTTP with a custom header works with the endpoint and header above.
Available tools
Tools carry MCP annotations: read-only tools are marked as such, delete tools as destructive, so well-behaved clients ask before running them.
| Tool | What it does |
|---|---|
| list_monitors | All uptime monitors with id, name, URL, status and check interval. |
| get_monitor | Full configuration of one monitor, with its steps and assertions. |
| list_locations | Regions a monitor can check from, e.g. eu-central-1, and whether each is served right now. |
| create_monitor | HTTP, TCP port (host:port), DNS or ICMP check with interval, timeout, assertions (status code, response time, body keyword, header, JSON path, certificate expiry, DNS record), request headers and body, regions and tags; or a flow of several steps. |
| update_monitor | Change any of the fields above; fields you leave out stay as they are. |
| add_monitor_step / update_monitor_step | Add a step to a monitor (which makes it a flow) or change one step by its position; a later step can use a value an earlier one extracts. |
| remove_monitor_step | Remove one step of a flow. Destructive. |
| pause_monitor / resume_monitor | Stop and restart checks and alerts. |
| delete_monitor | Destructive — the assistant asks before calling it. |
| list_monitor_executions | A monitor's recent checks, newest first, per region whether they succeeded and how long they took, optionally only the failed ones. |
| get_monitor_execution | One check (the latest by default) with the result of every region and step: status code, error, timings, certificate or DNS records, and each assertion with its outcome. With a link to it in the app. |
| get_monitor_statistics | Uptime percentage, average response time and number of checks and incidents over a range, as the monitor's overview shows them. |
| run_monitor | Run a check now, e.g. to confirm a fix. |
| list_scheduled_tasks | All scheduled tasks: the cron jobs and workers that report to UptimeEye with heartbeats. |
| get_scheduled_task | Details of one task, including the URL your job calls. |
| get_scheduled_task_runs | A task's status, last and next expected heartbeat and its heartbeats (start, success, fail) over a range. |
| create_scheduled_task | Task with a simple interval (every 5 minutes) or a cron expression with time zone, plus grace period. |
| update_scheduled_task | Change schedule, grace period, channel or tags. |
| pause_scheduled_task / resume_scheduled_task | No alerts while paused. |
| delete_scheduled_task | Destructive — the assistant asks before calling it. |
| list_notification_channels | Alert targets. Monitors and tasks reference a channel by id. |
| get_notification_channel_details | A channel with its integrations, the monitors and tasks that use it and its recent notifications with their deliveries, to find out why an alert did not arrive. |
| create_notification_channel | Channel with email, webhook, Teams, Discord or PagerDuty integrations. Slack and Telegram need your own sign-in in the app; the tool answers with the page to do it. |
| update_notification_channel | Rename or retag a channel. |
| add_integration / update_integration | Add an integration to a channel or change its target. |
| remove_integration | Remove one integration from a channel. Destructive. |
| send_test_notification | Send a test to every integration of a channel. |
| delete_notification_channel | Destructive; fails while monitors still use the channel. |
| list_status_pages | Your status pages. |
| get_status_page | A status page with its settings, sections, components and public URL. |
| create_status_page | Status page with sections of monitors and scheduled tasks. It is public at once, so the assistant shows it to you first. |
| update_status_page | Change name, slug, language, theme, sections, subscriptions or white-label branding. |
| delete_status_page | Destructive; the public URL stops working. |
| add_status_page_domain / list_status_page_domains | Connect a custom domain (a subdomain such as status.acme.com) and see its state; the result gives the CNAME record to set. |
| delete_status_page_domain | Remove a custom domain. Destructive. |
| list_status_page_subscribers / delete_status_page_subscriber | The confirmed subscribers of a status page; removing one is destructive. |
| get_status_page_report_schedule / set_status_page_report_schedule | The uptime report of a status page, emailed weekly or monthly to its recipients. |
| list_incidents | Incidents, optionally filtered by status. |
| get_incident | One incident with its updates, affected monitors and tasks and status pages. |
| create_incident / create_incident_update | Open an incident on status pages or post an update to its history. Subscribers get an email, so the assistant shows you the text first. |
| update_incident / update_incident_update | Correct an incident or one of its updates; visitors see the change. |
| delete_incident / delete_incident_update | Destructive — the assistant asks before calling them. |
| list_variables | Your variables; a secure variable's value is never returned. |
| create_variable / update_variable | Set a variable monitors use as {{KEY}}; mark secrets as secure. |
| delete_variable | Destructive; monitors that still use the variable stop resolving it. |
| list_log_alerts / get_log_alert | Your log alerts with their condition, channel and state. |
| create_log_alert / update_log_alert | Alert when more or fewer log lines than a threshold match a LogsQL query within a window. |
| pause_log_alert / resume_log_alert | Not checked and no alerts while paused. |
| delete_log_alert | Destructive — the assistant asks before calling it. |
| preview_log_alert | Measure a log alert condition now: matching lines and whether it would fire. |
| list_log_alert_events | A log alert's recent state changes with the counted value and the reason. |
Scheduled tasks are pinged by your job: GET https://api.uptimeeye.com/v1/beat/{taskId} on success. Optional: /start when the run begins and /fail to report a failed run and alert immediately. GET, POST and HEAD are all accepted.
Logs tools
Five read-only tools search the logs your services send to UptimeEye Logs. Queries are LogsQL, e.g. service:api level:error. The time range is set with start and end (RFC 3339) and defaults to the last hour; every result states the range actually searched, which your plan's retention can shorten.
| Tool | What it does |
|---|---|
| query_logs | Search the logs with a LogsQL query, newest first. Optional start, end and limit (default 50, at most 200). Long values are cut, and the result says whether rows or values were cut. |
| logs_histogram | Log volume over time for a query (about 48 buckets), to see when errors started or spiked. |
| logs_fields | Which fields exist in the matching logs and how many entries carry each, so queries use field names that exist. |
| logs_facets | The most frequent values of one field (e.g. service, level, host), optionally restricted by a query. limit default 10, at most 50. |
| get_log_context | Context of one entry from a query_logs result: its error signature, how often it occurred in the last 24 hours, and related entries (same trace or request, or the preceding lines of the same service). |
Example prompts
- “Monitor https://shop.example.com every minute from eu-central-1 and us-east-1, alert me by email at ops@example.com if it's down or slower than 2 seconds.”
- “Create a heartbeat for our nightly backup at 02:30 Europe/Berlin with 30 minutes grace and give me the curl line for the crontab.”
- “Alert me if our Postgres at db.example.com:5432 stops accepting connections — check every minute.”
- “Which monitors are currently down, and are there open incidents?”
- “The checkout monitor went down at 14:05. What did the checkout service log around then, and is that error new?”
- “Tag every monitor whose URL contains staging with
stagingand pause them.” - “Move all monitors from the ‘Old alerts’ channel to ‘On-call’, then delete ‘Old alerts’.”
Set up a project with an AI agent
Coding agents (Claude Code, Cursor, Copilot) can read your repository and the UptimeEye docs at the same time. Paste one of these prompts into the agent in your project; it finds the endpoints, jobs and stack by itself.
Monitor every public endpoint
Read https://uptimeeye.com/llms.txt. Find the public URLs and health endpoints of this project (routes, deployment config, README). Using the UptimeEye MCP server, create one monitor per endpoint: 30 s interval if my plan allows it, expected status 200, attached to the notification channel I pick. Show me the list before you create anything.
Add heartbeats to cron jobs
Find every cron job, scheduled worker and CI schedule in this repository. For each one, create an UptimeEye scheduled task via MCP with the matching schedule and a sensible grace period. Then change the job so it calls https://api.uptimeeye.com/v1/beat/<taskId> on success and https://api.uptimeeye.com/v1/beat/<taskId>/fail on error.
Ship logs
Add UptimeEye log shipping to this project. Follow https://uptimeeye.com/docs/logs/ingest and pick the integration guide that matches our stack (Kubernetes, Docker, OpenTelemetry, Node.js, Python, Go, Spring Boot, .NET, …). Read the ingest key from the environment variable UPTIMEEYE_INGEST_KEY and use service and env as stream fields.
ue_ingest_…) is created in the app under API Keys — the MCP server cannot create keys.Permissions & safety
- A management key acts on one organization with the same rights as the REST API. Create one key per client so you can revoke them separately.
- A management key can read all of the organization's logs, within your plan's retention, through the logs tools and the REST API. There is no narrower log permission, so treat the key like the logs themselves.
- Delete tools are annotated as destructive and the server instructs the assistant to ask for explicit confirmation first.
- Plan limits apply exactly as in the app — the assistant cannot exceed your monitor count or minimum interval.
- Keys are stored hashed; the plain key is shown once at creation. Requests are processed in the EU (Germany).
Prefer infrastructure as code? The same operations are available through the Terraform provider.
FAQ
What is the UptimeEye MCP server?
https://api.uptimeeye.com/mcp (streamable HTTP). AI assistants that speak MCP can list, create and change monitors and flows, cron job heartbeats, notification channels, status pages, incidents, log alerts and variables of your organization — the same operations as the REST API and the Terraform provider — and search the organization's logs.Which plan do I need?
Which clients work?
Authorization header over streamable HTTP: Claude Code, Cursor, VS Code, Windsurf and others. Clients that only support local stdio servers (such as Claude Desktop) connect through the mcp-remote bridge, which needs Node.js. Web connectors that require OAuth are not supported yet.Can the assistant set up Slack, Teams or PagerDuty alerts?
Can the assistant read my logs?
query_logs, logs_histogram, logs_fields, logs_facets and get_log_context search your logs with LogsQL, show their volume over time and put a single error entry into context. A management key can read all of the organization's logs. To ship logs first, follow the Logs docs — a coding agent can do that setup for you (see the prompts above).