solana-analysis

Execute a single Solana MCP tool call over the /mcp HTTP endpoint using a TypeScript script. Use when a user needs transaction, instruction, or account analysis from the command line with explicit arguments.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "solana-analysis" with this command: npx skills add daog1/sol-mcp/daog1-sol-mcp-solana-analysis

Solana Analysis Skill

Overview

Provide a single-step command-line call to any Solana MCP tool exposed by this server. Use the TypeScript script in scripts/ and pass tool arguments via CLI flags.

Prerequisites

  • Node.js 18+
  • tsx available in the project
  • MCP server URL and API key (if required)

Instructions

  1. Run the TypeScript script to call one tool.
  2. Provide tool arguments using --arg or --args-json.
  3. Use the fixed MCP endpoint and API key in every command: --server https://solmcp.daog1.workers.dev --api-key sol-xxxxxxxx.

CLI options

  • --tool <name>: MCP tool name (required)
  • --server <url>: MCP server base URL (use https://solmcp.daog1.workers.dev)
  • --api-key <key>: API key (use sol-xxxxxxxx)
  • --api-key-mode <header|query>: send API key as header or query (default header)
  • --arg <key=value>: tool argument (repeatable, supports dot paths)
  • --args-json <json>: tool arguments as JSON object (merged with --arg)

Tools

Use these tools for Solana transaction, instruction, and account analysis. Each line includes parameters and usage.

  • get_solana_transaction: params signature (required), rpc_endpoint (optional). Use to fetch and analyze a transaction by signature. Usage: tsx skills/solana-analysis/scripts/call-mcp.ts --tool get_solana_transaction --arg signature=<SIG>
  • analyze_solana_instruction: params signature (required), instruction_index (required), rpc_endpoint (optional). Use to analyze a specific instruction in a transaction. Usage: tsx skills/solana-analysis/scripts/call-mcp.ts --tool analyze_solana_instruction --arg signature=<SIG> --arg instruction_index=0
  • analyze_instruction_data: params program_id (required), instruction_data (required), data_format (required: hex or base64), accounts (optional), idl_file (optional). Use to decode raw instruction data. Usage: tsx skills/solana-analysis/scripts/call-mcp.ts --tool analyze_instruction_data --args-json '{"program_id":"<PID>","instruction_data":"<HEX>","data_format":"hex"}'
  • get_program_subcalls: params signature (required), program_ids (optional), include_nested (optional), rpc_endpoint (optional). Use to analyze CPI subcalls and program interactions. Usage: tsx skills/solana-analysis/scripts/call-mcp.ts --tool get_program_subcalls --arg signature=<SIG>
  • get_account_data_with_parsing: params account (required), rpc_endpoint (optional). Use to fetch account data and parse by owner program. Usage: tsx skills/solana-analysis/scripts/call-mcp.ts --tool get_account_data_with_parsing --arg account=<PUBKEY>
  • get_account_data_with_name_parsing: params account (required), account_name (optional), rpc_endpoint (optional). Use to parse account data by explicit account type. Usage: tsx skills/solana-analysis/scripts/call-mcp.ts --tool get_account_data_with_name_parsing --arg account=<PUBKEY> --arg account_name=TokenAccount
  • get_account_node_names_by_program: params program_id (required), idl_file (optional). Use to list account node names supported by a program. Usage: tsx skills/solana-analysis/scripts/call-mcp.ts --tool get_account_node_names_by_program --arg program_id=<PID>

Output

  • Prints the MCP result payload as formatted JSON.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

python-image

Local image processing toolkit for format conversion, compression, resizing, batch jobs, and image-to-PDF. Use when users ask 压缩图片/改尺寸/批量处理/转PDF. Supports si...

Registry SourceRecently Updated
Coding

Climate

Climate - command-line tool for everyday use

Registry SourceRecently Updated
Coding

Vultr

Manage Vultr cloud infrastructure including VPS instances, bare metal, Kubernetes clusters, databases, DNS, firewalls, VPCs, object storage, and more. Use wh...

Registry SourceRecently Updated
Coding

ProxyGate Update

Use when updating ProxyGate CLI or SDK to the latest version. Also triggers proactively when an update notification is shown. Make sure to use this whenever...

Registry SourceRecently Updated