AI Access (MCP)

Connect your own AI assistant, Claude or any MCP-compatible client, to your FadeHost account and let it manage your servers for you: check status, read the console, start/stop/restart, run commands and trigger backups, all from a chat.

FadeHost exposes a standard Model Context Protocol server at:

https://api.fadehost.com/mcp

There are two ways to connect. Signing in is the short one: you add the address in your assistant, it opens FadeHost in your browser, and you approve. There is no token to copy. A token is still there for scripts and for clients that cannot open a browser.

Sign in from your assistant

Every assistant follows the same three steps:

  1. Add the address above in the assistant.
  2. The assistant opens the panel’s Connect an app page. Sign in to FadeHost if you are not already.
  3. The page names the app and shows where your browser goes afterwards. Choose Read only or Read and manage, then press Approve.

Only approve a request you started yourself a moment ago. The name on the page is what the app calls itself; the address it returns to is what we checked.

A connected app shows under Profile → AI Access with a Signed in badge. Revoke it there and it is disconnected at once.

Claude on the web, the desktop app and the phone

Claude keeps one list of connectors for all three, so you add FadeHost once. Custom connectors are available on every Claude plan; the free plan allows one.

  1. In Claude, open Plugins, press Add and choose Add custom connector. Settings → Connectors leads to the same place.
  2. Name it FadeHost and paste the address: https://api.fadehost.com/mcp
  3. Press Continue. Claude checks the address and selects Sign in now and Use Claude’s published identity. Leave both as they are.
  4. Press Add. Claude sends you to the panel to approve, and then says it is connected.

Then ask in any chat: “List my FadeHost apps.” If you want Claude to ask you before it changes anything, open the connector’s settings in Claude and set the tools that change things to Always ask.

Claude Code

claude mcp add --transport http fadehost https://api.fadehost.com/mcp

Then type /mcp in Claude Code, pick fadehost and sign in. Your browser opens the panel to approve.

If you connected FadeHost earlier with a token, remove that entry first with claude mcp remove fadehost. Claude Code does not offer the sign-in while an old Authorization header is still configured.

Cursor

The AI Access page in the panel has an Add to Cursor button. By hand, add this to mcp.json:

{
  "mcpServers": {
    "fadehost": {
      "url": "https://api.fadehost.com/mcp"
    }
  }
}

Cursor then asks you to sign in, and your browser opens the panel to approve.

Other MCP clients

A client that runs on your own computer and follows the MCP authorization spec (it discovers the sign-in, registers itself and returns to an address on localhost) works the same way: give it the address and sign in when it asks.

A hosted client other than Claude and Cursor cannot sign in yet, because we only send your browser back to addresses we have listed. Use a token for those, or tell support which client you want added.

Read only or read and manage

You decide on the Connect an app page, whatever the app asked for.

  • Read only: the assistant can look but not touch. Lists, status, console and app logs, live stats, player activity, backup lists.
  • Read and manage: everything in Read only, plus start, stop and restart, console commands, deploys, files, variables and backups.

If a read-only app later needs to change something, it asks you again and you approve read and manage for it on the same page. Deleting a server, an app or a VPS is never possible from an assistant.

Using a token instead

A token is a long secret the client sends as an Authorization: Bearer header. Use one for your own scripts, for the FadeHost CLI, and for clients that cannot sign in.

Creating a token

  1. In the panel, open Profile → AI Access and press Custom token.
  2. Pick a name and a scope, Read only or Read and manage, as above.
  3. Press Create and copy the token immediately, because it is shown only once. If you lose it, revoke it and create a new one.

For Claude Code and Cursor the same page has Use a token instead under each assistant’s steps, which creates the token and fills in the line to paste.

You can hold up to 10 tokens and 20 connected apps, and revoke any of them at any time from the same page.

The FadeHost CLI mints one of these tokens for you: npx fadehost mcp install --client claude-code prints a code, you approve it in the panel and pick the scope there, and the token is written into the client’s config. The same CLI runs your apps from the terminal.

Claude Code with a token

claude mcp add --transport http fadehost https://api.fadehost.com/mcp \
  --header "Authorization: Bearer YOUR_TOKEN"

Any other client with a token

Any client that supports streamable HTTP transport with custom headers works. The generic configuration:

{
  "mcpServers": {
    "fadehost": {
      "type": "http",
      "url": "https://api.fadehost.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_TOKEN"
      }
    }
  }
}

What the assistant can do

ToolScopeWhat it does
list_serversReadList every server you can manage, with id, game, status and address
get_serverReadFull overview of one server: status, software, RAM/disk, settings, ports, last crash
get_console_logsReadRead recent console output
get_live_statsReadLive memory and CPU usage
get_player_activityReadJoin/leave/chat counts and recent players over a time window
list_backupsReadList off-site backup snapshots
start_serverManageStart a stopped server
stop_serverManageStop a running server, saving the world first
restart_serverManageRestart a server
send_console_commandManageRun one console command over RCON and return its output
create_backupManageTrigger an off-site backup right now
get_creation_optionsReadThe ready-made presets and the per-game options a new server can be created with (keys, allowed values, what your plan allows)
create_serverManageCreate a new server. Accepts plain names like “Paper”, “Velocity”, “1.21.8”, a preset (“friends”, “any-launcher”, “expert”…) and per-game options such as offline mode, difficulty or a map
create_appManageDeploy a Discord, Telegram or WhatsApp bot, a web app, a static site or a worker from a GitHub or GitLab repository, with environment variables and optionally a web address (https://name.fadehost.app) in the same call.
list_filesFilesBrowse a server’s file system
read_fileFilesRead a config or text file (up to 96KB)
write_fileFilesCreate or overwrite a config file. Most changes apply after a restart
list_vpsVPSList your managed VPS instances with specs, status and SSH host
power_vpsVPSStart, shut down or reboot a VPS
list_botsBotsList your hosted bots and apps with id, kind, status, runtime and repo
get_bot_logsBotsRead a bot’s runtime logs: deploys, output, crashes
power_botBotsStart, stop or restart a bot (deletion stays panel-only)
redeploy_appAppsPull the latest commit and restart an app
list_app_deploymentsAppsThe deploy history: commits, messages, which one is live
rollback_appAppsPin an earlier deployment and redeploy it, or unpin
get_app_usageAppsThe plan, the memory, CPU, disk and traffic meters, the busiest ports, the next plan up
get_app_firewallAppsThe app’s outbound list and what the node does with it
set_app_firewallAppsChange a paid app’s outbound list (a free app’s list is the plan’s)
get_app_refusalsAppsWhat the firewall refused in the last day
list_app_schedulesAppsThe scheduled commands
create_app_scheduleAppsAdd a scheduled command (cron line and command). Scheduled commands are kept in the app’s command log for 90 days
delete_app_scheduleAppsRemove a scheduled command
run_app_commandAppsRun one shell command in a running app on a paid plan, as its terminal would, and read the exit code and output. Commands are kept in the app’s command log for 90 days
move_app_regionAppsMove a paid app to another region (one move an hour), or list the regions
list_app_variablesAppsThe names of the app’s environment variables, never the values
set_app_variablesAppsAdd, change or remove environment variables; values go in, never come back out
get_world_activityReadAnalyze a Minecraft Java world: how many chunks exist, how much disk they use, how much of the world players never visited, and how much space pruning would free at each threshold
prune_worldManageRemove chunks players barely visited so they regenerate on the next visit and the disk is freed
undo_world_pruneManagePut the world files from before the most recent prune back (the node keeps backups of the changed files)

Truly destructive operations stay panel-only by design: an assistant can never delete a server or VPS, and never restore a backup over your world. File writes overwrite the one file you name, so have the assistant read a file before editing it.

Build a whole network with your assistant

The server comes with the recipe built in: ask your assistant for a Hypixel-style network and it can create the backend servers and a Velocity proxy, wire velocity.toml to the right addresses, set up modern forwarding with a shared secret, flip the backends’ online-mode, restart everything in the right order and hand you one address for your players. You only need the server slots on your plan, and the assistant does the rest.

How permissions work

  • The assistant can only do what you can do. Every action goes through exactly the same permission, subscription and quota checks as clicking the button in the panel, team roles included.
  • On team servers, the connection carries your team permissions: if you can’t run console commands in the panel, neither can your assistant.
  • Requests are rate-limited to 60 per minute per account.

Good to know

  • Console output returned to the assistant is labelled as untrusted data, so a message typed by a player on your server won’t be mistaken for an instruction to your AI.
  • The last used column on the AI Access page shows when each connected app or token was last active, a quick way to spot the ones you can revoke.
  • An app that signed in keeps itself connected. If it is not used for 30 days it is disconnected, and signing in again brings it back.
  • Treat tokens like passwords. Anyone holding a Read and manage token can start, stop and command your servers.

Troubleshooting

  • Claude says it is connected but never asks you to sign in, and every tool fails: the connector was added with No sign-in. Remove it and add it again, leaving Sign in now selected.
  • “This request is no longer waiting”: a request to connect waits ten minutes for your answer. Go back to the assistant and connect again.
  • “Unknown client” or “That redirect address is not registered for this client”: the client cannot sign in with us yet. Use a token.
  • 401 Unauthorized with a token: the token is wrong, revoked, or the header isn’t reaching the server. Re-copy the full Bearer value.
  • An assistant that worked stopped working: it was revoked on the AI Access page, or it was not used for 30 days. Sign in again from the assistant.
  • “The server rejected the command”: console commands need the server running with RCON reachable, and a Read and manage connection or token.
  • “No accessible server found”: the id is wrong or the server belongs to an account/team your token can’t access. Ask the assistant to call list_servers first.

Something missing or wrong? Tell us.