/spark:spark-mcp-e2efrom spark
Validates and debugs Spark wallet operations end-to-end using MCP tools. Covers transfers, deposits, Lightning Network payments, and withdrawals against a local Spark environment.
Claude never picks this skill on its own
Its frontmatter has no description. Without a description, Claude Code leaves it out of the list Claude chooses from. Typing /spark:spark-mcp-e2e still runs it.
What the skill costs in Claude's context, stage by stage
No description Claude Code can read, so Claude's list leaves it out: only you can start it.
SKILL.md joins the conversation and stays.
The Spark MCP server (sdks/js/packages/spark-mcp/) exposes wallet operations as tools for end-to-end validation of features, debugging flows against a running local Spark environment, and developing new MCP tools.
Before running any e2e workflow, verify the MCP tools are available by invoking any spark_ tool (e.g., spark_get_balance).
If tools are available, proceed to the relevant workflow below.
If tools are NOT available:
mise build-js-packages
.mcp.json at the repo root. If missing, direct the user to the setup instructions in sdks/js/packages/spark-mcp/README.md (Installation section)..mcp.json exists but tools still fail, consult the environment variable table in the README and the network routing details in sdks/js/packages/spark-mcp/CLAUDE.md.The README.md and CLAUDE.md in the spark-mcp package are the source of truth for setup and configuration — do not duplicate their contents here.
Tools change as the MCP server evolves. Do not rely on a hardcoded tool list.
spark_. Call any tool or use tool discovery to see what's available.sdks/js/packages/spark-mcp/src/tools/index.ts.After implementing a feature, use these patterns to verify it works against a running local Spark environment. Adapt steps to the specific feature under test.
Quick check that the local Spark environment is functional:
If any step fails, the error message usually indicates which component is down (SO, bitcoind, chain watcher, etc.).
When debugging a specific issue:
opensearch-logs skill if available) to correlate wallet-level behavior with server-side processing.When e2e validation was performed during the current session, capture the results for the PR description. Include a ## Proof of Work section with:
<details> blockExample format:
## Proof of Work
Validated against local Spark environment:
1. Created sender and receiver wallets
2. Funded sender with 50,000 sats via deposit flow
3. Sent transfer with new `memo` field set to `"test-memo"` → transfer ID `abc123`
4. Retrieved transfer on receiver — confirmed `memo: "test-memo"` present in response
<details>
<summary>MCP tool outputs</summary>
`spark_send_transfer` response:
...
`spark_get_transfer` response:
...
</details>
Only include proof when validation was actually performed — do not fabricate results.
When building a feature in the Spark SDK or SO that should be testable via MCP:
sdks/js/packages/spark-mcp/src/tools/index.ts for current registrations — an existing tool may already cover the feature.sdks/js/packages/spark-mcp/CLAUDE.md for the package structure and "Adding a new tool" steps.resolve parameter for dependency injection (enables testing with mock wallets)BITCOIN_NETWORK being LOCALsdks/js/packages/spark-mcp/src/tests/.mise build-js-packagesWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
spark-mcp, e2e-validation, wallet-testing, lightning-network, bitcoin
Generated from the plugin's indexed repository (revofusion/spark2) — no native marketplace selected
npx claudepluginhub p/revofusion-sparkNone: SKILL.md is the whole skill.
3 skills in this plugin
2 plugins ship this exact skill · first indexed Jun 3, 2026
Other plugins' skills for the same job