Last9 MCP Server

Seamlessly bring real-time production context—logs, metrics, and traces—into your local environment to auto-fix code faster.

Remote serverstreamable-httpGo

What is the Last9 MCP Server?

Seamlessly bring real-time production context—logs, metrics, and traces—into your local environment to auto-fix code faster.

What you get

Your AI agent doesn't know what's broken in production. This fixes that.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
get_exceptions
get_service_summary
get_service_environments
get_service_performance_details
get_service_operations_summary
get_service_dependency_graph
get_apm_service_deviations
get_databases
get_database_slow_queries
get_database_queries

How to install the Last9 MCP Server

{
  "mcpServers": {
    "last9": {
      "command": "/opt/homebrew/bin/last9-mcp",
      "env": {
        "LAST9_REFRESH_TOKEN": "<your_refresh_token>"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
LAST9_REFRESH_TOKENCredential the server authenticates with.Yes
LAST9_HTTPConfiguration value read at startup.Optional
LAST9_PORTConfiguration value read at startup.Optional
LAST9_API_HOSTEndpoint or connection string the server talks to.Optional

Example prompts to try

  • “Use Last9 to Cursor.”
  • “Use Last9 to Windsurf.”
  • “Use Last9 to Logs.”

Frequently asked questions

Seamlessly bring real-time production context—logs, metrics, and traces—into your local environment to auto-fix code faster. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.