
Kaspa Script Tools
Parses, prices, and explains Kaspa txscript hex without a running node or SDK dependency.
- tools
- 4
- transport
- STDIO
- last updated
- Nov 17, 2026
What it does
- Parses hex with
disassemble_scriptinto opcodes and data pushes, flagging disabled, reserved, and truncated pushes - Estimates cost with
estimate_script_cost, reporting script units, compute-mass grams, and the minimum per-input budget to commit - Explains txscript errors with
explain_script_errorand looks up opcodes by hex code or name withlookup_opcode - Runs locally over stdio with no network access or credentials; ZK per-input pricing is flagged as an estimate
- Designed for developers sizing budgets before signing and debugging script failures on Kaspa's Toccata-era covenant layer
Tools
4 toolsPublic tool metadata for what this MCP can expose to an agent.
disassemble_scripthex → opcodes + data pushes, the way the engine's parser walks it; flags disabled/reserved opcodes and truncated pushes.
hex → opcodes + data pushes, the way the engine's parser walks it; flags disabled/reserved opcodes and truncated pushes.
No parameter schema in public metadata yet.
estimate_script_costapproximate script units, compute-mass grams, share of the 500,000-gram block compute limit, and the minimum per-input compute budget to commit.
approximate script units, compute-mass grams, share of the 500,000-gram block compute limit, and the minimum per-input compute budget to commit.
No parameter schema in public metadata yet.
explain_script_errorplain-language explanation + fix for txscript errors (metering, stack, opcode, push-encoding, ZK integrity).
plain-language explanation + fix for txscript errors (metering, stack, opcode, push-encoding, ZK integrity).
No parameter schema in public metadata yet.
lookup_opcodeby hex code or name.
by hex code or name.
No parameter schema in public metadata yet.
Readme
kaspa-script-mcp
An MCP server with tooling for Kaspa's Toccata-era script/covenant layer. Pure
TypeScript, no node or SDK dependency at runtime — the opcode table and pricing
constants are generated from rusty-kaspa v2.1.0 (commit 01b532e).
Tools
- disassemble_script — hex → opcodes + data pushes, the way the engine's parser walks it; flags disabled/reserved opcodes and truncated pushes.
- estimate_script_cost — approximate script units, compute-mass grams, share of the 500,000-gram block compute limit, and the minimum per-input compute budget to commit. Size a budget before signing to avoid
ExceededCommittedScriptUnits. - explain_script_error — plain-language explanation + fix for txscript errors (metering, stack, opcode, push-encoding, ZK integrity).
- lookup_opcode — by hex code or name.
Install
No build needed. Add it to your MCP client (Claude Code, Claude Desktop, Cursor, VS Code):
{ "mcpServers": { "kaspa-script": { "command": "npx", "args": ["-y", "kaspa-script-mcp"] } } }
Details
- Repository
- github.com/drvelvetfog/kaspa-script-mcp
- Categories
- Web3 & Crypto, Developer Tools
- Package
kaspa-script-mcp- Transport
- STDIO
- Registry
- MCP registry, active
More from drvelvetfog
All 2Similar to Kaspa Script Tools
More Web3 & Crypto
cli-castSkillpaulrberg/agent-skills309 installsFoundry cast skill for preparing, simulating, signing, and broadcasting on-chain transactions with chain-aware gas accounting.
agent-pulseSkilljane-o-o-o-o/agent-pulse-skill47.6K installsLocal AI-agent activity inspector across 13 coding tools, with cost, forecast, health, and export commands.
tokentabPlugindavepoon/buildwithclaude3.8K starsSee what Claude Code is spending while you work: every API call priced from the first prompt, a live cost pane, and budget limits that warn or stop. No setup, n
PreflightMCP serverdainidudePay-per-call smart-contract security scans and transaction simulations over x402 on Base.
Code RunnerMCP serverformulahendry241 starsRuns code snippets in dozens of languages locally and returns the output to the assistant.
OpikMCP servercomet-ml226 starsRead and score Opik traces, experiments, datasets, and prompts from an AI assistant.