CONTRACT / OPENAPI
Operator API
The generated HTTP contract. Operation IDs, request schemas, responses, and authorization requirements live here.
/api/operator/v1/openapi.jsonPUBLIC SYSTEM / AGENT READY
AGENTS START HERE
Canonical contracts and discovery links for agents working with MEGA. The API remains the behavior authority; the CLI and MCP surface derive from it.
CONTRACT / OPENAPI
The generated HTTP contract. Operation IDs, request schemas, responses, and authorization requirements live here.
/api/operator/v1/openapi.jsonTRANSPORT / MCP
The streamable HTTP endpoint. OAuth discovery starts from its protected-resource metadata document.
/.well-known/oauth-protected-resource/mcpDISCOVERY / RFC 9264
Machine-readable links to MEGA's API description and agent documentation.
/.well-known/api-catalogWORKFLOW / MARKDOWN
Instructions for an external agent to validate, draft, review, and hand a Drop to an owner for publication.
/labs/drops/agent-brief.mdLOCAL ADAPTER / GENERATED
The mega CLI uses the same generated operation IDs as the OpenAPI and MCP surfaces. Authorized operators can inspect the installed command catalog without cloning this site.
mega --help