A Model Context Protocol server implementation for Last9 that enables AI agents to seamlessly bring real-time production context into your local environment.
Created 3 months ago
A Model Context Protocol server implementation for Last9 that enables AI agents to seamlessly bring real-time production context into your local environment.
What is A Model Context Protocol server implementation for Last9 that enables AI agents to seamlessly bring real-time production context into your local environment.?
Last9 MCP Server is 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. It works with various IDEs and provides tools for managing exceptions, service graphs, logs, and drop rules.
Documentation
Last9 MCP Server
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.
filters (array, required): List of filter conditions to apply. Each filter
has:
key (string, required): The key to filter on. Only attributes and
resource.attributes keys are supported. For resource attributes, use format:
resource.attributes[key_name] and for log attributes, use format:
attributes[key_name] Double quotes in key names must be escaped.
value (string, required): The value to filter against.
operator (string, required): The operator used for filtering. Valid
values:
"equals"
"not_equals"
conjunction (string, required): The logical conjunction between filters.
Valid values:
"and"
Installation
You can install the Last9 Observability MCP server using either:
Homebrew
brew tap last9/tap
# Install the Last9 MCP CLI
brew install last9-mcp
NPM
npm install -g @last9/mcp-server
# Or run directly with npx
npx @last9/mcp-server
Configuration# Environment Variables
The Last9 MCP server requires the following environment variables:
Note: MCP support in VS Code is available starting v1.99 and is currently in
preview. For advanced configuration options and alternative setup methods,
view the VS Code MCP documentation.
Open VS Code, go to Settings, select the User tab, then Features, then Chat
Click "Edit settings.json"
Copy and paste the server config to your existing file, then save