Automating Cloud Containers via Model Context Protocol (MCP) and OAuth 2.0 PKCE
Connect AI coding agents and developer workflows safely to your Pterodactyl servers using scoped OAuth 2.0 + PKCE and the AtharsTech MCP endpoint.
Supported Runtime and Tooling
Architecture Highlights
Granular Scope-Based Authorization
Every API action enforces explicit OAuth scopes such as servers:read, files:read, files:write, and backups:manage paired with strict ownership verification.
Machine-Readable Discovery Endpoints
Agents discover capabilities cleanly through /.well-known/agent-card.json, /llms.txt, /pricing.md, and /api/public/plans.
Revocable Agent Sessions
Inspect and revoke active OAuth agent authorizations at any time directly from your account security settings.
Deployment Workflow
- 01
Provision any Pterodactyl server on athars.eu and verify your workspace ownership.
- 02
Point your MCP-compatible client at https://athars.eu/mcp and authorize via Clerk OAuth 2.0 + PKCE.
- 03
Inspect server state, run safe power actions, or edit files via scoped APIs.
Frequently Asked Questions
Do MCP agents receive my raw Pterodactyl master API keys?
No. Master Wings and Pterodactyl Application keys remain strictly server-side; agents receive scoped short-lived OAuth tokens verified on every request.
Where can AI agents read public plan specifications?
Public plans are served in JSON at https://athars.eu/api/public/plans and summarized in Markdown at https://athars.eu/llms.txt.
Related Articles
All ArticlesControlling Cloud Containers with Model Context Protocol (MCP) and OAuth 2.0 PKCE
Exposing Pterodactyl container telemetry, file editing, and backups to AI coding agents safely using scoped OAuth 2.0 PKCE tokens.
Designing a WAF-Safe Web File Manager and Temporary SFTP Auth Flow
Why source code edits and .env files trigger false-positive WAF blocks and how Base64URL path/content codecs solve them cleanly.
Replacing Legacy Panel Callbacks with a Pure-Rust Wings Remote Engine
How athars-core uses Axum 0.8, SQLx, and constant-time token verification on loopback 127.0.0.1:8088 to serve Pterodactyl Wings.