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/connectgit 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.00367 |
| Opus 5 | $0.00000 | $0.00183 |
| Sonnet 5 | $0.00000 | $0.00073 |
| Haiku 4.5 | $0.00000 | $0.00037 |
Grade A, and why
connect 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 3d 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.
What it actually says
cargo pmcp connect
Connect a server to an MCP client.
Usage
cargo pmcp connect --server <NAME> --client <CLIENT> [OPTIONS]
Description
Configures the connection between your running MCP server and an MCP client application. Supports Claude Code (automatic), Cursor (manual config), and MCP Inspector (launches npx).
Options
| Option | Default | Description |
|---|---|---|
--server <NAME> |
(required) | Name of the server |
--client <CLIENT> |
(required) | MCP client to connect to (claude-code, cursor, inspector) |
--url <URL> |
http://localhost:3000 |
Server URL |
Supported Clients
| Client | Alias(es) | Method |
|---|---|---|
claude-code |
claudecode, claude |
Runs claude mcp add -t http <server> <url> |
cursor |
- | Prints manual config for ~/.cursor/mcp.json |
inspector |
- | Starts npx @modelcontextprotocol/inspector |
Examples
Connect to Claude Code:
cargo pmcp connect --server calculator --client claude-code
Connect to Cursor with a custom URL:
cargo pmcp connect --server calculator --client cursor --url http://localhost:8080
Open MCP Inspector:
cargo pmcp connect --server calculator --client inspector
Related Commands
cargo pmcp dev- Start the server first (or use--connectflag)
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.
- 3d ago First seen · 51 lines · 0 tokens per session scan A c059f6db65f3
connect is a command published in the GitHub repository paiml/rust-mcp-sdk (53 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 367 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
caspian-email
Send or reply via Caspian email (ask thread vs new).
caspian-connect-discord
Connect Caspian Discord and enable discord in caspian.json.
caspian-telegram
Send a Telegram message via Caspian (@username).
caspian-toast
Dummy — fire an OpenCode toast to test UI.
update-linear-schema
Update the Linear GraphQL schema and fix any resulting breakage.
huaweicloud-doctor
Self-check Huawei Cloud DevKit readiness — hcloud, MCP, skills, auth.