ServerPrism
Remote MCP server for ServerPrism customers. Ask Claude, ChatGPT, Cursor or VS Code to check, start, stop or restart your game servers and AI agent boxes, run console commands, make backups and handle invoices and support tickets.
Hosted MCP Server
npx add-mcp 'https://serverprism.com/api/mcp'Installs into Claude Code, Codex, Cursor and more
Documentation
MCP server URL
https://serverprism.com/api/mcp
Transport: Streamable HTTP. Sign-in: OAuth 2.1, so your app opens ServerPrism in the browser and you approve it. Scripts can send Authorization: Bearer YOUR_TOKEN with a token from your API credentials instead.
What you can ask
Talk to your assistant the way you would talk to a friend who runs your server. It picks the right tools and chains them together.
- “Is my Minecraft server online, and how much RAM is it using right now?”
- “Make a backup called before-update, wait until it finishes, then restart the server.”
- “Whitelist Steve and Alex on my survival server and tell everyone online.”
- “My server keeps crashing. Check its status and open a support ticket with the details.”
- “Which of my servers renew this week, and what will each one cost?”
- “Every Friday at 18:00, announce the event in chat on all my servers.”
Scheduled tasks like the Friday announcement need an assistant that can run on a schedule (for example Claude Code or Codex in a scheduled job). The server only does what your assistant asks.
Set it up in 2 minutes
Add the server URL to your assistant, sign in to ServerPrism when it asks, and approve. No token to copy. You need a ServerPrism account with a verified email address.
Connect Claude to ServerPrism
- In claude.ai or Claude Desktop, open Customize, then Connectors.
- Click Add, then Add custom connector.
- Name it ServerPrism and paste the server URL: https://serverprism.com/api/mcp
- Keep the suggested sign-in settings and click Add, then Connect.
- Sign in to ServerPrism and click Approve.
Custom connectors work on every Claude plan (the Free plan allows one). On Team and Enterprise, an owner adds the connector under Organization settings first.
Connect ChatGPT to ServerPrism
- Turn on Developer mode in ChatGPT's settings. It is available on Plus, Pro, Business, Enterprise and Edu.
- Create a new app (connector) and paste the server URL: https://serverprism.com/api/mcp
- Choose OAuth as the authentication, then sign in to ServerPrism and click Approve.
- In a new chat, turn on the ServerPrism app from the + menu.
OpenAI moves these menus around now and then. If you can't find them, search ChatGPT's help for "developer mode".
Connect Claude Code to ServerPrism
- Run this once in your terminal:
Then start claude, type /mcp, pick serverprism and sign in. Add --scope user to make it available in every project.
claude mcp add --transport http serverprism https://serverprism.com/api/mcp
Connect Cursor to ServerPrism
- Add this to ~/.cursor/mcp.json (or.cursor/mcp.json in a project):
Open Settings, then MCP, and click Connect next to serverprism to sign in. Ask in Agent mode.
{
"mcpServers": {
"serverprism": {
"url": "https://serverprism.com/api/mcp"
}
}
}
Connect VS Code to ServerPrism
- Add this to.vscode/mcp.json:
Click Start above the server and sign in when VS Code asks. The ServerPrism tools then appear in Copilot Chat's Agent mode.
{
"servers": {
"serverprism": {
"type": "http",
"url": "https://serverprism.com/api/mcp"
}
}
}
Connect Gemini CLI to ServerPrism
- Add this to ~/.gemini/settings.json:
Inside Gemini CLI, run /mcp auth serverprism to sign in, then /mcp to check the tools are connected.
{
"mcpServers": {
"serverprism": {
"httpUrl": "https://serverprism.com/api/mcp"
}
}
}
Connect API token to ServerPrism
- For scripts and clients without sign-in support, create a token under Account, then API Credentials. Only want the AI to look? Pick servers:read only.
- Send it as a bearer token. For example, in Codex CLI add this to ~/.codex/config.toml and export SERVERPRISM_TOKEN in your shell:
Any other client: point it at the server URL as a remote HTTP server with the header Authorization: Bearer YOUR_TOKEN.
[mcp_servers.serverprism]
url = "https://serverprism.com/api/mcp"
bearer_token_env_var = "SERVERPRISM_TOKEN"
Using another client? Add https://serverprism.com/api/mcp as a remote HTTP server. If it supports OAuth it will open the sign-in page; otherwise use the API token tab.
Tools your assistant gets
Your assistant only sees the tools it was given access to. An app you sign in with gets all of them; an API token gets the ones its scopes allow. Each tool does exactly what the matching REST API endpoint does, with the same limits.
Servers
| Tool | What it does | Scope |
|---|---|---|
list_servers | List the game servers and AI agent boxes on this ServerPrism account (active and suspended), with their ID, kind (game_server or agent_box), name, game, version and renewal date. Start here to find a server ID. | servers:read |
get_server | Details for one game server or AI agent box: connection address, ports, plan limits and live state (running/offline, memory, CPU, disk, uptime). For an AI agent box also its size, installed agent template, web addresses (https://...deploymance.com), auto-restart state and this month's usage. | servers:read |
send_power_signal | Send a power signal to a game server or AI agent box. "start" boots it, "stop" shuts it down cleanly, "restart" does both, "kill" force-terminates it without saving (last resort). Stop, restart and kill disconnect everyone who is playing (or stop the agent on a box), so confirm with the user first. A stopped agent box only pays for its disk. | servers:control |
send_console_command | Run one command in a running server's console, exactly as typed in the dashboard console (for Minecraft: "say Restarting in 5 minutes", "whitelist add Steve", "time set day"; no leading slash needed). One line only. This tool only confirms the command was sent: read the result with get_console_output. On an AI agent box a line that is not a built-in runs as a shell command in the home folder; for the built-ins (agent status, agent restart...) use run_agent_command, which returns the answer. | servers:control |
get_console_output | The last lines of a game server's or AI agent box's console (1-100, default 50), oldest first, the same output the dashboard console shows. On an agent box this is where the agent itself logs. Use it to see why something failed or what a command printed. | servers:read |
AI agent boxes
| Tool | What it does | Scope |
|---|---|---|
run_agent_command | Run one of the AI agent box's built-in commands and return its answer: "agent status" (is the agent running, auto-restart state), "agent start", "agent stop", "agent restart" (controls start.sh, the agent), "template status", "template info" (setup notes of the installed agent), "template list", "help". Only these commands; no shell. The box must be running. "agent stop" and "agent restart" interrupt the agent, so confirm with the user first. | servers:control |
get_agent_balance | The prepaid AI agent balance per currency, what each AI agent box has cost this month (with its monthly cap), what the boxes cost per hour right now and how long the balance lasts at that rate (runway). Includes the top-up link. | billing:read |
Backups
| Tool | What it does | Scope |
|---|---|---|
list_backups | List the backups of a game server or AI agent box (name, status, size, date) and the account's backup slot quota. Backup slots are shared across all servers on the account. | servers:read |
create_backup | Start a new backup of a game server or AI agent box (uses one backup slot; on a box it saves the home folder). Backups run in the background: call list_backups until its status is "completed". Good practice before updates, version changes or big edits. | backups:create |
Billing and account
| Tool | What it does | Scope |
|---|---|---|
get_account | The account's name, email address and creation date. | account:read |
list_services | Every service on the account with its billing details: price, currency, billing period, status, next renewal date and any pending cancellation. AI agent boxes are billed from the AI agent balance instead: see get_agent_balance. | billing:read |
list_invoices | The account's invoices, newest first, with totals, currency and paid status. | billing:read |
get_invoice | One invoice with its line items and payments. | billing:read |
Support
| Tool | What it does | Scope |
|---|---|---|
list_tickets | The account's support tickets, most recently updated first. | tickets:read |
get_ticket | One support ticket with its full conversation. | tickets:read |
open_ticket | Open a new support ticket with the ServerPrism team. A real person or our support assistant replies; the customer is emailed. Only open one when the user asks you to contact support. Include the server_id when the problem is about a game server or AI agent box. | tickets:write |
reply_to_ticket | Add a reply to one of the account's existing support tickets. | tickets:write |
You stay in control
You approve every app
An app only gets in after you sign in and approve it, and you can disconnect it at any time. Need read-only access? Use an API token with only the scopes you want.
Your servers only
A connected app or token can only reach the servers on your own account. Sub-user access you have on other people's servers is not included.
Confirmation for risky actions
Stop, restart, kill and console commands are marked as destructive, so assistants that support it ask before running them.
No deletes, no payments
The AI cannot delete servers, files or backups, cancel services or pay invoices. Every change it makes is recorded with the app or token that made it.
Questions about the MCP server
What is an MCP server?
MCP (Model Context Protocol) is an open standard that lets AI assistants use tools from other services. Our MCP server gives assistants like Claude, Cursor and GitHub Copilot a safe set of tools for your ServerPrism account, so you can manage your game servers by asking in plain language instead of clicking through the dashboard.
Which AI assistants work with it?
Any MCP client that supports remote (Streamable HTTP) servers: Claude (claude.ai and Claude Desktop), ChatGPT in developer mode, Claude Code, Cursor, VS Code with GitHub Copilot, Gemini CLI, Codex CLI, Windsurf and others. Most of them sign in through your browser, so there is nothing to copy. Clients without sign-in support can use an API token instead.
Does it cost extra?
No. The MCP server is included with every ServerPrism plan, the same as our REST API. You only pay for your AI assistant, if it is a paid one.
Which games does it work with?
All of them. Power, status and backups work for every server we host: Minecraft Java and Bedrock, FiveM, Rust, Palworld, ARK, Valheim, Terraria, Discord bots and the rest. Console commands are whatever that game's console accepts.
Is it safe to let an AI control my server?
You stay in charge. An app only gets in after you sign in to ServerPrism and approve it, and you can disconnect it at any time under API Credentials. Tools that stop a server or run commands are marked as destructive, so good clients ask you before using them. The AI can only reach your own servers and every change it makes is recorded. Want read-only access? Use an API token with only "servers:read".
Can the AI delete my server, my files or my backups?
No. On purpose, the MCP server cannot delete servers, files or backups, cancel or upgrade services, or make payments. Those actions stay in the dashboard, where you can see exactly what will happen before you confirm.
Can the AI read my console output?
Not yet. It can send commands and check status, memory, CPU and uptime, but console logs stay in the dashboard for now.
Do I need an API token?
Usually not. Claude, ChatGPT, Claude Code, Cursor, VS Code and Gemini CLI sign in through your browser: you log in to ServerPrism, check what the app may do and click Approve. A token is only needed for scripts and for clients that can't sign in. Create one under Account, then API Credentials, and copy it straight away: we only show it once.
How do I disconnect an AI app?
Open Account, then API Credentials. Every app you approved is listed under Connected AI apps with a Disconnect button, and it loses access straight away. Tokens are revoked from the same page.
For developers
The server speaks MCP over Streamable HTTP (protocol versions up to 2025-11-25), statelessly: each POST to https://serverprism.com/api/mcp carries one JSON-RPC message and gets a JSON reply. There is no SSE stream and no session id. Tool results include structuredContent, and failures come back as tool results with isError: true and a machine-readable error code, so the model can correct itself.
Sign-in follows the MCP authorization spec: a 401 from the server points to https://serverprism.com/.well-known/oauth-protected-resource/api/mcp, the authorization server metadata is at https://serverprism.com/.well-known/oauth-authorization-server, and clients register with dynamic client registration or a client ID metadata document. Authorization code with PKCE (S256) only. Access tokens last an hour and refresh for up to 90 days, and they only work on the MCP server, not the REST API.
Tool calls share the API rate limits. Prefer plain HTTP for your own scripts? The REST API docs cover the same actions.
curl https://serverprism.com/api/mcp \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_servers","arguments":{}}}'
Pick a game, and your server is ready in under 2 minutes.
The MCP server works with it straight away.