scaergus-mcp
by scaergus
README.md
# scaergus-mcp
**Read-only Model Context Protocol (MCP) server for Scaergus.**
`scaergus-mcp` connects MCP-compatible AI editors and agents (Cursor, Claude Desktop, Windsurf, custom JSON-RPC hosts) to local **Scaergus Shield** prompt redaction, SSRF URL safety checks, verified AI agent catalog lookup, and **Solana Mainnet** (`mainnet-beta`, Chain ID `101`) SPL software quota inspection.
- **Platform:** [https://scaergus.xyz](https://scaergus.xyz)
- **Core SDK Repository:** [`scaergus/scaergus`](https://github.com/scaergus/scaergus)
- **Protocol Docs:** [https://scaergus.xyz/docs](https://scaergus.xyz/docs)
- **OpenAPI 3.1 Spec:** [https://scaergus.xyz/openapi.json](https://scaergus.xyz/openapi.json)
- **X:** [@scaergus](https://x.com/scaergus)
## Installation
Install directly from GitHub:
```bash
npm install github:scaergus/scaergus-mcp
```
Or clone and run locally:
```bash
git clone https://github.com/scaergus/scaergus-mcp.git
cd scaergus-mcp
npm install
npm run build
npm test
```
## MCP Client Configuration (`stdio`)
```json
{
"mcpServers": {
"scaergus": {
"command": "node",
"args": ["/absolute/path/to/scaergus-mcp/dist/cli.js"],
"env": {
"SCAERGUS_API_BASE_URL": "https://scaergus.xyz"
}
}
}
}
```
## Exposed Read-Only Tools
- **`scaergus_redact_prompt`** · Runs deterministic local Scaergus Shield redaction in memory (`[SECRET_01]`, `[EMAIL_01]`, `[WALLET_01]`, `[PHONE_01]`, `[IP_01]`) without transmitting raw credentials over the network.
- **`scaergus_check_url_ssrf`** · Validates candidate URLs against loopback, RFC1918 private networks, CGNAT, link-local cloud metadata (`169.254.169.254`), and IPv4-mapped IPv6 bypasses.
- **`scaergus_search_catalog`** · Queries `/api/agents` across 70 verified AI agents and integrated runtimes with category and product-type filters.
- **`scaergus_get_agent`** · Retrieves full provenance links (official URL, pricing URL, privacy policy URL, capabilities) for a catalog slug.
- **`scaergus_inspect_solana_tier`** · Evaluates exact `bigint` SPL token balances against `PUBLIC`, `NODE`, `NEXUS`, and `SOVEREIGN` tiers on Solana Mainnet (`mainnet-beta`, Chain ID `101`) and queries live platform access configuration.
## License
MIT · see [`LICENSE`](./LICENSE) and [`SECURITY.md`](./SECURITY.md).
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues