list_deployed_tokens
Retrieve all ERC-20 tokens deployed by a specific address during the current gasless deployment session on Base network.
Instructions
List tokens deployed by an address in the current session. Tracks all deployments made through this MCP server.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deployer_address | Yes | Deployer wallet address to filter by |
Implementation Reference
- src/index.ts:341-364 (handler)The handler implementation for the list_deployed_tokens tool, which filters a deployments array by deployer or owner address and returns token details.
async ({ deployer_address }) => { try { const filtered = deployments.filter( (d) => d.deployer.toLowerCase() === deployer_address.toLowerCase() || d.owner.toLowerCase() === deployer_address.toLowerCase() ); const tokens = filtered.map((d) => ({ token_address: d.tokenAddress, name: d.name, symbol: d.symbol, total_supply: d.totalSupply, owner: d.owner, gasless: d.usedPaymaster, tx_hash: d.txHash, block_number: d.blockNumber, deployed_at: new Date(d.timestamp * 1000).toISOString(), explorer: `https://basescan.org/token/${d.tokenAddress}`, })); return mcpResult({ deployer: deployer_address, total: tokens.length, - src/index.ts:335-340 (registration)Registration and schema definition for the list_deployed_tokens tool in src/index.ts.
server.tool( "list_deployed_tokens", "List tokens deployed by an address in the current session. Tracks all deployments made through this MCP server.", { deployer_address: z.string().describe("Deployer wallet address to filter by"), },