audit-infra
Infrastructure-first security audit — secrets, supply chain, CI/CD, LLM/skill security, OWASP, STRIDE. Complements /audit-solana (program-level)
Configure MCP server API keys in .env
> /plugin marketplace add solanabr/solana-ai-kit > /plugin install solana-ai-kit@stbr
How it fires
How this command gets triggered: by you, by Claude, or both.
/setup-mcpContext preview
What this command does when you run it.
Configure MCP server API keys in .env
description: "Configure MCP server API keys in .env"
You are guiding the user through MCP API key setup. All secrets go in `.env` (never in `mcp.json`).
Check if `.env` exists in the project root. If not, copy from `.env.example`:
if [ ! -f ".env" ] && [ -f ".env.example" ]; then cp .env.example .env echo "Created .env from .env.example" elif [ ! -f ".env" ]; then touch .env echo "Created empty .env" else echo "Found existing .env" fi
For each key below, ask the user to paste a value or say "skip":
1. **HELIUS_API_KEY** — Helius RPC + DAS API (get one at https://dev.helius.xyz) 2. **COLOSSEUM_COPILOT_PAT** — Colosseum Copilot for startup research (optional, get at https://arena.colosseum.org/copilot) 3. **MISTRAL_API_KEY** — QEDGen formal verification (optional, get at https://console.mistral.ai)
For each value provided, write or update the line in `.env`. Skip means leave it empty.
**Note — Surfpool MCP is keyless** (no `.env` entry), but its server (`surfpool mcp`) requires the `surfpool` CLI binary on PATH. Install is the user's responsibility — do not run it for them: `curl -L https://surfpool.run/install | sh` or `brew install txtx/taps/surfpool`. Verify with `command -v surfpool`.
Print which keys are configured vs skipped:
MCP secrets (.env): HELIUS_API_KEY [configured / skipped] COLOSSEUM_COPILOT_PAT [configured / skipped] MISTRAL_API_KEY [configured / skipped]
Remind the user: restart Claude Code to pick up changes.
Production-ready Claude Code configuration for full-stack Solana development. Combines best practices from multiple sources into an agent-optimized, token-efficient config you can install and adapt to your specific project.
Repo: solanabr/solana-ai-kit
Infrastructure-first security audit — secrets, supply chain, CI/CD, LLM/skill security, OWASP, STRIDE. Complements /audit-solana (program-level)
Benchmark CU usage and compare against baseline for regression detection