Skip to main content
Glama

zora_update_coin_uri

Update the metadata URI for an existing Zora Coin to modify its token information. Requires owner wallet authorization to change coin data.

Instructions

Update the token metadata URI for an existing coin. Requires owner wallet.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
coinYes
newURIYes

Implementation Reference

  • Handler function that ensures a wallet is configured and calls CoinsSDK.updateCoinURI to update the coin's metadata URI using the wallet and public clients.
    async ({ coin, newURI }) => { ensureWallet(); const result = await CoinsSDK.updateCoinURI( { coin: coin as any, newURI }, walletClient!, publicClient ); return { content: [{ type: "text", text: json(result) }] }; }
  • Zod input schema defining required 'coin' (address) and 'newURI' (string) parameters.
    inputSchema: { coin: z.string().min(1), newURI: z.string().min(1), },
  • src/index.ts:388-408 (registration)
    Registers the 'zora_update_coin_uri' tool with McpServer, including title, description, input schema, and inline handler function.
    server.registerTool( "zora_update_coin_uri", { title: "Update coin metadata URI", description: "Update the token metadata URI for an existing coin. Requires owner wallet.", inputSchema: { coin: z.string().min(1), newURI: z.string().min(1), }, }, async ({ coin, newURI }) => { ensureWallet(); const result = await CoinsSDK.updateCoinURI( { coin: coin as any, newURI }, walletClient!, publicClient ); return { content: [{ type: "text", text: json(result) }] }; } );

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/r4topunk/zora-coins-mcp-server'

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