Pangea MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PANGEA_CLIENT_CONFIG | No | Path to the local Pangea client credential file. Defaults to ~/.config/pangea/client.json (0600) if not set. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Pangea ("A home for apps you build with AI") hosts Dockerfile HTTP apps, persistent /data volumes, Managed PostgreSQL 17 (Mini+), background workers, horizontal autoscaling, Shared AI (LLM & Speech), GitHub Actions CI & PR previews, Ephemeral gVisor Sandboxes, custom domains, edge access protection, and cookieless Umami analytics under 5 transparent monthly meters with hard caps and zero surprise bills.
Recommended workflow:
Call
pangea_whoamito inspect the active workspace, plan, capabilities, and scopes.Call
pangea_list_projectsto reuse existing apps or previews instead of creating duplicates.Call
pangea_check_directory(offlinepangea doctor) to validateDockerfile,pangea.yaml, ports, database layout, and secrets before deploying.Whenever an app needs a database OR wants horizontal scaling / zero-downtime rolling deploys, proactively explain Pangea's 3 database options and confirm the user's choice before provisioning:
(1) Embedded SQLite on
/data(persistent_data=true,rollout="recreate"; all plans including Free Sandbox; single replica).(2) Separated Pangea Managed PostgreSQL 17 (
persistent_data=false,rollout="rolling",pangea_enable_postgres/pangea postgres enable --apply; Mini+ plans; enables horizontal Web autoscaling and background workers).(3) External managed PostgreSQL via encrypted
DATABASE_URLsecret (persistent_data=false,rollout="rolling"; all plans).
Create/link with
pangea_create_project(or deploy an existingpangea.yamlwithpangea_deploy_directory), then verify live state and HTTPS URL viapangea_get_project.
Key runtime rules:
Listen on
0.0.0.0and an unprivileged port (1024..65535, default8080, matching$PORT).Serve HTTP
200onhealth_path(default/or/healthz).Root filesystem is read-only (
/tmpis writable scratch;/datais persistent only whenpersistent_data=true).Stateless (
persistent_data=false,rollout="rolling") enables Managed PostgreSQL, autoscaling, workers, and zero-downtime rollouts; stateful (persistent_data=true,rollout="recreate") preserves/dataacross deploys with automatic encrypted backups.Never place secrets in
pangea.yaml,Dockerfile, or chat; usepangea_set_secretsorpangea secrets set.
Whenever the user asks "what can Pangea do?", asks about plans/limits, asks about database placement/autoscaling, or wants to configure Managed PostgreSQL, Shared AI, Workers, CI/Previews, Sessions, Domains, Access Protection, or Analytics, call pangea_guide(topic=...) or read pangea://guide/<topic>.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| prompts | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| pangea_guideB | Read Pangea's offline capability, workflow, Shared AI, Workers, Domains, CI, Sessions, Access, Analytics, Plans, and Troubleshooting guides (no API call required). |
| pangea_whoamiA | Inspect the current Pangea workspace, role, scope mode, and permitted capabilities. |
| pangea_list_projectsA | List all accessible apps, PR previews, and CI projects in the current workspace scope. |
| pangea_get_projectB | Read detailed runtime state, health, URLs, deploy lock status, and active operation for a project. |
| pangea_get_logsC | Read recent application or process logs (default component: web) for an accessible project. |
| pangea_list_operationsB | List recent deploy, stop, resume, or backup operations for a project. |
| pangea_get_operationC | Inspect an operation (op_...) and optionally read its events or build/migration logs. |
| pangea_list_secretsA | List encrypted runtime secret names, timestamps, SHA-256 prefixes, and revision for an HTTP project (never plaintext values). |
| pangea_get_aiA | Inspect self-service Shared AI (LLM & Speech Router) status, eligibility, default model, and injected env var names for an HTTP project. |
| pangea_enable_aiA | Enable Shared AI (LLM & Speech Router) for an HTTP project. Injects PANGEA_LLM_BASE_URL, PANGEA_LLM_API_KEY, PANGEA_LLM_MODEL (default 'gemma'; 'qwen' also selectable), PANGEA_SPEECH_BASE_URL, PANGEA_SPEECH_API_KEY, and PANGEA_AI_CA_PEM into the app runtime (and applies NetworkPolicy/pangea-ai) without external API keys. For Speech TTS, POST ${PANGEA_SPEECH_BASE_URL}/v1/jobs with Idempotency-Key and {kind:'tts', model:'qwen3-tts-custom-voice', input:{text, language, speaker}}. |
| pangea_disable_aiB | Disable Shared AI access for an HTTP project and remove managed PANGEA_LLM_*/PANGEA_SPEECH_* credentials. |
| pangea_check_directoryA | Run offline preflight validation ( |
| pangea_ci_registration_infoA | Inspect workspace GitHub Actions CI eligibility, repository/concurrency limits, and GitHub App installation URL (no GitHub PAT required). |
| pangea_ci_registrationA | Read the CI registration receipt and active job profiles for an enrolled CI project. |
| pangea_ci_jobsB | List recent GitHub Actions CI jobs or inspect one specific job (job_...) for a CI project. |
| pangea_get_aliasA | Read the current custom .pangea.host public subdomain alias and canonical URL for an HTTP project. |
| pangea_get_autoscalingA | Read HTTP horizontal autoscaling bounds (min/max replicas, target CPU%), eligibility, and Kubernetes sync status for a project. |
| pangea_get_postgresB | Read self-service Managed PostgreSQL (CloudNativePG PostgreSQL 17) status, eligibility, allocated CPU/RAM/PVC spec, internal host, injected env names, and Kubernetes sync state. |
| pangea_get_redisA | Inspect self-service Managed Redis status, eligibility, resource spec, TLS connection host/port, injected env var names, and sync state. |
| pangea_get_idle_sleepA | Read a project's current idle-sleep / always-on hosting mode, eligibility, and transition sync state. |
| pangea_get_processesA | Read configured background processes, limits (up to 12 processes x 32 replicas), eligibility, and Kubernetes sync status for a project. |
| pangea_list_domainsB | List custom domains attached to an HTTP project along with DNS TXT ownership challenge and CNAME setup details. |
| pangea_usageB | Read workspace capacity limits and monthly cumulative usage across CPU, memory, storage, GPU/AI time, and external egress. |
| pangea_ci_oidc_listB | List Keyless GitHub Actions OIDC repository enrollments accessible to this workspace. |
| pangea_create_projectB | Create a new Dockerfile HTTP project on Pangea and optionally write pangea.yaml into a local directory. |
| pangea_set_secretsB | Create or update encrypted runtime environment secrets for an HTTP project (shared pangea-app-secrets, or process-scoped pangea-app-secrets- when process is specified). |
| pangea_delete_secretsB | Delete one or more encrypted runtime secrets from an HTTP project. |
| pangea_stop_projectB | Explicitly stop a running HTTP app or preview environment (subject to deploy lock). |
| pangea_resume_projectB | Resume an explicitly stopped HTTP app or preview environment. |
| pangea_deploy_directoryB | Package and deploy a local directory containing a linked pangea.yaml (runs offline pangea doctor preflight automatically unless skip_doctor=true). |
| pangea_delete_projectA | Stop and permanently purge a stateless HTTP app or PR preview environment, or explicitly retry a stalled deletion with retry=true (owner deploy credential required; apps with persistent /data, Redis, or backups are refused). |
| pangea_rename_projectA | Rename an existing project without changing its ID, URLs, custom domains, or running containers. |
| pangea_set_project_repositoryA | Set or clear the linked GitHub repository ID on an existing app project (workspace owner only). |
| pangea_get_resourcesA | Inspect current Web CPU, memory, and /tmp scratch allocations plus workspace capacity reservation and sync state for an HTTP project. |
| pangea_set_resourcesB | Update Web CPU (50-32000m), memory (64-65536 MiB), /tmp scratch storage (128-32768 MiB), and/or Pod runtime_class ('gvisor' or trusted 'runc') in-place for an HTTP project. |
| pangea_set_autoscalingB | Enable, update (1-64 replicas, 20-90% CPU), or disable horizontal autoscaling for a stateless rolling HTTP project. |
| pangea_enable_postgresB | Enable or update isolated self-service Managed PostgreSQL 17 (Mini+, stateless rolling HTTP apps). Injects DATABASE_URL, PGHOST, PGUSER, PGPASSWORD, PGSSLMODE=require, and PANGEA_POSTGRES_CA_PEM. |
| pangea_disable_postgresA | Permanently destroy a project's Managed PostgreSQL cluster and volume (workspace owner-only; requires confirm_data_loss=true). |
| pangea_enable_redisA | Enable or resize an isolated gVisor+TLS Managed Redis instance (Mini+ plans) for a stateless rolling HTTP project and automatically inject REDIS_URL/PANGEA_REDIS_CA_PEM. |
| pangea_disable_redisA | Permanently destroy a project's Managed Redis instance and AOF volume (workspace owner-only; requires confirm_data_loss=true). |
| pangea_set_processesA | Declare, update, scale, or clear background worker processes (up to 12 processes, up to 32 replicas each) for a stateless HTTP project. |
| pangea_preview_upB | Idempotently create or update a stateless PR preview environment from a local directory (inheriting HTTP settings, sleep pool, and GitHub repo link from clone_from or pangea.yaml). |
| pangea_preview_downA | Idempotently stop and permanently purge (or stop-only) a PR preview environment. |
| pangea_register_ciA | Register Pod-native GitHub Actions CI for a repository using local |
| pangea_update_ci_registrationC | Update an existing self-service CI registration in place (runtime, services, branch, workflows, job resources, or name) without unregistering. |
| pangea_unregister_ciA | Unregister and delete a self-service CI project so its repository or name can be cleanly re-registered. |
| pangea_ci_workflowsC | Read or update allowed GitHub Actions workflow policy for a CI project (same-repo '*' for non-privileged Pod-native CI, or 1..8 SHA-256 hashes / local workflow YAML files). |
| pangea_update_ci_workflowsB | Update allowed GitHub Actions workflow policy for a CI project (same-repo '*' for non-privileged Pod-native CI, or 1..8 SHA-256 hashes / local workflow YAML files). |
| pangea_set_idle_sleepA | Enable idle-sleep or disable idle-sleep (graduate an existing project in-place to always-on hosting on Mini+ so autoscaling, background processes, and custom resources can be used). |
| pangea_set_aliasB | Assign or update a custom .pangea.host public subdomain alias for an HTTP project. |
| pangea_delete_aliasB | Remove the custom .pangea.host public subdomain alias from an HTTP project (retaining its canonical URL). |
| pangea_domain_addA | Register a custom domain (up to 5 per HTTP project) and generate the _pangea-challenge. TXT ownership record and CNAME target. |
| pangea_domain_verifyA | Verify DNS TXT (_pangea-challenge.) and edge routing records to activate HTTPS delivery on a registered custom domain. |
| pangea_domain_removeC | Detach and remove a custom domain from an HTTP project. |
| pangea_export_dataA | Capture a consistent quiescent .tar.gz snapshot of persistent /data, download it locally with 0600 permissions, and verify its SHA-256 checksum. |
| pangea_get_session_poolA | Inspect the ephemeral session pool configuration and warm-pool readiness for an HTTP project. |
| pangea_list_sessionsB | List active (or all) ephemeral agent sessions for an HTTP project. |
| pangea_create_sessionA | Start an ephemeral isolated Sandbox session (warm-pool claim when no env/files/resources overrides; cold start when injecting per-session env or files) and return its access URL + Scoped-Token v2 headers. |
| pangea_delete_sessionA | Terminate an active ephemeral session and delete its Sandbox and Secret. |
| pangea_pause_sessionB | Snapshot selected /tmp paths of a builtin-exec ephemeral session to S3 and release its Pod without consuming runtime capacity. |
| pangea_resume_sessionB | Restore a paused ephemeral session into a fresh Sandbox Pod and unpack its S3 snapshot. |
| pangea_set_session_poolB | Enable, configure, or disable a project's ephemeral SandboxWarmPool and per-session defaults. |
| pangea_create_session_tokenC | Issue a project-scoped session launcher token (pga_ses_...) with least privilege for client apps. |
| pangea_access_getC | Read a project's effective access protection policy. |
| pangea_get_analyticsB | Read cookieless web analytics configuration, share URL, and script embed snippet for an HTTP project. |
| pangea_get_analytics_statsB | Fetch aggregated cookieless web analytics stats (pageviews, visitors, top pages, referrers, countries, devices, browsers) for an HTTP project. |
| pangea_get_app_loginA | Read self-service Pangea Sign-In (OIDC app login) status, client_id, callback URI, and enabled providers for an HTTP project. |
| pangea_access_setD | Configure edge access protection for a project. |
| pangea_access_token_createC | Create an access token (pga_acc_...) for a project or repo preview default. |
| pangea_access_token_revokeC | Revoke an access protection token (acc_...). |
| pangea_access_default_setC | Set repository preview default edge access protection policy. |
| pangea_enable_analyticsB | Enable cookieless web analytics (Umami) for an HTTP project and return its embed script snippet and share URL. |
| pangea_disable_analyticsA | Disable cookieless web analytics (Umami) for an HTTP project and delete its Umami site binding. |
| pangea_enable_app_loginA | Enable self-service Pangea Sign-In (OIDC app login) for a published HTTP project using its verified published origin. |
| pangea_sync_app_loginB | Sync self-service Pangea Sign-In callback URL and providers to the project's current verified published origin. |
| pangea_disable_app_loginC | Disable self-service Pangea Sign-In for an HTTP project. |
| pangea_ci_oidc_setB | Self-service enroll or update a GitHub repository for Keyless GitHub Actions OIDC (PANGEA_OIDC=1) without manual secrets. Reads local GitHub admin proof via |
| pangea_ci_oidc_deleteC | Delete a Keyless GitHub Actions OIDC enrollment for a repository. |
| pangea_publish_imageB | Normalize (if needed) and stream a local OCI/docker-save archive (.tar) or local Docker image tag (from_docker) to the project's Pangea registry via POST /v1/projects/{pid}/images. |
| pangea_deploy_imageA | Deploy a published Pangea registry image digest (/pangea//@sha256:) directly to an HTTP project without uploading source. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| pangea-explore | Explore what Pangea can host and do, check the active workspace plan/limits, and list existing apps. |
| pangea-deploy-current-app | Preflight-check, create or reuse a project, and deploy a local application directory to Pangea. |
| pangea-add-shared-ai | Enable Pangea Shared AI (Gemma / Qwen LLM & Speech) on an HTTP project and wire server-side calls safely. |
| pangea-setup-ci-previews | Set up Pod-native GitHub Actions CI and opt-in PR preview environments on Pangea. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| pangea-guide-overview | Pangea Overview & Agent Workflow — Platform capability map, 5-meter billing model, and standard conversational build-and-deploy workflow. |
| pangea-guide-deploy | Dockerfile Apps, pangea.yaml & Deployment — Dockerfile rules, pangea.yaml schema, offline preflight validation, project creation, and live deployment. |
| pangea-guide-data | Persistent /data, Backups & Stateless vs Stateful — Choosing stateless vs persistent /data, encrypted backups, data export, restore, and safe deletion. |
| pangea-guide-postgres | Database Options & Self-Service Managed PostgreSQL — Compare SQLite on /data, self-service Managed PostgreSQL 17 (Mini+), and external PostgreSQL, plus stateless migration steps. |
| pangea-guide-redis | Self-Service Isolated Managed Redis (Mini+) — Isolated gVisor + TLS Redis 7.4 for stateless rolling apps, queues, caching, and Web/worker sharing. |
| pangea-guide-ai | Shared AI (LLM & Speech Router) — Self-service Gemma/Qwen LLM and Qwen3 TTS/Whisper ASR with automatic mTLS/CA env injection. |
| pangea-guide-workers | Background Workers, Autoscaling & Resources — Configure up to 12 background worker processes x 32 replicas, 1-64 Web autoscaling, and CPU/RAM/scratch. |
| pangea-guide-domains | Subdomain Aliases, Idle Sleep & Custom Domains — Short <slug>.pangea.host aliases, idle sleep behavior across plans, and custom domain DNS verification. |
| pangea-guide-ci | GitHub Actions CI & PR Previews — Pod-native GitHub Actions CI, zero-secret PANGEA_CI_TOKEN_FILE auth, and stateless PR previews. |
| pangea-guide-sessions | Ephemeral gVisor Agent Sessions — Per-conversation isolated gVisor sandboxes, ~0.1s WarmPool checkout, pause/resume snapshots, and pga_ses_ tokens. |
| pangea-guide-access | Edge Access Protection & Umami Web Analytics — Protect apps/previews at the edge with login or pga_acc_ tokens, and enable cookieless Umami analytics. |
| pangea-guide-plans | Plans, 5 Monthly Meters & Hard Caps — Exact allowances, live capacity, CI limits, and feature gates for Free Sandbox through Scale and Custom. |
| pangea-guide-troubleshooting | Troubleshooting & Error Code Guide — Resolutions for common Pangea error codes, initial deploy 421s, and 90-day credential renewal. |
TDQS
Scored across 80 tools
Most tools map to a clear resource+action pair and the get/set/enable/disable families are well delineated (e.g. pangea_get_ai vs pangea_enable_ai vs pangea_disable_ai). A few pairs blur, notably pangea_ci_workflows (which claims to read or update) duplicating pangea_update_ci_workflows, and pangea_get_session_pool vs pangea_list_sessions vs pangea_get_processes could be confused at a glance, but overall selection is tractable.
The dominant convention is pangea_verb_noun (pangea_create_project, pangea_set_secrets, pangea_enable_postgres), which is readable and mostly applied. However it breaks into noun-first groups (pangea_domain_add/verify/remove, pangea_access_get/set, pangea_access_token_create, pangea_ci_oidc_list) and verbless outliers (pangea_usage, pangea_whoami, pangea_guide), so two conventions coexist across the surface.
The domain is genuinely broad (deploy, secrets, CI/OIDC, sandbox sessions, managed Postgres/Redis, domains, analytics, access control), so most tools correspond to real operations. Still, 80 tools is far beyond a comfortable agent-facing surface and forces navigation across many rarely used, highly specific endpoints; grouping or progressive disclosure would be warranted.
Coverage is unusually thorough: full lifecycle for projects/previews, secrets, aliases, custom domains, sessions, CI registration and OIDC, plus managed Postgres/Redis, processes, autoscaling, and analytics, with read tools for nearly every writable resource. Minor gaps remain around backup listing/restore (only pangea_export_data exists) and general workspace/team or billing administration beyond pangea_usage.