# LastPing MCP server

> Lets an AI agent set up, manage, and read its own monitoring to alert when tasks fail, stall, or require human approval.

- Repository: https://github.com/lastping-dev/lastping-app
- Page: https://hostedmcp.org/servers/lastping-dev/lastping-app
- Transport: remote
- Stars: 3
- License: MIT
- Latest version: 0.2.2

## Install

### Claude Code

```sh
claude mcp add --transport http lastping-app https://mcp.lastping.dev/mcp
```

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

```json
{
  "mcpServers": {
    "lastping-app": {
      "url": "https://mcp.lastping.dev/mcp"
    }
  }
}
```

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

```json
{
  "servers": {
    "lastping-app": {
      "type": "http",
      "url": "https://mcp.lastping.dev/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"lastping-app","type":"http","url":"https://mcp.lastping.dev/mcp"}'
```

### Codex

```sh
codex mcp add lastping-app --url https://mcp.lastping.dev/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.lastping-app]
url = "https://mcp.lastping.dev/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http lastping-app https://mcp.lastping.dev/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "lastping-app": {
      "url": "https://mcp.lastping.dev/mcp",
      "type": "http"
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `LASTPING_AUTH` | no | no |  |

## FAQ

### What does LastPing monitor?

It monitors AI agents for failures, stalls, or requests for approval, as well as cron jobs and CI/CD pipelines.

### How does LastPing differ from traditional monitoring?

Instead of watching a resource and reporting when it looks wrong, LastPing waits for a check-in and alerts when it fails to receive one.

### Is there a cost for individuals to use LastPing?

Yes, the service is free for individuals.

### Can I use LastPing with my existing commands?

Yes, you can use the LastPing CLI to wrap any command to report its start, exit code, and traces.
