Skip to content
Back to skills

Solana Setup

FSecurity

Install, update, or verify the solana-onchain-mcp binary. Use when user runs /solana-setup, asks to "install solana binary", "update solana-onchain-mcp", "check solana setup", "set up solana plugin", or when the binary is missing from PATH.

  • 7 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added May 26, 2026
devopspythonrustgobashgitapi

Works with

  • api
  • mcp

Security analysis

F30/100
  • criticalPipes output to a shell interpreter
  • mediumUses curl or wget to download content
  • criticalDownloads and executes remote scripts — classic supply chain attack
  • criticalDownloads and executes remote scripts — classic supply chain attack

Pro shows the line behind each finding and how to fix it

Scanned May 27, 2026

npx -y skills add widnyana/eyay-toolkits --skill solana-setup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Solana Setup?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Solana Setup
[![Security: F — Skills Directory](https://www.skillsdirectory.com/api/skills/widnyana-solana-setup/badge)](https://www.skillsdirectory.com/skills/widnyana-solana-setup)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: solana-setup
description: |
  Install, update, or verify the solana-onchain-mcp binary. Use when user runs /solana-setup,
  asks to "install solana binary", "update solana-onchain-mcp", "check solana setup",
  "set up solana plugin", or when the binary is missing from PATH.
argument-hint: "[action] (optional: status, install, update)"
allowed-tools: [Bash]
---

Install, update, or verify the solana-onchain-mcp binary.

Review: $ARGUMENTS

## Instructions

### status (default)

1. Check binary exists: `command -v solana-onchain-mcp`
2. If not found — report "solana-onchain-mcp is not installed" and skip to install section.
3. If found — get installed version: `solana-onchain-mcp --version`
4. Get latest version:
   ```bash
   curl -sf --connect-timeout 5 https://crates.io/api/v1/crates/solana-onchain-mcp | python3 -c "import sys,json; print(json.load(sys.stdin)['crate']['max_version'])" 2>/dev/null
   ```
   If network fails: report installed version only, warn that latest check failed.
5. Compare versions and report:
   - Same: "v{version} is up to date."
   - Different: "Installed v{installed}, latest v{latest}. Run /solana-setup update."

### install

1. Confirm with user which method:
   - **Prebuilt binary (recommended)**: `curl -fsSL https://raw.githubusercontent.com/widnyana/solana-onchain-mcp/refs/heads/main/install.sh | bash`
   - **Cargo**: `cargo install solana-onchain-mcp`
2. Execute the chosen command.
3. Verify: `command -v solana-onchain-mcp && solana-onchain-mcp --version`
4. Report success with binary location and version.

### update

1. Check installed version: `solana-onchain-mcp --version`
2. Check latest version (same as status step 4).
3. If already latest: report "Already up to date."
4. If outdated: confirm with user, then:
   - Prebuilt: re-run install.sh (always fetches latest)
   - Cargo: `cargo install solana-onchain-mcp --force`
5. Verify new version after update.

### Error handling

- `curl` fails: suggest checking internet connection, offer to retry
- `cargo` not found: suggest prebuilt method or installing Rust
- Permission denied: suggest checking install directory permissions
- Version check fails: still allow install, just can't compare versions

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.