Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/paiml/rust-mcp-sdk/deploygit clone --depth 1 https://github.com/paiml/rust-mcp-sdkWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.04446 |
| Opus 5 | $0.00000 | $0.02223 |
| Sonnet 5 | $0.00000 | $0.00889 |
| Haiku 4.5 | $0.00000 | $0.00445 |
Grade A, and why
deploy scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 430 lines — stays where its author put it; the contents beside it link to each section on GitHub.
cargo pmcp deploy
Deploy MCP server to cloud platforms.
Usage
cargo pmcp deploy [OPTIONS] [SUBCOMMAND]
When invoked without a subcommand, builds and deploys to the configured target.
Description
Deploy to AWS Lambda, Google Cloud Run, Cloudflare Workers, or pmcp.run. Includes full lifecycle management: init, deploy, logs, metrics, test, rollback, and destroy.
Deploy Options
| Option | Description |
|---|---|
--target <TARGET> |
Deployment target: aws-lambda, cloudflare-workers, google-cloud-run, pmcp-run |
--shared-pool <POOL> |
Use shared OAuth pool for SSO (pmcp-run only) |
--no-oauth |
Skip OAuth configuration during deployment |
--regenerate-stack (alias --force) |
Overwrite an existing deploy/lib/stack.ts. By default the file is preserved if it already exists (so an operator-curated stack is never silently clobbered); pass this flag to regenerate it from the loaded config. |
Subcommands
| Subcommand | Description |
|---|---|
init |
Initialize deployment configuration |
logs |
View deployment logs |
metrics |
View deployment metrics |
test |
Test the deployment |
rollback |
Rollback to previous version |
destroy |
Remove the deployment |
secrets |
Manage deployment secrets |
outputs |
Show deployment outputs |
login |
Login to deployment target |
logout |
Logout from deployment target |
oauth |
Manage OAuth configuration |
status |
Check async operation status |
deploy (no subcommand)
Build and deploy to the configured target.
cargo pmcp deploy --target aws-lambda
cargo pmcp deploy --target pmcp-run --shared-pool agent-framework
Flow
For AWS Lambda targets, cargo pmcp deploy runs:
- Loads
.pmcp/deploy.tomlviaDeployConfig::load. - Validates the
[iam]section — runs the same gate ascargo pmcp validate deployand fails fast before any AWS API call if validation errors are present. Warnings print to stderr but don't block. - Builds the Lambda binary.
- Regenerates
deploy/lib/stack.tsfrom the loaded config — splices the[iam]and[metadata]declarations into the CDK template at single seams. Changes to.pmcp/deploy.tomltherefore take effect on the nextcargo pmcp deploywithout manual re-init. Guard: ifdeploy/lib/stack.tsalready exists, it is preserved (the write is skipped and a one-linepreserved existing deploy/lib/stack.tsnotice prints) so an operator-curated stack is never silently overwritten. Pass--regenerate-stack(alias--force) to overwrite it. A missing file is always scaffolded flag-free. - Runs
cdk deploywith--require-approval never.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 430 lines · 0 tokens per session scan A 49b6a36a6d86
deploy is a command published in the GitHub repository paiml/rust-mcp-sdk (53 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 4,446 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
build-mcp
Build a remote MCP server on Cloudflare using McpAgent.
code
Command "code" from openclaw/crabbox, covering code, prerequisites, how it works, folder mapping and resilience.
account
This API allows you to manage your Scaleway Projects.
domains
Apply the CLI runtime and safety contract before executing a command. Runtime --help is authoritative.
generate-dashboard
Generate OpenShift Console operator dashboard from operator name and CRD discovery.
datadog
Set up and troubleshoot Datadog — Agent deployment on Kubernetes, APM instrumentation, Log Management, Monitors, Dashboards, SLOs, Synthetic tests, and live incident investigation using the Datadog MCP server. Covers Terraform-managed Datadog resources.