# Last9 MCP Server (MCP server)

> Last9 MCP Server is an MCP server that adds cloud and DevOps tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Your AI agent doesn't know what's broken in production. It has 63 GitHub stars, is released under the Apache-2.0 license and runs locally with npx -y @last9/mcp-server.

Your AI agent doesn't know what's broken in production. This fixes that. Last9 MCP Server connects Claude, Cursor, Windsurf, and any other MCP-capable AI assistant directly to your production observability data — logs, metrics, traces, exceptions, database queries, alerts, and deployments. The agent stops guessing and starts reading the actual signal.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/last9/last9-mcp-server |
| GitHub stars | 63 |
| License | Apache-2.0 |
| Language | Go |
| Transport | stdio |
| Packages | npm: @last9/mcp-server |
| Remote URL | none |
| Needs API key | yes |
| Official | yes |
| Works with | Claude Desktop, Claude Code, Cursor, VS Code |
| Category | Cloud & DevOps |
| Latest release | v0.20.0 (Oct 26, 2026) |
| Last commit | Oct 26, 2026 |

## Install

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "last9-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@last9/mcp-server"
      ],
      "env": {
        "LAST9_REFRESH_TOKEN": "your-value"
      }
    }
  }
}
```

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

### Claude Code

```sh
claude mcp add --env LAST9_REFRESH_TOKEN=your-value --transport stdio last9-mcp-server -- npx -y @last9/mcp-server
```

### Cursor (.cursor/mcp.json)

```json
{
  "mcpServers": {
    "last9-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@last9/mcp-server"
      ],
      "env": {
        "LAST9_REFRESH_TOKEN": "your-value"
      }
    }
  }
}
```

Project file; use ~/.cursor/mcp.json to enable it in every project.

### VS Code (.vscode/mcp.json)

```json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "last9_refresh_token",
      "description": "LAST9_REFRESH_TOKEN",
      "password": true
    }
  ],
  "servers": {
    "last9-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@last9/mcp-server"
      ],
      "env": {
        "LAST9_REFRESH_TOKEN": "${input:last9_refresh_token}"
      }
    }
  }
}
```

Config formats checked against the official docs on 2026-10-07.

## Environment variables

- `LAST9_REFRESH_TOKEN` (secret): Shown in the README's example configuration.

## Similar MCP servers

- [emem, the verifiable memory protocol for the physical world](https://appsgit.com/mcp-servers/emem-the-verifiable-memory-protocol-for-the-physical-world): Shared, verifiable memory for machines and AI. (75 stars, Apache-2.0, official)
- [Neuronto ARD Registry: Agentic Resource Discovery (ARD) Inde](https://appsgit.com/mcp-servers/neuronto-ard-registry-agentic-resource-discovery-ard-inde): Neuronto ARD Registry: one search across every public ARD registry + 200,000+ verified MCP tools. (56 stars, Apache-2.0, official)
- [Synap Memory](https://appsgit.com/mcp-servers/synap-memory): Persistent memory for AI agents — log and recall conversation context over MCP. (77 stars, Apache-2.0, official, needs API key)
- [Uptimepage](https://appsgit.com/mcp-servers/uptimepage): Monitor uptime and incidents, run checks, and publish status updates from your Uptimepage org. (49 stars, AGPL-3.0, official)
- [Fly Io](https://appsgit.com/mcp-servers/fly-io): MCP server for managing Fly.io machines, apps, logs, and Docker images. (81 stars, MIT, official, needs API key)
- [MCP Panther](https://appsgit.com/mcp-servers/mcp-panther): Write detections, investigate alerts, and query logs from your favorite AI agents. (47 stars, Apache-2.0, official, needs API key)

---

Canonical page: https://appsgit.com/mcp-servers/last9-mcp-server
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed daily.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
