An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

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"
}
}
}
}
```