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/loadtestgit 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.01217 |
| Opus 5 | $0.00000 | $0.00609 |
| Sonnet 5 | $0.00000 | $0.00243 |
| Haiku 4.5 | $0.00000 | $0.00122 |
Grade A, and why
loadtest 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 — 178 lines — stays where its author put it; the contents beside it link to each section on GitHub.
cargo pmcp loadtest
Run load tests against MCP servers.
Usage
cargo pmcp loadtest <SUBCOMMAND>
Description
Execute load tests with configurable virtual users, scenarios, and reports. Measures latency percentiles, throughput, error rates, and can auto-detect breaking points.
Subcommands
| Subcommand | Description |
|---|---|
run |
Run a load test against an MCP server |
init |
Generate a starter loadtest.toml config |
upload |
Upload a loadtest config to pmcp.run |
loadtest run
Run a load test against an MCP server.
cargo pmcp loadtest run <URL> [OPTIONS]
Executes a load test using the scenario defined in .pmcp/loadtest.toml (or a custom config path). Reports results to the terminal and writes a JSON report to .pmcp/reports/.
Arguments
| Argument | Required | Description |
|---|---|---|
URL |
Yes | Target MCP server URL |
Options
| Option | Default | Description |
|---|---|---|
--config <PATH> |
auto-discover .pmcp/loadtest.toml |
Path to config file |
--vus <N> |
from config | Number of virtual users (overrides config) |
--duration <SECS> |
from config | Test duration in seconds (overrides config) |
--iterations <N> |
from config | Iteration limit (overrides config) |
--no-report |
- | Disable JSON report output |
--api-key <KEY> |
MCP_API_KEY env |
API key for Bearer token authentication |
--oauth-client-id <ID> |
MCP_OAUTH_CLIENT_ID env |
OAuth client ID (triggers OAuth flow) |
--oauth-issuer <URL> |
MCP_OAUTH_ISSUER env |
OAuth issuer URL (auto-discovered if omitted) |
--oauth-scopes <SCOPES> |
MCP_OAUTH_SCOPES env |
OAuth scopes, comma-separated (default: openid) |
--oauth-no-cache |
- | Disable OAuth token caching |
--oauth-redirect-port <PORT> |
8080 / MCP_OAUTH_REDIRECT_PORT env |
OAuth redirect port for localhost callback |
Examples
# Run with defaults from config
cargo pmcp loadtest run https://my-server.example.com
# Quick test with CLI overrides
cargo pmcp loadtest run https://my-server.example.com --vus 20 --duration 60
# Run with API key authentication
cargo pmcp loadtest run https://my-server.example.com --api-key sk-xxx
# Run with OAuth
cargo pmcp loadtest run https://my-server.example.com --oauth-client-id my-client-id
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 · 178 lines · 0 tokens per session scan A 13256d32aa38
loadtest 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 1,217 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
review
Structured code review for pull requests with confidence scoring and inline comments.
caspian-email
Send or reply via Caspian email (ask thread vs new).
caspian-connect-email
Connect Caspian email (sandbox key or dashboard paste) and enable email in caspian.json.
wrap-snarkvm
Automates wrapping a SnarkVM type in wasm-bindgen bindings for the Provable SDK.
caspian-connect-telegram
Connect Caspian Telegram and enable telegram in caspian.json.
caspian-discord
Post a Discord message via Caspian (channel snowflake id).