AI Access (MCP)
MCSM runs a Model Context Protocol server at
/mcp. Connect an AI assistant to it and ask things like "Is anyone online on
the survival server?", "Restart the modpack server and tell me when it's
up" or "Back up the creative world before I update it".
Connect a client
Open AI access in the user menu and copy the endpoint, or add it directly:
claude mcp add --transport http mcsm https://mcsm.example.com/mcp
The first time the client connects, it opens MCSM in your browser. Sign in, check what the app asks for and click Allow. Clients that support remote MCP servers with OAuth (Claude, Claude Code, Cursor, VS Code, ...) do this on their own: they register themselves and refresh their access in the background.
You can disconnect an app at any time under AI access → Connected apps.
Personal access tokens
For scripts or clients that can't sign in through a browser, create a token under AI access → Personal access tokens and send it as a bearer token:
claude mcp add --transport http mcsm https://mcsm.example.com/mcp \
--header "Authorization: Bearer mcsm_pat_..."
The token is shown once; MCSM only stores a hash of it. Delete it to revoke access.
What an assistant can do
Every connection acts as you: it only sees the servers you can see and never gets more than your role allows on each server. On top of that, a connection only gets the scopes you approved:
| Scope | Role needed | Tools |
|---|---|---|
| Read | Viewer | List servers, server details and resource usage, online players, activity |
| Operate | Operator | Start/stop/restart, recent console output, console commands, op/whitelist/kick |
| Manage | Manager | List and create backups |
Behind a reverse proxy
MCP clients check that the OAuth issuer matches the URL they connected to.
MCSM derives it from the request and honors X-Forwarded-Host /
X-Forwarded-Proto. If your proxy doesn't send those, set NUXT_APP_URL to
MCSM's public URL.