Last9 MCP Server enables AI agents to query exception and service graph data from Last9's observability platform. The implementation provides two tools: get_exceptions for retrieving server-side exceptions with details like type, message, and stack trace; and get_service_graph for analyzing upstream and downstream service dependencies with throughput metrics. Built with Go and featuring configurable rate limiting, the server integrates seamlessly with Claude desktop app and Cursor, making it valuable for developers who need AI-assisted troubleshooting and service dependency analysis within their Last9 monitoring environment.
暂无评论. 成为第一个评论的人!
登录以参与讨论
Recommended first call when a request names no service or tool. Returns environments, signals (logs, traces, metrics) seen in the last hour, service and alert-group counts, firing alerts, and the current time.
Returns the current time, plus absolute bounds for various time frames in any IANA zone or common abbreviation.
Provides a ranked summary of service performance such as request count, throughput, and error counts.
Returns available environments for your services. This should be run first as other APM tools require an env value.
Full breakdown of service performance metrics such as throughput, error rates, and various percentiles.
Operations grouped by HTTP endpoints, DB calls, messaging, and HTTP clients.
Dependency map with throughput, latency, and error rates for upstream, downstream, and infrastructure.
Compares a current window against an equal-duration baseline to identify regressions or improvements.
Retrieves server-side exceptions with optional service and span filters.
Discovers all databases across your infrastructure, including metrics like throughput, latency, and error rates.
Fetches the actual slowest query executions ordered by duration.
Provides query patterns and aggregates such as frequency and average duration.
Returns server-side metrics from the database host, depending on your DB system.
Executes PromQL range queries over any metric.
Executes instant queries using PromQL.
Retrieves label values for a given series in Prometheus.
Fetches all labels available for a series in Prometheus.
Performs full JSON pipeline log queries with support for aggregations and filters.
Fetches raw log lines for a specified service with optional filtering by severity and body content.
Clusters a service's log lines into message templates based on a specified time window.
Identifies new, increased, decreased, or disappeared log templates compared to a baseline window.
Provides a global catalog of attributes in the log schema for a specified time window.
Lists log drop rules configured in the Last9 Control Plane.
Creates a new drop rule to reduce log volume at the source.
Performs JSON pipeline trace queries for broad searches and aggregations.
Fetches traces by exact trace ID or service name.
Provides a global catalog of attributes in the trace schema.
Retrieves distinct values for a trace attribute.
Lists deployments, config changes, and rollbacks to correlate incidents with changes.
Assesses whether a change has caused any issues by comparing service performance before and after the change.
Lists configured alert groups with metadata and rule counts.
Retrieves alert rule configurations based on various filters.
Fetches currently firing alerts within a specified time window.
Creates a new alert rule in an existing alert group.
Permanently deletes an alert rule.
Creates a notification channel for alerts.
Routes an existing notification channel to an alert group.
Removes an attachment of a notification channel from an alert group.
Permanently deletes a notification channel that has no attachments.
Suggests corrections for entity names that may have been misspelled or abbreviated.
Provides a telemetry profile for a service, detailing available signals and recommended ingest fixes.
Lists all custom dashboards in your organization.
Retrieves the full definition of a dashboard by its ID.
Creates a new custom dashboard with specified panels and queries.
Permanently deletes a custom dashboard by its ID.
Lists services that have profiling data available.
Fetches a nested flamegraph tree for a specified service.
Returns a ranking of the hottest functions for a specified service.
Provides a short summary of the profiling data for a service.