Skip to main content
Glama
lordbasilaiassistant-sudo

base-gasless-deploy-mcp

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
NameRequiredDescriptionDefault
deployer_addressYesDeployer wallet address to filter by

Implementation Reference

  • 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"),
      },

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/lordbasilaiassistant-sudo/base-gasless-deploy-mcp'

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