rights-mcp
Enables settlement of music license payments on the Solana blockchain through a facilitator adapter that handles partially-signed transactions and durable nonces.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@rights-mcp search for calm lofi music"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
rights-mcp
The rights layer for the agent economy. An MCP server that lets an AI agent search, license, and pay for rights-clean music per use — and walk away with a verifiable license certificate proving it's allowed to use the track.
Built on x402 for payment and the fair-exchange escrow pattern from x402-pact: the agent's money only moves once the licensed asset and a signed certificate are bound to the payment. Zero dependencies, no SDK, no LLM in the loop — it runs anywhere Node runs and behaves identically whether or not any AI service is reachable.
Why this exists
An agent generating a video, ad, or stream doesn't need "a track." It needs a track it is allowed to use, with a paper trail proving it. That paper trail is only worth anything if whoever issues it actually controls the rights. That's the moat: the catalog adapter is the one piece a generic tool can't fake — it's where a real rights holder (e.g. a music catalog like Soundraw) plugs in.
Everything else here — pricing, escrow, certificates, the MCP wire protocol — is plumbing, and it's all built and tested.
Related MCP server: AINSOF MCP Server
The loop
search_tracks ──▶ quote_license ──▶ license_track ──▶ verify_license
(previews) (price + x402 (pay → settle (offline proof
requirements) ONLY on delivery) of rights)npm run demo
# 1. search → picked "Low Tide" (trk_lowtide), creator price $0.162
# 2. quote → q_7ab4..., $0.162 for creator usage
# 3. pay+settle → license lic_498f..., tx sim-settle:3a6b...
# split: rights-holder $0.1377, platform $0.0243
# 4. verify → VALID certificateMCP tools
Tool | What it does |
| Query the catalog by mood/genre/bpm/text. Returns previews + per-usage price estimates. No licensed asset. |
| Price a track for a usage tier ( |
| Pay a quote. Funds settle only after the asset + a signed certificate are bound to the payment (fair exchange). Returns the deliverable + certificate. |
| Verify a certificate offline: validly signed by the rights issuer, with its terms. |
| Issuer key, network, take rate, licenses issued, balances. |
Run it as an MCP server
npm start # stdio JSON-RPC, ready for any MCP clientClaude Desktop / Claude Code mcpServers entry:
{
"mcpServers": {
"rights": { "command": "node", "args": ["/abs/path/to/rights-mcp/src/server.js"] }
}
}Or drive it with no client (the "no LLM" path)
rights search "calm lofi"
rights quote trk_lowtide creator
rights license <quoteId>
rights verify <certificate>
rights statsEconomics
license_track settles the price and splits it on the certificate: rights holder gets their share, the platform keeps takeRateBps (default 15%). The split is signed into every license, so it's auditable, not a trust-me number. Set with RIGHTS_TAKE_BPS.
Configuration
Env | Default | Meaning |
|
|
|
|
| Platform cut in basis points. |
|
| Rights-holder payout address. |
| — | When set, swaps the sample catalog for the real Soundraw rights catalog. |
What's real vs. stubbed (honest seams)
This is a working spine with two deliberate, clearly-labelled seams where production drops in:
Catalog — ships with an 8-track sample catalog so it runs with no credentials.
SoundrawCatalogis the drop-in for the real rights API (same interface; the rest of the server is unchanged). Sample deliverables are labelled placeholders, not real licensed audio.Settlement —
SimBankproves the full escrow→split loop with no chain. A Solana facilitator adapter (settle a partially-signed tx / durable nonce) drops in behind the same calls. Real on-chain settlement is not yet wired.
Everything else — escrow/fair-exchange semantics, Ed25519 certificate signing & verification, double-spend / expiry / underpayment rejection, the MCP protocol — is real and covered by 17 no-mock tests (npm test), including a full roundtrip against the actual server over stdio.
License
MIT
Available Tools
5 toolscatalog_statsB
Operational stats: issuer key, network, take rate, licenses issued, balances.
Inputs: no named parameters.
license_trackA
Complete a license by paying its quote. Pass the quoteId and, on a real network, a signed x402 payment. Funds settle ONLY after the licensed asset and a signed license certificate are bound to the payment (fair exchange). Returns the deliverable asset and a verifiable certificate.
Inputs: quoteId (required), payment.
quote_licenseA
Get a price quote and x402 payment requirements to license a specific track for a given usage. Returns a quoteId to pass to license_track.
Inputs: trackId (required), usage.
search_tracksA
Search the rights catalog for music an agent is allowed to license. Returns candidate tracks with metadata and estimated per-usage price. Returns previews only — no licensed asset until license_track is paid.
Inputs: text, mood, genre, bpm, +2 more.
verify_licenseA
Verify a license certificate offline. Returns whether it is validly signed by the rights issuer and the license terms it carries.
Inputs: certificate (required), expectKid.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a clearly distinct purpose: catalog_stats for operational stats, search_tracks for browsing, quote_license for pricing, license_track for completing licenses, and verify_license for offline verification. No overlapping functionality.
Most tools follow a verb_noun pattern (e.g., search_tracks, quote_license, verify_license). However, catalog_stats is a noun_noun form, creating a minor inconsistency. Overall, naming is clear and consistent with snake_case.
With 5 tools, the server covers essential operations for a music rights licensing system—searching, quoting, licensing, verifying, and stats—without unnecessary bloat. The count feels well-scoped.
The core workflow (search→quote→license→verify) is fully supported. Missing operations like revoking licenses or listing owned licenses are minor gaps that agents can work around, but do not break the primary use case.
Related MCP Connectors
The media station for AI agents: buy, rent and stream music. Artists are paid directly, no pooling.
Neutral commerce resolution for AI agents — music live, ranked by trust, never by commission.
Free, copyright-safe AI music library for video creators and AI agents.
Music generation for AI agents: one prompt makes a complete original song (vocals or instrumental, 2–4 minutes, MP3/WAV/FLAC). $0.0095 per song, new accounts get $0.10 free. Sign in with OAuth or use an API key.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceEnables musicians and their agents to manage AI licensing, register tracks by ISRC, issue/revoke licences, access compliance audit trails, and run their artist platform (merch, events, subscriptions, crowdfunding) through natural language with 46 tools.447 npm1-

AINSOF MCP Serverofficial
AlicenseNot gradedqualityBmaintenanceEnables AI assistants to search a curated production-music catalogue by brief or reference link, listen to full previews, and score videos with synced music, plus retrieve stems, versions, and cue sheets for licensing.MIT- AlicenseNot gradedqualityCmaintenanceEnables AI agents to search a proprietary knowledge base for free and buy access to documents or passages on demand, with automatic payment, licensing, and citation.MIT
- AlicenseAqualityCmaintenanceEnables AI agents to search a catalog of 880+ artist-owned tracks by title, genre, mood, energy and musical key, audition previews, read live license prices, and build multi-track quotes that end in a pre-filled checkout page for social media, TV/streaming and film use. All tools are read-only with no API key, leaving payment and license request submission to the website.621 PyPIMIT