pangea-mcp 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pangea_mcp-0.1.0/LICENSE +21 -0
- pangea_mcp-0.1.0/PKG-INFO +99 -0
- pangea_mcp-0.1.0/README.md +76 -0
- pangea_mcp-0.1.0/pyproject.toml +38 -0
- pangea_mcp-0.1.0/setup.cfg +4 -0
- pangea_mcp-0.1.0/src/pangea/__init__.py +3 -0
- pangea_mcp-0.1.0/src/pangea/agent_guide.py +574 -0
- pangea_mcp-0.1.0/src/pangea/cli.py +2966 -0
- pangea_mcp-0.1.0/src/pangea/cli_capability.py +69 -0
- pangea_mcp-0.1.0/src/pangea/config.py +21 -0
- pangea_mcp-0.1.0/src/pangea/doctor.py +748 -0
- pangea_mcp-0.1.0/src/pangea/generic_http.py +132 -0
- pangea_mcp-0.1.0/src/pangea/mcp_entry.py +53 -0
- pangea_mcp-0.1.0/src/pangea/mcp_server.py +2763 -0
- pangea_mcp-0.1.0/src/pangea/oci.py +104 -0
- pangea_mcp-0.1.0/src/pangea/oci_pack.py +741 -0
- pangea_mcp-0.1.0/src/pangea/previews.py +1236 -0
- pangea_mcp-0.1.0/src/pangea/self_aliases.py +22 -0
- pangea_mcp-0.1.0/src/pangea/source.py +329 -0
- pangea_mcp-0.1.0/src/pangea/source_profile.py +67 -0
- pangea_mcp-0.1.0/src/pangea/store.py +5 -0
- pangea_mcp-0.1.0/src/pangea/templates.py +25 -0
- pangea_mcp-0.1.0/src/pangea_mcp.egg-info/PKG-INFO +99 -0
- pangea_mcp-0.1.0/src/pangea_mcp.egg-info/SOURCES.txt +27 -0
- pangea_mcp-0.1.0/src/pangea_mcp.egg-info/dependency_links.txt +1 -0
- pangea_mcp-0.1.0/src/pangea_mcp.egg-info/entry_points.txt +3 -0
- pangea_mcp-0.1.0/src/pangea_mcp.egg-info/requires.txt +1 -0
- pangea_mcp-0.1.0/src/pangea_mcp.egg-info/top_level.txt +1 -0
- pangea_mcp-0.1.0/tests/test_client_and_mcp.py +135 -0
pangea_mcp-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 OND Inc.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pangea-mcp
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Official MCP server and CLI client for Pangea
|
|
5
|
+
Author-email: "OND Inc." <info@ond-inc.com>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://pangea.host
|
|
8
|
+
Project-URL: Repository, https://github.com/ondinc/pangea-mcp
|
|
9
|
+
Project-URL: Documentation, https://pangea.host/docs
|
|
10
|
+
Keywords: mcp,model-context-protocol,pangea,paas,deployment,kubernetes
|
|
11
|
+
Classifier: Development Status :: 4 - Beta
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Requires-Python: >=3.10
|
|
19
|
+
Description-Content-Type: text/markdown
|
|
20
|
+
License-File: LICENSE
|
|
21
|
+
Requires-Dist: PyYAML<7,>=6.0
|
|
22
|
+
Dynamic: license-file
|
|
23
|
+
|
|
24
|
+
# Pangea MCP & CLI
|
|
25
|
+
|
|
26
|
+
Official Model Context Protocol (MCP) server and CLI client for **[Pangea](https://pangea.host)**, an AI-agent-first container hosting platform.
|
|
27
|
+
|
|
28
|
+
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.
|
|
29
|
+
|
|
30
|
+
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.
|
|
31
|
+
|
|
32
|
+
## Quickstart
|
|
33
|
+
|
|
34
|
+
### 1. Get your 90-day connection credential
|
|
35
|
+
|
|
36
|
+
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).
|
|
37
|
+
2. Download your private 90-day connection file from [pangea.host/console/connect](https://pangea.host/console/connect).
|
|
38
|
+
3. Log in locally so `~/.config/pangea/client.json` stores your credential across terminals and MCP clients:
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
uvx --from pangea-mcp pangea login \
|
|
42
|
+
--endpoint https://pangea.host/api/agent \
|
|
43
|
+
--token-file "$HOME/Downloads/pangea-cli-tok_<your_token>.token"
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
*(Or pin from latest `main` via `uvx --from git+https://github.com/ondinc/pangea-mcp pangea login ...`.)*
|
|
47
|
+
|
|
48
|
+
### 2. Add `pangea` to your MCP client
|
|
49
|
+
|
|
50
|
+
Add this entry to your MCP client configuration (Claude Code, Cursor, Codex, Antigravity, or Claude Desktop):
|
|
51
|
+
|
|
52
|
+
```json
|
|
53
|
+
{
|
|
54
|
+
"mcpServers": {
|
|
55
|
+
"pangea": {
|
|
56
|
+
"command": "uvx",
|
|
57
|
+
"args": ["pangea-mcp"]
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
To pin directly from GitHub instead of PyPI, set `"args": ["--from", "git+https://github.com/ondinc/pangea-mcp", "pangea-mcp"]`.
|
|
64
|
+
|
|
65
|
+
## Core MCP Tools
|
|
66
|
+
|
|
67
|
+
- **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.
|
|
68
|
+
- **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`.
|
|
69
|
+
- **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`.
|
|
70
|
+
- **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`.
|
|
71
|
+
- **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`.
|
|
72
|
+
- **Backups & Data Export:** `pangea_export_data`, `pangea_backup_project`.
|
|
73
|
+
|
|
74
|
+
## Agent Skill
|
|
75
|
+
|
|
76
|
+
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).
|
|
77
|
+
|
|
78
|
+
## Security & Scope
|
|
79
|
+
|
|
80
|
+
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.
|
|
81
|
+
|
|
82
|
+
## Documentation & Links
|
|
83
|
+
|
|
84
|
+
- Website: [https://pangea.host](https://pangea.host)
|
|
85
|
+
- Docs: [https://pangea.host/docs](https://pangea.host/docs)
|
|
86
|
+
- LLM Reference: [https://pangea.host/llms.txt](https://pangea.host/llms.txt)
|
|
87
|
+
- Pricing & Plans: [https://pangea.host/billing](https://pangea.host/billing)
|
|
88
|
+
|
|
89
|
+
## Glama MCP Directory
|
|
90
|
+
|
|
91
|
+
[](https://glama.ai/mcp/servers/ondinc/pangea-mcp)
|
|
92
|
+
|
|
93
|
+
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).
|
|
94
|
+
|
|
95
|
+
## License
|
|
96
|
+
|
|
97
|
+
[MIT](./LICENSE) — Copyright (c) 2026 OND Inc.
|
|
98
|
+
|
|
99
|
+
<!-- mcp-name: io.github.ondinc/pangea-mcp -->
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# Pangea MCP & CLI
|
|
2
|
+
|
|
3
|
+
Official Model Context Protocol (MCP) server and CLI client for **[Pangea](https://pangea.host)**, an AI-agent-first container hosting platform.
|
|
4
|
+
|
|
5
|
+
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.
|
|
6
|
+
|
|
7
|
+
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.
|
|
8
|
+
|
|
9
|
+
## Quickstart
|
|
10
|
+
|
|
11
|
+
### 1. Get your 90-day connection credential
|
|
12
|
+
|
|
13
|
+
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).
|
|
14
|
+
2. Download your private 90-day connection file from [pangea.host/console/connect](https://pangea.host/console/connect).
|
|
15
|
+
3. Log in locally so `~/.config/pangea/client.json` stores your credential across terminals and MCP clients:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
uvx --from pangea-mcp pangea login \
|
|
19
|
+
--endpoint https://pangea.host/api/agent \
|
|
20
|
+
--token-file "$HOME/Downloads/pangea-cli-tok_<your_token>.token"
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
*(Or pin from latest `main` via `uvx --from git+https://github.com/ondinc/pangea-mcp pangea login ...`.)*
|
|
24
|
+
|
|
25
|
+
### 2. Add `pangea` to your MCP client
|
|
26
|
+
|
|
27
|
+
Add this entry to your MCP client configuration (Claude Code, Cursor, Codex, Antigravity, or Claude Desktop):
|
|
28
|
+
|
|
29
|
+
```json
|
|
30
|
+
{
|
|
31
|
+
"mcpServers": {
|
|
32
|
+
"pangea": {
|
|
33
|
+
"command": "uvx",
|
|
34
|
+
"args": ["pangea-mcp"]
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
To pin directly from GitHub instead of PyPI, set `"args": ["--from", "git+https://github.com/ondinc/pangea-mcp", "pangea-mcp"]`.
|
|
41
|
+
|
|
42
|
+
## Core MCP Tools
|
|
43
|
+
|
|
44
|
+
- **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.
|
|
45
|
+
- **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`.
|
|
46
|
+
- **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`.
|
|
47
|
+
- **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`.
|
|
48
|
+
- **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`.
|
|
49
|
+
- **Backups & Data Export:** `pangea_export_data`, `pangea_backup_project`.
|
|
50
|
+
|
|
51
|
+
## Agent Skill
|
|
52
|
+
|
|
53
|
+
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).
|
|
54
|
+
|
|
55
|
+
## Security & Scope
|
|
56
|
+
|
|
57
|
+
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.
|
|
58
|
+
|
|
59
|
+
## Documentation & Links
|
|
60
|
+
|
|
61
|
+
- Website: [https://pangea.host](https://pangea.host)
|
|
62
|
+
- Docs: [https://pangea.host/docs](https://pangea.host/docs)
|
|
63
|
+
- LLM Reference: [https://pangea.host/llms.txt](https://pangea.host/llms.txt)
|
|
64
|
+
- Pricing & Plans: [https://pangea.host/billing](https://pangea.host/billing)
|
|
65
|
+
|
|
66
|
+
## Glama MCP Directory
|
|
67
|
+
|
|
68
|
+
[](https://glama.ai/mcp/servers/ondinc/pangea-mcp)
|
|
69
|
+
|
|
70
|
+
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).
|
|
71
|
+
|
|
72
|
+
## License
|
|
73
|
+
|
|
74
|
+
[MIT](./LICENSE) — Copyright (c) 2026 OND Inc.
|
|
75
|
+
|
|
76
|
+
<!-- mcp-name: io.github.ondinc/pangea-mcp -->
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=69"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "pangea-mcp"
|
|
7
|
+
version = "0.1.0"
|
|
8
|
+
description = "Official MCP server and CLI client for Pangea"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = "MIT"
|
|
11
|
+
requires-python = ">=3.10"
|
|
12
|
+
authors = [
|
|
13
|
+
{ name = "OND Inc.", email = "info@ond-inc.com" },
|
|
14
|
+
]
|
|
15
|
+
keywords = ["mcp", "model-context-protocol", "pangea", "paas", "deployment", "kubernetes"]
|
|
16
|
+
classifiers = [
|
|
17
|
+
"Development Status :: 4 - Beta",
|
|
18
|
+
"Intended Audience :: Developers",
|
|
19
|
+
"Programming Language :: Python :: 3",
|
|
20
|
+
"Programming Language :: Python :: 3.10",
|
|
21
|
+
"Programming Language :: Python :: 3.11",
|
|
22
|
+
"Programming Language :: Python :: 3.12",
|
|
23
|
+
"Programming Language :: Python :: 3.13",
|
|
24
|
+
]
|
|
25
|
+
dependencies = ["PyYAML>=6.0,<7"]
|
|
26
|
+
|
|
27
|
+
[project.urls]
|
|
28
|
+
Homepage = "https://pangea.host"
|
|
29
|
+
Repository = "https://github.com/ondinc/pangea-mcp"
|
|
30
|
+
Documentation = "https://pangea.host/docs"
|
|
31
|
+
|
|
32
|
+
[project.scripts]
|
|
33
|
+
pangea-mcp = "pangea.mcp_entry:main"
|
|
34
|
+
pangea = "pangea.cli:main"
|
|
35
|
+
|
|
36
|
+
[tool.setuptools.packages.find]
|
|
37
|
+
where = ["src"]
|
|
38
|
+
include = ["pangea"]
|