Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
RIGHTS_PAYTONoRights-holder payout address.soundraw-payout
RIGHTS_NETWORKNoNetwork: sim = no chain, auto-pays a funded demo wallet. A real network (e.g. solana-mainnet) requires a signed x402 payment.sim
RIGHTS_TAKE_BPSNoPlatform cut in basis points.1500
SOUNDRAW_API_KEYNoWhen set, swaps the sample catalog for the real Soundraw rights catalog.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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.

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.

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.

verify_licenseA

Verify a license certificate offline. Returns whether it is validly signed by the rights issuer and the license terms it carries.

catalog_statsB

Operational stats: issuer key, network, take rate, licenses issued, balances.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yksanjo/rights-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server