three.ws Solana Memo Media

v0.1.0
io.github.nirholas/solana-memo-media-mcp Checked 3 hours ago Published 1 month ago

Extract validated image data URIs from Solana SPL Memos and return them inline to MCP clients.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

decode_solana_memo_data_uri Decode a Solana memo data URI

Decode and validate one base64 image data URI from a Solana memo. Only PNG, JPEG, WebP, and GIF are accepted. The bytes stay local to the MCP process, are checked against their claimed file signature, and return inline as an MCP image with byte length, SHA-256, and dimensions when available. Use this when you already hold a data URI string; to pull media from a transaction call extract_solana_memo_media instead.

ParameterTypeDescription
dataUri *stringA complete base64 image data URI from an SPL Memo instruction.

extract_solana_memo_media Extract media from a Solana transaction memo

Fetch a confirmed Solana transaction (legacy, v0, or v1), inspect top-level and inner SPL Memo instructions, and render every supported embedded image data URI inline. The response identifies the source signature, fee payer, slot, and transaction version, and reports rejected media without returning unsafe bytes. This is chain data, not a claim of authorship or safety. Use this when you have a transaction signature; to scan an address for media call find_solana_memo_media.

ParameterTypeDescription
signature *stringSolana transaction signature in base58.

find_solana_memo_media Find recent memo media for a Solana address

Scan a Solana address's recent confirmed transactions and return only validated image data URIs carried by SPL Memo instructions. Signatures whose memo summary holds no data URI are skipped without fetching the transaction, so a scan costs one RPC call plus one per candidate. Pass a memo program id as the address to watch every memo written to it. Use the returned signatures to verify provenance in an explorer. Use this when you have an address but no signature; for one known transaction call extract_solana_memo_media.

ParameterTypeDescription
address *stringSolana wallet, token account, or program address in base58.
beforestringContinue the scan from signatures older than this one (the previous response's next_before).
limitintegerRecent signatures to scan, from 1 to 1000 (default 100).

get_solana_memo_media_status Solana memo media capability

Report the local decoding policy, recognized memo programs, and ordered Solana RPC failover hosts. No network call is made and no data is stored. Use this to check which RPC hosts and memo programs the server will use before a scan.