MCP
Connect Claude to your organisation's Lantern over the Model Context Protocol. Query logs, traces and metrics, work alerts and monitors, and manage dashboards and synthetic checks as yourself.
Lantern serves a Model Context Protocol endpoint on your organisation's host, so Claude, or any other MCP client, can do in conversation what you do in the console:
- query logs, traces and metrics, and open a trace;
- read the service map, a service's dependencies, versions and recent deploys;
- list, acknowledge and resolve alerts, and read, create and silence monitors;
- read and change dashboards and saved queries;
- check synthetic flows and their runs, and triage client issues;
- reach every other call of Lantern's API (teams, ownership, runners, status pages and more).
Every call is made as you. The endpoint has no permissions of its own: your role (viewer, editor or admin), your team memberships and your organisation's isolation apply exactly as they do in the console, and what Claude changes is recorded in the audit log under your name.
https://<org>.lntrn.dev/mcpIn the xeonr organisation, connect the Xeonr MCP gateway,
https://mcp.xeonr.io/mcp, instead. xeonr.lntrn.dev/mcp no longer serves
people. Every other organisation keeps its own host above.
Connect
The xeonr organisation: the Xeonr MCP gateway
The gateway is one connector for every Xeonr product. In Claude Code:
claude mcp add --transport http xeonr https://mcp.xeonr.io/mcpThen run /mcp in Claude Code and choose xeonr to sign in. On the web,
desktop or mobile, add a custom connector in Settings → Connectors with
https://mcp.xeonr.io/mcp. Sign in with Xeonr Auth and pick the teams,
products (include Lantern) and toolsets Claude may use; change them later at
mcp.xeonr.io.
There Lantern's tools are named lantern_<tool>, for instance
lantern_query and lantern_get_trace. The gateway lists its core tools
directly; Claude finds the rest with xeonr_find_tools and runs them with
xeonr_call_tool. Every product's tools are in the
gateway catalogue, and xeonr_whoami says
who you are acting as.
Other organisations: connect with a key
Every other organisation connects to its own host with a key, below. Ask
Claude to run whoami. It answers with the organisation, who you are acting
as, and your role. A viewer can read everything and change nothing; the write
tools only appear for roles that can use them.
Connect with a key
CI jobs, scripts and organisations other than xeonr send a key as the
bearer. Use the same keys as the CLI:
a Lantern key (lk_…) in your organisation.
claude mcp add --transport http lantern https://<org>.lntrn.dev/mcp \
--header "Authorization: Bearer lk_…"A key acts with its own role, never above its creator's, and a team key acts as its team for anything the team owns.
What to ask
Claude picks the tools; you ask in plain language:
What changed before the error rate on
checkoutwent up at 14:00?
Show me the slowest traces for
orders-apiin the last hour, then open the worst one.
Which alerts are firing, and who owns them?
Is the
loginsynthetic flow failing from every location, or one?
Silence the
disk-pressuremonitor for two hours. It's the planned maintenance.
Tools
Named tools cover the common work. Each is one call of the Lantern API, with
the same fields. On the Xeonr MCP gateway (the xeonr organisation) each is
prefixed lantern_, and the gateway catalogue lists which are offered there.
| Area | Tools |
|---|---|
| Logs, traces and metrics | query, batch_query, query_facets, get_log_context, get_trace, search_traces, get_span_breakdown, list_scope_values, list_attribute_keys, suggest_attribute_values, list_metrics, list_metric_labels, list_metric_label_values |
| Services | list_services, get_service, get_service_dependencies, get_service_map, list_endpoints, list_workloads, list_deploy_events, list_service_versions |
| Alerts and monitors | list_alerts, get_alert, acknowledge_alert, resolve_alert, list_monitors, get_monitor, create_monitor, delete_monitor, list_state_history, list_silences, create_silence, delete_silence, list_channels |
| Dashboards and saved queries | list_dashboards, get_dashboard, delete_dashboard, list_saved_queries, get_saved_query |
| Client issues | list_issues, get_issue, list_issue_occurrences, update_issue |
| Synthetics | list_flows, get_flow, get_flow_status, list_flow_runs, get_flow_run, get_flow_uptime, run_flow_now, set_flow_enabled |
| Everything else | whoami, list_rpcs, describe_rpc, call_rpc |
list_rpcs lists every call of the API with whether it reads, writes or
deletes and the role it needs. describe_rpc gives one call's request and
response shape, and call_rpc makes it. They are how Claude creates or
changes a dashboard, updates a monitor, tests a synthetic flow, or manages
teams and ownership.
Time ranges
Wherever a call takes a time range, {"last": "6h"} means the six hours up to
now. Use m, h, d or w. {"last": "1h", "to": "2026-10-22T10:00:00Z"}
is the hour before a moment, and from and to still work.
Queries
query takes a signal (SIGNAL_LOGS, SIGNAL_SPANS or SIGNAL_METRICS),
a range, and optionally filters, a full-text search and a scope
(environment, cluster, deployment, version).
- Without
aggit returns rows, up to 1000 a call;nextCursorpages on. - With
agg(for instanceAGGREGATION_FN_ERROR_RATE,_P95,_COUNT) it returns a series over time, split bygroupBy;shape: QUERY_SHAPE_TABLEgives one value per group over the whole window.
Claude finds the attribute keys and values to filter on with
list_attribute_keys and suggest_attribute_values.
The synthetics runner's own telemetry is left out of query,
query_facets, search_traces, list_attribute_keys and
suggest_attribute_values, as it is in the console, unless the call sets
scope.synthetic to SYNTHETIC_TRAFFIC_INCLUDE or SYNTHETIC_TRAFFIC_ONLY.
What a run caused in your services shows, tagged lantern.synthetic = true
(see
Synthetics).
A misspelt field or enum is refused with the name of the field, not ignored, so a typo can't turn into a filter that matches everything.
Limits
- Credentials never pass through. Calls that create or rotate API keys,
client keys, runner or tunnel keys, secrets or automation keys, and source-map
uploads, are refused. Do those in the console or with
lntrn. - Streaming calls (live tail) aren't offered. Page a
querywith its cursor instead. - Large results are cut. A result over 56 KiB is truncated, with a note;
ask for a shorter range, more filters or a smaller
limit. - Team-owned objects. A connector's sign-in doesn't carry your team list.
Reads, and writes to objects nobody owns, work. A write to a team's
monitor or dashboard may answer
unavailable. Use a team key for those. - Administrative calls (organisation administration, edge credentials) and the synthetics runner's own calls are not available over MCP.
Troubleshooting
| You see | Meaning |
|---|---|
401 on connect | No token, or it expired. Sign in again (/mcp in Claude Code), or check the key hasn't expired or been revoked. |
410 from xeonr.lntrn.dev/mcp | That endpoint is retired for the xeonr organisation. Connect https://mcp.xeonr.io/mcp instead. |
| A tool Claude mentions isn't there | Your role can't call it. whoami shows your role, and list_rpcs shows what each call needs. |
permission_denied | You aren't a member of the team that owns the object, or your role is too low. |
unavailable on a write | Your team membership couldn't be read from a connector sign-in. Use a team key. |
bad request … unknown field | A field name is wrong. describe_rpc shows the right ones. |