Skip to main content
The Simplismart MCP server lets AI assistants that support the Model Context Protocol work with your Simplismart account. Ask in plain language to list deployments, check deployment health, review alert rules or check usage and costs, and the assistant calls the matching Simplismart tool. The server runs locally over stdio and is published on PyPI as simplismart-mcp.

Prerequisites

  • uv, which provides uvx to run the server without a manual install
  • Your Simplismart Playground token: open Settings → API Key and copy the Playground Token
Prefer pip? With Python 3.10 or later, run pip install simplismart-mcp and use simplismart-mcp as the command (with no args) in the configs below.

Environment variables

Set up your client

Quick install

One command adds the server to Claude Code, Claude Desktop and Cursor, whichever are installed. It asks for your Playground token, then which clients to configure. Afterwards, restart Claude Desktop or Cursor, or start a new Claude Code session. Both install and update-token always ask for the token with hidden input. Pass --token to skip the prompt; it is required when not running in a terminal. They never read SIMPLISMART_PG_TOKEN from your shell, so an old exported token can’t end up in your config.
It lists the clients it found. Press Enter to install for all of them, or type their numbers:
install also asks what your assistant may do. Press Enter to keep the default, read-only:
Tools above the level you pick aren’t available to your assistant at all. For Claude Code, install also adds permission rules so Claude Code can’t read or edit the MCP config files, which hold your token and access level. In a script, pass --access write or --access destructive instead. If you set the server up by hand, set SIMPLISMART_ACCESS in its env. Running install again replaces the existing simplismart entry and sets the access level again (read-only unless you pick another). It keeps the API URL unless you pass --base-url, and leaves your other MCP servers untouched.

Manual setup

To set a client up by hand instead:
Add the server from your terminal:
Choose the scope that fits:
  • --scope local (default): only the current project, private to you
  • --scope user: all your projects
  • --scope project: saved to .mcp.json in the project root so your team shares it
For a shared .mcp.json, reference the token from each person’s environment instead of committing it:
.mcp.json
Run claude mcp list in your terminal, or /mcp inside Claude Code, and confirm simplismart shows as connected.

Try it

Start a new chat and ask:
  • “List my Simplismart deployments.”
  • “Is deployment <deployment-id> healthy?”
  • “Show my private deployment costs for the last 7 days.”

Available tools

Each tool is marked read-only, write or destructive, so clients that support MCP tool annotations can ask before running anything that changes or removes resources. Your assistant sees every tool’s parameters automatically; you only need to describe what you want. Write tools need write access and destructive tools need destructive access (see Quick install). Every change also needs your approval, given outside the chat so your assistant can’t give it for you:
  • Claude Code and Cursor show a confirmation dialog from the Simplismart server with exactly what will change. To stop, restart or delete a deployment, or delete a model repo, you type its name. Scaling a deployment to 0 replicas asks “Are you sure?”, since it stops serving requests. Other changes need Approve ticked. If you decline, nothing is sent.
  • Clients without confirmation dialogs use two steps: the first call sends nothing and your assistant shows you what will change and asks. The change is sent only after you say yes, using a one-time code that expires after 10 minutes and only matches those exact details.
Your assistant also won’t make a change you didn’t ask for. If you ask it to reduce your bill, for example, it suggests options and asks which to apply.
Don’t set up client hooks or auto-approve rules that answer these confirmation dialogs for you. They are there so a person approves every change, and the server refuses approvals that come back faster than a person could give them.
Asking your assistant can’t turn these protections off. The access level is read from the server’s config when it starts, every confirmation comes from the server itself, and approvals that arrive faster than a person could give them are refused. Your assistant is also told not to edit the server’s config, add hooks for the dialogs, or reach Simplismart another way (such as curl or the SDK). Some clients may still try if you insist, so keep your client’s own permission prompts on for file edits and shell commands. To change the access level, rerun simplismart-mcp install yourself. Requests from the MCP server identify themselves as simplismart-mcp (in the User-Agent and X-Simplismart-Client-Source: mcp headers), so they can be told apart from direct SDK use. deployments_detailed_status is marked write because it refreshes the stored status, but it doesn’t need confirmation.

Usage and cost

Ask in plain words, for example “What did we spend this month?”. If you leave out the period or which products, the assistant asks you first. Plan types use the names from the Usage page: With reserved GPUs, cost is split the same way as on the Usage page: Reserved utilised (reserved capacity you used), Reserved surplus (reserved capacity you paid for but didn’t use) and On demand (usage above your reservation). Grouped by accelerator, the total is your exact bill. Grouped by deployment, each deployment is priced at the on-demand rate and reserved surplus isn’t assigned to any deployment, so those numbers are estimates.

Built-in prompts

Your client lists these as ready-made requests (in Claude Code, type / to see them):
Not available yet: storage (volume) usage is coming soon. Training jobs can’t be listed, created or cancelled through the MCP server; training cost is available through usage_stats. Invoices and payments are not available.

Update an expired token

Playground tokens expire. When yours does, tool calls fail with an error that starts with “Your Simplismart Playground token is missing, invalid or expired”.
1

Create a new token

Create a new Playground Token on the same Settings page as in Prerequisites.
2

Update your clients

It replaces the token in every client that already has the server and keeps the rest of its config. Add --client cursor (repeatable) to update only some clients.
3

Restart the client

Restart your clients as described in Quick install.
If you set the client up by hand, replace SIMPLISMART_PG_TOKEN in its config instead. For Claude Code, run the claude mcp add command again with the new token, after claude mcp remove simplismart --scope user.

Troubleshooting

Install uv. Desktop apps may not see your shell PATH, so set command to the full path printed by which uvx.
If the token expired or was deleted, follow Update an expired token. If you set the client up by hand, make sure SIMPLISMART_PG_TOKEN is in the client’s env block, not only in your shell.
A Simplismart admin has switched off MCP access, for every organisation or just yours. Nothing in the client can override it: not the config, a different token or asking your assistant. The Simplismart UI and direct SDK use keep working. Ask your Simplismart admin to turn it back on.
Restart the client after editing its config. In Claude Code, run /mcp to see the server status.