# LastSaaS MCP server

> Provides read-only admin access to SaaS dashboards, user management, billing, logs, and system health via natural language.

- Repository: https://github.com/jonradoff/lastsaas
- Page: https://hostedmcp.org/servers/jonradoff/lastsaas
- Transport: stdio
- Stars: 181
- License: MIT
- Latest version: 1.0.0

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `LASTSAAS_API_KEY` | yes | yes | Root-tenant API key with admin authority (starts with lsk_). Create in Admin → API Keys. |
| `LASTSAAS_URL` | yes | no | Base URL of the LastSaaS instance (e.g., https://your-app.fly.dev or http://localhost:4290) |
| `APP_NAME` | no | no |  |
| `DATABASE_NAME` | no | no |  |
| `FRONTEND_URL` | no | no |  |
| `JWT_ACCESS_SECRET` | no | no |  |
| `JWT_REFRESH_SECRET` | no | no |  |
| `MONGODB_URI` | no | no |  |
| `STRIPE_PUBLISHABLE_KEY` | no | no |  |
| `STRIPE_SECRET_KEY` | no | no |  |
| `STRIPE_WEBHOOK_SECRET` | no | no |  |

## Tools (27)

- `get_about`
- `dashboard_stats`
- `list_tenants`
- `get_tenant`
- `list_users`
- `get_user`
- `list_transactions`
- `get_financial_metrics`
- `search_logs`
- `get_log_severity_counts`
- `get_system_health`
- `get_health_metrics`
- `list_nodes`
- `get_integrations`
- `list_config`
- `get_config`
- `list_plans`
- `get_plan`
- `list_entitlement_keys`
- `list_credit_bundles`
- `list_announcements`
- `list_promotions`
- `list_api_keys`
- `list_root_members`
- `list_webhooks`
- `list_webhook_event_types`
- `get_webhook`

## FAQ

### What can I do with the LastSaaS MCP server?

You can use natural language to query ARR trends, investigate error spikes, audit API keys, or review system health.

### How many tools are available through the MCP server?

The server includes 32 read-only tools for interacting with your application.
