Environment / Runtime MCP Server
Runtime control plane for ADK-Rust Enterprise. Manages runtime environments, worker pools, deployment bundles, configuration sync, provider routing, validation gates, promotion, rollback, and configuration drift detection.
Purpose
Policy-controlled management of ADK-Rust runtime environments, worker pools, deployment bundles, configuration sync, provider routes, memory backend bindings, protocol bindings, payment runtime modes, validation gates, promotion, rollback, and configuration drift detection.
This MCP is the runtime control plane — it knows where agents run, what version they're on, and how builds move between environments.
What This MCP Owns
✅ Environment registry ✅ Worker pool scaling
✅ Runtime configuration ✅ Deployment targets
✅ Release bundle promotion ✅ Rollback coordination
✅ Provider routing config ✅ Memory backend bindings
✅ Protocol bindings (A2A/MCP/ACP)✅ Payment mode bindings
✅ Validation status ✅ Configuration drift detection
✅ Deploy history ✅ Config versioning (plan/apply)
What This MCP Does NOT Own
❌ Raw secrets → Credentials Vault MCP
❌ Artifact binaries → Artifact Store MCP
❌ Policy authoring → Governance Policy MCP
❌ Payment execution → ADK-Payments MCP
❌ Raw traces/metrics → Observability stack
❌ Source repositories → GitHub MCP
❌ Session state → Session Memory MCP
Tools (10)
| Tool | Purpose | Risk |
|---|---|---|
list_environments |
Show all environments with status and worker summary | Read-only |
get_environment |
Inspect full environment config, pools, bindings | Read-only |
sync_environment_config |
Sync config with plan/apply safety model | Internal write |
validate_environment |
Run provider, memory, protocol, payment, worker checks | Read-only |
scale_worker_pool |
Scale model/graph/browser/code/realtime/payment workers | Internal write |
promote_build |
Promote immutable release bundle to target environment | Production deploy |
rollback_deploy |
Roll back to previous release with audit reason | Production deploy |
get_deploy_history |
Inspect release events and promotion evidence | Read-only |
detect_config_drift |
Detect drift from expected configuration state | Read-only |
get_worker_pool_status |
Detailed worker pool utilization and health | Read-only |
Example Prompts & Outputs
List all environments
Prompt: "Show me all our environments"
Validate before promotion
Prompt: "Is production ready for a new deployment?"
Tool: validate_environment
Output:
Promote a release
Prompt: "Promote the staging build to production"
Tool: promote_build
Output:
Scale workers for traffic spike
Prompt: "Scale browser workers to 20 in production — checkout traffic is spiking"
Tool: scale_worker_pool
Output:
Rollback a failed deployment
Prompt: "Roll back production — payment validation is failing"
Tool: rollback_deploy
Output:
Sync config with plan/apply
Prompt: "Plan a config sync for production"
Tool: sync_environment_config
Output:
Detect configuration drift
Prompt: "Check if production has drifted from expected state"
Tool: detect_config_drift
Output:
Worker pool status
Prompt: "Show me worker utilization in production"
Tool: get_worker_pool_status
Output:
Worker Pool Types
| Pool | Purpose |
|---|---|
model |
LLM inference workers |
graph |
Workflow graph execution |
browser |
Browser automation / Playwright |
code |
Code execution sandboxes |
realtime |
Voice/streaming sessions |
payment |
Payment processing workers |
mcp |
MCP server workers |
a2a |
Agent-to-Agent protocol workers |
acp |
ACP coding delegate workers |
Environment Types
| Type | Description |
|---|---|
development |
Local dev, no restrictions |
staging |
Pre-production testing |
production |
Live traffic, full governance |
regional |
Region-specific production (EU, APAC) |
tenant |
Tenant-isolated environments |
Integration with Other MCPs
| MCP | Relationship |
|---|---|
| Credentials Vault | Stores credential_refs — never raw secrets |
| Artifact Store | Release bundles stored as immutable artifacts |
| Governance Policy | Promotion/scaling require policy evaluation |
| Session Memory | Rollback must handle active sessions |
| ADK-Payments | Payment worker scaling and signing key bindings |
Installation
MCP Client Config
Works with Claude Desktop, Kiro, Codex, Cursor, Windsurf, Antigravity, and Open Code.
Contributing
PRs welcome. Run cargo clippy and cargo fmt before submitting.
Contributors
| James Karanja Maina |
|---|
License
Apache-2.0 — see LICENSE for details.
Part of the ADK-Rust Enterprise MCP server ecosystem.
Built with ❤️ by Zavora AI
Registry Compliance
This server implements the ADK MCP SDK contract:
- HealthCheck — async health probe for registry monitoring
- mcp-server.toml — manifest declaring tools, risk classes, and credentials
- Structured tracing —
RUST_LOGenv-filter for observability