A Model Context Protocol server implementation for Last9 that enables AI agents to seamlessly bring real-time production context into your local environment.
Seamlessly bring real-time production context—logs, metrics, and traces—into your local environment to auto-fix code faster.
Documentation
Last9 MCP Server
Overview
A Model Context Protocol server implementation for Last9 that enables AI agents to seamlessly bring real-time production context — logs, metrics, and traces — into your local environment to auto-fix code faster.
Tools Documentation# get_exceptions
Retrieves server-side exceptions over a specified time range.
get_service_graph
Gets the upstream and downstream services for a given span name.
get_logs
Gets logs filtered by optional service name and/or severity level within a specified time range.
get_drop_rules
Gets drop rules for logs.
add_drop_rule
Adds a new drop rule to filter out specific logs.
Installation
You can install the Last9 Observability MCP server using either Homebrew or NPM.
Configuration
The Last9 MCP server requires specific environment variables for configuration.