Last9 MCP Server
by last9
Last9 MCP Server is a Model Context Protocol server implementation for Last9. It enables AI agents to seamlessly bring real-time production context — logs, metrics, and traces — into your local environment to auto-fix code faster.
Last updated: N/A
What is Last9 MCP Server?
The Last9 MCP Server is an implementation of the Model Context Protocol designed to provide AI agents with real-time production context, including logs, metrics, and traces, from the Last9 platform. This allows AI tools to understand and address issues more effectively.
How to use Last9 MCP Server?
To use the Last9 MCP Server, you need to install it via Homebrew or NPM. Then, configure your IDE (Claude, Cursor, Windsurf, or VSCode) by adding a new MCP server and providing the necessary environment variables (LAST9_AUTH_TOKEN, LAST9_BASE_URL, LAST9_REFRESH_TOKEN) obtained from your Last9 account.
Key features of Last9 MCP Server
Provides real-time production context to AI agents
Supports Model Context Protocol (MCP)
Integrates with Claude, Cursor, Windsurf, and VSCode
Offers tools for retrieving exceptions, service graphs, and logs
Enables managing log drop rules
Use cases of Last9 MCP Server
Automated code fixing with AI assistance
Troubleshooting production issues using real-time data
Enhancing AI agent understanding of application behavior
Improving the accuracy of AI-driven debugging tools
FAQ from Last9 MCP Server
What is the Model Context Protocol (MCP)?
What is the Model Context Protocol (MCP)?
MCP is a protocol that allows AI agents to access real-time production context, such as logs, metrics, and traces.
What IDEs are supported by the Last9 MCP Server?
What IDEs are supported by the Last9 MCP Server?
The Last9 MCP Server works with Claude desktop app, or Cursor, Windsurf, and VSCode (Github Copilot) IDEs.
How do I install the Last9 MCP Server?
How do I install the Last9 MCP Server?
You can install the Last9 MCP Server using either Homebrew or NPM. See the Installation section in the README for detailed instructions.
What environment variables are required to run the Last9 MCP Server?
What environment variables are required to run the Last9 MCP Server?
The required environment variables are LAST9_AUTH_TOKEN, LAST9_BASE_URL, and LAST9_REFRESH_TOKEN. These can be obtained from your Last9 account.
Where can I find the documentation for the MCP tools?
Where can I find the documentation for the MCP tools?
The README provides documentation for each tool, including get_exceptions, get_service_graph, get_logs, get_drop_rules, and add_drop_rule.