← Back to directory
L

LastSaaS MCP Server

Official
Query LastSaaS admin data with AI.
Category
Other #538 of 678
Stars
★ 188 Very popular
Transport
stdio (local process)
Runtime
Go 1.25+
Credentials
API key / credential required
License
MIT
Last commit
44FMRS · D

The source describes a built-in, read-only LastSaaS admin MCP server using stdio and a root-tenant admin API key. The README gives conflicting tool counts, 32 and 26, so canonical tool identifiers are omitted.

Strongest · Security and permissions 11/20 Weakest · Reliability 7/20

Reliability
7/20
Security and permissions
11/20
Maintenance
8/20
Documentation
9/20
Setup experience
9/20
Why each score
Reliability 7/20
The README describes stdio transport, read-only tools, and the required API URL and key, making the basic startup and call path plausible. However, the documented tool count conflicts (32 versus 26), and there is no reviewable evidence of handshake, tool behavior, or error-handling tests. The static-review cap and uncertainty lower the score.
Security and permissions 11/20
The README claims the tools are read-only, says full API key values are not exposed, and requires a root-tenant admin key; these indicate some access controls. That key has administrator authority and can access user, financial, log, configuration, and security data. Data boundaries, network flows, key protection, and revocation are not explained in enough detail. The supplied material does not establish a red-line issue.
Maintenance 8/20
The material provides an MIT license, version 1.0.0, a CI badge, and a non-archived status, showing basic licensing and release information. It provides no evidence of commit history, recent releases, issue response, dependency updates, or a security-response channel, so sustained maintenance cannot be confirmed.
Documentation 9/20
The README includes feature categories, client configuration examples, environment variables, and several usage examples that explain intended use. Tool counts conflict, and parameter details, pagination limits, timeouts, troubleshooting, and data exposure are incompletely documented; examples do not verify actual behavior.
Setup experience 9/20
The README gives Claude Desktop and Claude Code configuration examples and lists the two required environment variables. The examples depend on building a binary first or supplying an existing local path. The manifest declares only a macOS ARM64 MCPB package, gives no installation path for other platforms, and lacks a post-install connection check, so setup remains manual.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessUses the networkConnects to a database

Best for

  • Teams running LastSaaS locally or deployed who want AI-assisted, read-only access to admin data.
  • LastSaaS administrators who need to query financial data, logs, health, or tenant information.

Not for

  • Users who need MCP to change data, manage configuration, or perform destructive operations.
  • Users without a running LastSaaS instance or a root-tenant admin API key.
  • Users who need to manage a SaaS product other than LastSaaS.

Required permissions

  • Requires LASTSAAS_URL to point to a LastSaaS instance.
  • Requires LASTSAAS_API_KEY, a secret root-tenant API key with admin authority.
  • The server's tools are described as read-only, while the API key has admin authority.

Risks and side effects

  • The admin API key can access administrative data; exposure may reveal user, tenant, financial, log, or configuration information.
  • Read-only tools do not perform write operations, but their responses can still contain sensitive operational data.
  • The manifest package is for macOS arm64; the README also describes building the CLI binary to run the MCP server.

Setup

Before you start

Runtime:Go 1.25+

LASTSAAS_URL required Base URL of your LastSaaS instance, either running locally or deployed.
LASTSAAS_API_KEY requiredsecret Root-tenant API key with admin authority; create one in LastSaaS under Admin → API Keys.

Run a LastSaaS instance and create a root-tenant API key with admin authority in Admin → API Keys. Set command in the MCP config to the path of the built lastsaas executable, set args to ["mcp"], and provide LASTSAAS_URL and LASTSAAS_API_KEY. The README includes configuration examples for Claude Desktop and Claude Code.

claude_desktop_config.json
{"mcpServers":{"lastsaas":{"command":"/path/to/lastsaas","args":["mcp"],"env":{"LASTSAAS_URL":"https://your-app.fly.dev","LASTSAAS_API_KEY":"lsk_your_api_key_here"}}}}

Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "lastsaas": {
      "command": "/path/to/lastsaas",
      "args": [
        "mcp"
      ],
      "env": {
        "LASTSAAS_URL": "https://your-app.fly.dev",
        "LASTSAAS_API_KEY": "lsk_your_api_key_here"
      }
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.lastsaas]
command = "/path/to/lastsaas"
args = ["mcp"]

[mcp_servers.lastsaas.env]
LASTSAAS_URL = "https://your-app.fly.dev"
LASTSAAS_API_KEY = "lsk_your_api_key_here"

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add lastsaas -e LASTSAAS_URL=https://your-app.fly.dev -e LASTSAAS_API_KEY=lsk_your_api_key_here -- /path/to/lastsaas mcp

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Confirm that the LastSaaS MCP tools appear in your client's tool list. Then ask, “Show user and tenant counts and the system health overview”; a response with LastSaaS data confirms the connection.

Troubleshooting

  1. Confirm the LastSaaS instance is running and LASTSAAS_URL has the correct base address.
  2. Confirm LASTSAAS_API_KEY is a valid root-tenant admin key beginning with lsk_.
  3. Check that command points to an executable lastsaas file and args includes mcp.
  4. Confirm the client starts the server over stdio and review client or instance logs for connection errors.

Things to try

Once connected, you can ask your AI assistant things like:

  • Show user and tenant counts and the system health overview.
  • Show revenue and ARR trends for the last 30 days.
  • Find critical error logs from the last hour.
  • List all tenants and their billing status.

Use cases

Query user, tenant, and dashboard statistics in natural language.
Review revenue, ARR, other financial metrics, and transactions.
Search system logs and inspect health metrics, nodes, and integrations.
Review plans, promotions, API key inventory, and webhook delivery history.

Supported clients

Claude Desktop
Claude Code

Listed from the project's documentation, not tested by this site.

Overview

The LastSaaS MCP Server is a built-in, read-only admin server for LastSaaS. It queries dashboards, users, tenants, financial data, logs, system health, and related information through a running LastSaaS instance. It uses stdio transport.

Similar servers

Source revision 5e5a78b740a6 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/lastsaas.svg)](https://followmcp.com/en/servers/lastsaas)