uniderp-mcp
Version:
> A plug-and-play MCP tool server to **send ETH**, **transfer ERC-20 tokens**, **deploy tokens**, and **interact with smart contracts** on the **UNICHAIN** — built for **Claude Desktop**, **AI agents**, and **developers.**
31 lines (30 loc) • 1.06 kB
JavaScript
import { uniderpListMeme } from "../lib/uniderp.js";
export function registerUniderpListMeme(server) {
server.tool("View_Uniderp_List_Meme_Tokens", "👜 View all ERC20 Meme tokens deployed on Uniderp Platform (on Unichain Network)", {
// sortBy: z.string().optional(),
}, async () => {
try {
const listTokens = await uniderpListMeme();
return {
content: [
{
type: "text",
text: `get list tokens on uniderp successfully. ${JSON.stringify(listTokens)}`,
},
],
};
}
catch (error) {
const errorMessage = error instanceof Error ? error.message : String(error);
return {
content: [
{
type: "text",
text: `get list tokens on uniderp failed: ${errorMessage}`,
},
],
isError: true,
};
}
});
}