Controlling Cloud Containers with Model Context Protocol (MCP) and OAuth 2.0 PKCE
AI coding assistants are most useful when they can inspect server logs, verify resource limits, and create backups before deploying changes. Doing this safely requires replacing static long-lived API keys with scoped OAuth 2.0 + PKCE.
Why Static API Keys Are Risky for Agent Tooling
Handing an external tool a raw panel administrator key grants unrestricted access across all servers and billing operations. Scoped OAuth tokens restrict agents strictly to the permissions approved by the user during consent.
Discovery and Authorization Flow
- Public Catalog: Agents query
/.well-known/agent-card.json,/llms.txt, and/api/public/planswithout credentials. - Authenticated MCP Endpoint: Requests to
https://athars.eu/mcpauthenticate via Clerk OAuth 2.0 PKCE and enforce ownership checks per container UUID. - Instant Revocation: Users can revoke any active agent authorization immediately from account security settings.
Explore our MCP Server Automation guide for integration details.