npm musicwire-mcpstdioupdated 7d ago
Musicwire validates MusicXML, renders it with MuseScore, runs automated QC, and returns attributed MP3 and MIDI files with signed provenance receipts. It is an API for turning a score your workflow authored into files people can hear and edit - it does not compose music or use a server-side LLM.
What can you do with musicwire mcp?
Musicwire
Musicwire validates MusicXML, renders it with MuseScore, runs automated QC, and returns attributed MP3 and MIDI files with signed provenance receipts. It is an API for turning a score your workflow authored into files people can hear and edit - it does not compose music or use a server-side LLM.
How to use it
For humans
Bring MusicXML from your notation or agent workflow, then receive a listenable MP3, editable MIDI, and a receipt to verify the exact rendered files. Start with the live docs for the full guided flow and ready-to-use example scores.
For agents
The hosted API is https://musicwire.5432wire.com. Fetch the free authoring guide, validate a complete score, then pay and submit the render. Before spending, read /manifest and /.well-known/x402 for live price, USDC-on-Base wallet requirement, output license, max_generation_seconds, refund rule, and retry_policy. Send the same Idempotency-Key to retry a paid call with the same payer and payload without a second charge; a different payload with that key for the same payer returns 409 and is not charged. Fund the buyer wallet with USDC on the network named in the service's x402 quote before the paid request.
export MUSICWIRE_URL='https://musicwire.5432wire.com'
# Free: get the MusicXML authoring guide.
curl -sS "$MUSICWIRE_URL/v1/compose-guide?style=waltz&key=C%20major&tempo=96"
# Download a complete example and validate it. The first paid request returns the x402 quote.
curl -sS "$MUSICWIRE_URL/examples/02-solo-piano-sunroom-parade.musicxml" -o score.musicxml
curl -sS -X POST "$MUSICWIRE_URL/v1/validate" \
-H 'content-type: application/xml' --data-binary @score.musicxml
# Make the render body, then let an x402 buyer pay and retry the request.
node -e 'const fs=require("fs"); process.stdout.write(JSON.stringify({musicxml:fs.readFileSync("score.musicxml","utf8"),formats:["mp3","midi"]}))' > request.json
X402_PRIVATE_KEY="$FUNDED_KEY" x402curl --x402-rpc-url https://mainnet.base.org \
-X POST -H 'content-type: application/json' -H 'Idempotency-Key: musicwire-example-001' \
--data-binary @request.json "$MUSICWIRE_URL/v1/render"
# Or install the payment-aware stdio MCP server for an MCP client.
MUSICWIRE_API_URL="$MUSICWIRE_URL" MUSICWIRE_X402_PRIVATE_KEY="$FUNDED_KEY" \
npx -y musicwire-mcp
The hosted MCP endpoint is https://musicwire.5432wire.com/mcp; it returns the x402 quote for paid tools, so the calling agent supplies the Payment-Signature. See the live docs, MCP README, and API manifest for endpoint details, payment behavior, and local setup.
Demos
https://github.com/user-attachments/assets/3c4ff883-fd01-4fce-95b9-532e2e1a25b1
For humans: An end-to-end look at taking a score from a request to audio you can play and a receipt you can keep.
For agents: Fetch the guide, submit MusicXML for validation and rendering, then poll the resulting job for deliverables.
https://github.com/user-attachments/assets/b63cac9d-b6b6-4c5c-b14d-17ebade2dbdf
For humans: A festival-scale EDM anthem rendered from a complete score.
For agents: Use MusicXML with formats: ["mp3", "midi"] to produce an audio preview and an editable MIDI deliverable.
https://github.com/user-attachments/assets/003dba17-f5fa-49dd-8842-8c3fc31dda44
For humans: A high-energy metalcore gym track rendered as a playable result.
For agents: Submit a fully specified heavy arrangement and let Musicwire validate, render, and QC the requested outputs.
https://github.com/user-attachments/assets/b1780656-6ab6-40a2-8737-e2bf87bf1875
For humans: A modern country drive that shows the same workflow can carry a different musical character.
For agents: Adapt the authoring guide to the target style, then render the completed MusicXML into listening and editing formats.
https://github.com/user-attachments/assets/31a40aab-a97e-48ce-8c4d-2466e50fa492
For humans: A Spanish reggaeton dembow rendered from notation into a track you can hear.
For agents: Use the same API contract for a rhythm-led score and keep the returned provenance receipt with the artifacts.
Install
Add musicwire mcp to your client. Pick the one you use.
claude mcp add musicwire-mcp -- npx -y musicwire-mcpcodex mcp add musicwire-mcp -- npx -y musicwire-mcpamp mcp add musicwire-mcp -- npx -y musicwire-mcp{
"mcpServers": {
"musicwire-mcp": {
"command": "npx",
"args": [
"-y",
"musicwire-mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"musicwire-mcp": {
"command": "npx",
"args": [
"-y",
"musicwire-mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"musicwire-mcp","command":"npx","args":["-y","musicwire-mcp"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"musicwire-mcp": {
"command": "npx",
"args": [
"-y",
"musicwire-mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"musicwire-mcp": {
"command": "npx",
"args": [
"-y",
"musicwire-mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"musicwire-mcp": {
"command": "npx",
"args": [
"-y",
"musicwire-mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"musicwire-mcp": {
"type": "local",
"command": "npx",
"args": [
"-y",
"musicwire-mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"musicwire-mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"musicwire-mcp"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y musicwire-mcpRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
Score
39 / 100
Incomplete
- Documentation20/25
- Maintenance19/25
- Trust6/20
- Capability0/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 0 days ago
- Has a release history
- Repository is not archived
- No licence detected
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Version history
| Versions | Published |
|---|---|
| 0.1.1Latest | Aug 24, 2026 |