MCP for AI assistants
Aloof exposes a Model Context Protocol server, so assistants can pick plans, deploy, read logs, scale, attach volumes and add domains for you or your users.
Remote (OAuth 2.1): add https://mcp.aloof.si/mcp as a connector in Claude, ChatGPT or Cursor. The assistant registers itself (dynamic client registration), sends you to Aloof to approve, and gets a token (PKCE). What it can do depends on the scope it asks for (see Scopes); assistants that don't ask get full access, and the Authorize page warns you when that happens. On that page you can always pick a lower level than the assistant asked for (never a higher one). See How OAuth sign-in works below.
Local (stdio):
{"mcpServers": {"aloof": {"command": "python3", "args": ["mcp_server/server.py"],
"env": {"ALOOF_API_URL": "https://api.aloof.si", "ALOOF_API_KEY": "pk_..."}}}}
Tools (25): inspect, list, signup, deploy_app, deploy_template, scale_app, set_env, rollback_app, set_self_heal, exec_command, destroy_app, add_domain, verify_domain, remove_domain, create_volume, attach_volume, detach_volume, create_postgres, attach_postgres, backup, restore, add_log_drain, add_credential, create_deploy_token, join_gpu_waitlist.
Discovery: /llms.txt, /.well-known/mcp.json.
Coming: your own servers
We're testing a mode where Aloof deploys onto a VPS you already run, over SSH, with the same dashboard and MCP tools. It isn't available yet. If you'd use it, join the early-access waitlist from your dashboard (you'll be asked to create an account or log in first).
How OAuth sign-in works
The Authorize page
When you add the connector, your assistant opens an Aloof page titled Connect <app> to Aloof. It shows the app's name, whether the app is verified, and the address you'll be sent back to. Sign in with your email and password, or paste an API key, then choose Approve or Deny. The page is valid for 10 minutes. If it expires, start the connection again from your assistant.
The page also says exactly what you're granting, based on the scope the app asked for.
Scopes
paas:read: look only. Status, logs, diagnose, releases, metrics, domains, volumes, databases, usage (theinspectandlisttools). It can't deploy, change, delete or spend anything.paas:write: everything except destroying and restoring. Deploy, scale, env vars and secrets, domains, volumes, databases, deploy tokens (never ones that can destroy). It can't rundestroy_apporrestore, delete a volume, database or snapshot, or change your login, API keys or billing.paas:admin: full access, including destroy and restore.paas(what assistants asked for before scopes existed) means the same aspaas:admin.
Limits are enforced on our side, in the MCP server and again in the API, so a client can't get around them. Tools the connection isn't allowed to use are left out of its tool list, and calling one returns an insufficient scope error. To change the scope, disconnect the app and connect it again. An API key used directly as a bearer token always has full access.
If you sign in with email links
Accounts created with an emailed sign-in link don't have a password. You have two options: sign in to the dashboard, create a key under API keys and paste it on the Authorize page, or set a password under Account and use it there. The Authorize page links to both.
Verified and unverified apps
An app is shown as Verified when it sends you back to an https address on a known MCP client's domain: claude.ai, claude.com, chatgpt.com, chat.openai.com, openai.com, cursor.com, cursor.sh, smithery.ai, glama.ai, vscode.dev, insiders.vscode.dev, github.com, windsurf.com, codeium.com or mcpjam.com (or a subdomain of one). Anything else is Unverified: the name was picked by whoever registered the app, so only approve if you started the connection yourself a moment ago and recognise the address shown.
Token lifetimes
- Authorization code: 5 minutes, single use.
- Access token: 1 hour.
- Refresh token: 30 days. Each refresh returns a new refresh token and invalidates the old one, so an assistant that keeps using its connection stays signed in.
Limits and cleanup
- App registration: 10 per IP address per hour (per /64 for IPv6). Over the limit, registration returns HTTP 429 with
Retry-After: 3600. - Registered apps that never complete sign-in are deleted after 24 hours. The assistant just registers again next time.
Allowed redirect addresses
https://with any host.http://only forlocalhost,127.0.0.1or[::1], on any port.- Desktop app schemes:
cursor:,vscode:,vscode-insiders:,windsurf:andclaude:. - No fragments (
#), wildcards, user:password parts, spaces or control characters. 1 to 10 redirect addresses per app.
Revoking access
Disconnect one app: in the dashboard open Account → Connected apps and click Disconnect, or use the API: GET /v1/auth/connected-apps lists each connected client (client_id, name, redirect_host, token counts, expires_at) and DELETE /v1/auth/connected-apps/{client_id} deletes its access and refresh tokens immediately. The app has to ask you to approve it again to reconnect.
Cut off everything at once: access is also tied to an API key, so deleting that key makes the assistant's next request fail.
- If you approved with your email and password, Aloof created a key named
mcp-oauth. Delete it under API keys in the dashboard. Approving another assistant with your password replaces this key, which also disconnects the previous assistant. - If you approved by pasting an API key, delete that key.