Metadata-Version: 2.4
Name: pangea-mcp
Version: 0.1.1
Summary: Official MCP server and CLI client for Pangea
Author-email: "OND Inc." <info@ond-inc.com>
License-Expression: MIT
Project-URL: Homepage, https://pangea.host
Project-URL: Repository, https://github.com/ondinc/pangea-mcp
Project-URL: Documentation, https://pangea.host/docs
Keywords: mcp,model-context-protocol,pangea,paas,deployment,kubernetes
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: PyYAML<7,>=6.0
Dynamic: license-file

# Pangea MCP & CLI

Official Model Context Protocol (MCP) server and CLI client for **[Pangea](https://pangea.host)**, an AI-agent-first container hosting platform.

Connect Claude Code, Cursor, Codex, Antigravity, or any stdio MCP client to build, deploy, and operate Dockerfile HTTP apps, background workers, Managed PostgreSQL 17, TLS Redis 7.4, Pod-native GitHub Actions CI, ephemeral gVisor sandboxes, and built-in Shared AI (LLM & Speech) under five monthly hard caps with zero overage fees.

Start with **Free Sandbox ($0/mo)** using a 30+ day GitHub account (no credit card required) or upgrade to **Mini ($9/mo)** for unlimited always-on apps, Managed Postgres & Redis, custom domains, CI, and Shared AI under one shared budget.

## Quickstart

### 1. Get your 90-day connection credential

1. Sign in at [pangea.host/account](https://pangea.host/account) and activate a plan at [pangea.host/billing](https://pangea.host/billing) (`Free Sandbox` is $0 with no card via a 30+ day GitHub account).
2. Download your private 90-day connection file from [pangea.host/console/connect](https://pangea.host/console/connect).
3. Log in locally so `~/.config/pangea/client.json` stores your credential across terminals and MCP clients:

```bash
uvx --from pangea-mcp pangea login \
  --endpoint https://pangea.host/api/agent \
  --token-file "$HOME/Downloads/pangea-cli-tok_<your_token>.token"
```

*(Or pin from latest `main` via `uvx --from git+https://github.com/ondinc/pangea-mcp pangea login ...`.)*

### 2. Add `pangea` to your MCP client

Add this entry to your MCP client configuration (Claude Code, Cursor, Codex, Antigravity, or Claude Desktop):

```json
{
  "mcpServers": {
    "pangea": {
      "command": "uvx",
      "args": ["pangea-mcp"]
    }
  }
}
```

To pin directly from GitHub instead of PyPI, set `"args": ["--from", "git+https://github.com/ondinc/pangea-mcp", "pangea-mcp"]`.

## Core MCP Tools

- **Self-discovery:** `pangea_guide` (tool) and `pangea://guide/<topic>` (resources) let your AI look up live workflows, Dockerfile requirements, Postgres/Redis/AI integration, and plan limits without guesswork.
- **Projects & Deployment:** `pangea_whoami`, `pangea_list_projects`, `pangea_get_project`, `pangea_usage`, `pangea_check_directory`, `pangea_create_project`, `pangea_deploy_directory`, `pangea_get_logs`, `pangea_stop_project`, `pangea_resume_project`, `pangea_delete_project`, `pangea_rename_project`.
- **Managed Databases, AI & Scaling (`Mini+`):** `pangea_get_postgres`, `pangea_enable_postgres`, `pangea_disable_postgres`, `pangea_get_redis`, `pangea_enable_redis`, `pangea_disable_redis`, `pangea_enable_ai`, `pangea_set_secrets`, `pangea_set_resources`, `pangea_set_autoscaling`, `pangea_set_processes`, `pangea_set_idle_sleep`.
- **Domains, Access & Analytics:** `pangea_set_alias`, `pangea_domain_add`, `pangea_domain_verify`, `pangea_access_set`, `pangea_access_token_create`, `pangea_access_default_set`, `pangea_enable_analytics`, `pangea_get_analytics_stats`.
- **CI, Previews & gVisor Sandboxes:** `pangea_register_ci`, `pangea_update_ci_registration`, `pangea_unregister_ci`, `pangea_ci_workflows`, `pangea_ci_jobs`, `pangea_preview_up`, `pangea_preview_down`, `pangea_set_session_pool`, `pangea_create_session`, `pangea_pause_session`, `pangea_resume_session`, `pangea_create_session_token`.
- **Backups & Data Export:** `pangea_export_data`, `pangea_backup_project`.

## Agent Skill

The official `SKILL.md` for Claude Code, Codex, Cursor, and Antigravity is included in this repository at [SKILL.md](./SKILL.md) and served live at [pangea.host/SKILL.md](https://pangea.host/SKILL.md).

## Security & Scope

This open-source repository contains **only the client-side CLI and stdio MCP adapter** communicating with the public `https://pangea.host/api/agent` endpoint using your local `~/.config/pangea/client.json` (`0600`) credential or `PANGEA_CLIENT_CONFIG`. Tokens are never logged or transmitted to third parties.

## Documentation & Links

- Website: [https://pangea.host](https://pangea.host)
- Docs: [https://pangea.host/docs](https://pangea.host/docs)
- LLM Reference: [https://pangea.host/llms.txt](https://pangea.host/llms.txt)
- Pricing & Plans: [https://pangea.host/billing](https://pangea.host/billing)

## Glama MCP Directory

[![Pangea MCP server](https://glama.ai/mcp/servers/ondinc/pangea-mcp/badges/score.svg)](https://glama.ai/mcp/servers/ondinc/pangea-mcp)

Inspect tool definitions, quality score, and test interactively using [MCP Inspector](https://glama.ai/mcp/inspector) on the [Glama Pangea MCP listing](https://glama.ai/mcp/servers/ondinc/pangea-mcp).

## License

[MIT](./LICENSE) — Copyright (c) 2026 OND Inc.

<!-- mcp-name: io.github.ondinc/pangea-mcp -->
