Agent Utils MCP Server 🛠️
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
A Swiss-army-knife utility server for AI agents — 18 tools via MCP (Streamable HTTP) + REST API.
**Live at:** https://agent-utils-mcp.onrender.com
Add to Your MCP Client
Claude Desktop / Cursor / Windsurf
Add to your MCP config:
Smithery
Tools (18)
| Tool | Description |
|------|-------------|
| tool_json_validate | Validate JSON string, return parsed or error |
| tool_json_format | Pretty-print or minify JSON |
| tool_base64_encode | Encode string to base64 |
| tool_base64_decode | Decode base64 string |
| tool_hash_generate | MD5, SHA256, SHA512 hash |
| tool_uuid_generate | UUID v4 or v7 |
| tool_url_parse | Parse URL into components |
| tool_regex_test | Test regex pattern, return matches |
| tool_markdown_to_html | Markdown → HTML |
| tool_html_to_markdown | HTML → Markdown |
| tool_text_stats | Word count, char count, reading time |
| tool_slug_generate | URL-safe slug from text |
| tool_datetime_convert | Convert between timezones/formats/Unix timestamps |
| tool_cron_parse | Human-readable cron description + next N runs |
| tool_diff_text | Unified diff between two texts |
| tool_csv_to_json | CSV → JSON array |
| tool_json_to_csv | JSON array → CSV |
| tool_jwt_decode | Decode JWT payload (no verification) |
REST API
All tools also available as REST endpoints at /api/v1/{tool_name}.
OpenAPI docs: https://agent-utils-mcp.onrender.com/docs
Discovery
- **Google A2A:** /.well-known/agent-card.json
- **Smithery:** /.well-known/mcp/server-card.json
- **OpenAPI:** /openapi.json
Pricing
- **Free tier:** 100 requests per IP per 24 hours
- **Paid tier:** x402 protocol — $0.001/request in USDC (Base network)
Paying with x402
When you exhaust the free tier, the server replies with HTTP 402 carrying
machine-readable payment requirements (x402 v1). Any x402-aware client pays
and retries automatically:
Or attach the payment header yourself: the X-Payment header must be a
base64-encoded JSON envelope containing an EIP-3009 TransferWithAuthorization
(USDC on Base) signed with the payer's EIP-712 key for the exact price,
addressed to the server's wallet, with an unused nonce. Payments are verified
cryptographically (signature recovery + amount/recipient/deadline/replay
checks) before the request is served.
Payment configuration (environment variables)
| Variable | Default | Purpose |
|----------|---------|---------|
| X402_WALLET_ADDRESS | *(unset — paywall disabled)* | Wallet that receives payments |
| X402_PRICE_MICROUSD | 1000 ($0.001) | Price per request in USDC atomic units |
| X402_NETWORK / X402_CHAIN_ID / X402_USDC_CONTRACT | base / 8453 / Base USDC | Payment network |
| X402_MAX_TIMEOUT_SECONDS | 60 | Payment validity window |
| RATE_LIMIT_FREE | 100 | Free requests per IP per 24h |
Collecting revenue (on-chain settlement)
With X402_SETTLER_PRIVATE_KEY set, every verified payment is executed
on-chain within seconds: the EIP-3009 transferWithAuthorization is submitted