https://github.com/last9/last9-mcp-server
Last9 MCP Server
https://github.com/last9/last9-mcp-server
Last synced: 20 days ago
JSON representation
Last9 MCP Server
- Host: GitHub
- URL: https://github.com/last9/last9-mcp-server
- Owner: last9
- Created: 2025-03-28T01:46:45.000Z (22 days ago)
- Default Branch: main
- Last Pushed: 2025-03-28T05:50:04.000Z (22 days ago)
- Last Synced: 2025-03-28T06:27:32.614Z (22 days ago)
- Language: Go
- Size: 7.81 KB
- Stars: 2
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-mcp-servers - Last9 MCP Server - Provides real-time production context (logs, metrics, traces) to AI agents for faster code debugging (Table of Contents / Developer Tools)
- awesome-mcp-servers - Last9 MCP Server - Provides real-time production context (logs, metrics, traces) to AI agents for faster code debugging (Table of Contents / Developer Tools)
- awesome-mcp-servers - Last9 - Seamlessly bring real-time production context—logs, metrics, and traces—into your local environment to auto-fix code faster. (Official Servers)
README
# Last9 MCP Server
A [Model Context Protocol](https://modelcontextprotocol.io/) server implementation for [Last9](https://last9.io) that enables AI agents to query your data using Last9.
## Status
Works with Claude desktop app. Implements two MCP [tools](https://modelcontextprotocol.io/docs/concepts/tools):
- get_exceptions: Get list of execeptions
- get_servicegraph: Get Service graph for an endpoint from the exception## Installation
You can install the Last9 MCP server using either
### Homebrew
```
# Add the Last9 tap
brew tap last9/tap# Install the Last9 MCP CLI
brew install last9-mcp
```### NPM
```bash
# Install globally
npm install -g @last9/mcp-server# Or run directly with npx
npx @last9/mcp-server
```## Configuration
### Environment Variables
The service requires the following environment variables:
- `LAST9_AUTH_TOKEN`: Authentication token for Last9 MCP server (required)
- `LAST9_BASE_URL`: Last9 API URL (required)## Usage with Claude Desktop
Configure the Claude app to use the MCP server:
```bash
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
``````json
{
"mcpServers": {
"last9": {
"command": "/opt/homebrew/bin/last9-mcp",
"env": {
"LAST9_AUTH_TOKEN": "your_auth_token",
"LAST9_BASE_URL": "https://otlp.last9.io"
}
}
}
}
```## Usage with Cursor
Configure Cursor to use the MCP server:
1. Open Cursor settings
2. Navigate to MCP
3. Click Add New Global Configuration
4. Add following stanza. If you already have a MCP server configured, only add the last9 stanza.```json
{
"mcpServers": {
"last9": {
"command": "/opt/homebrew/bin/last9-mcp",
"env": {
"LAST9_AUTH_TOKEN": "your_auth_token",
"LAST9_BASE_URL": "https://otlp.last9.io"
}
}
}
}
```