Skip to main content
Glama
botwallet-co

BotWallet MCP Server

by botwallet-co

botwallet_wallet_list

List all locally configured wallets and identify the default wallet by reading from the shared wallet registry configuration file.

Instructions

List all locally configured wallets. Shows which wallet is the default. This reads from ~/.botwallet/config.json — the wallet registry shared with the CLI.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler implementation for the 'botwallet_wallet_list' tool, which lists locally configured wallets by calling 'listWallets' and formatting the results.
    const walletList: ToolDefinition = {
      name: 'botwallet_wallet_list',
      description:
        'List all locally configured wallets. Shows which wallet is the default. ' +
        'This reads from ~/.botwallet/config.json — the wallet registry shared with the CLI.',
      inputSchema: z.object({}),
      async handler(_args, ctx) {
        if (!ctx.config.hasConfig) {
          return noConfigError('list wallets');
        }
        try {
          const wallets = listWallets();
          return formatResult({
            wallets: wallets.map(w => ({
              name: w.name,
              username: w.wallet.username,
              display_name: w.wallet.display_name,
              is_default: w.isDefault,
              has_seed: seedExists(w.name),
              created_at: w.wallet.created_at,
            })),
            count: wallets.length,
          });
        } catch (e) {
          return formatToolError(e);
        }
      },
    };
  • Registration of the tool in the export array for the wallet module.
    export const walletTools: ToolDefinition[] = [
      ping,
      register,
      info,
      balance,
      updateOwner,
      rename,
      walletList,
      walletUse,
    ];

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/botwallet-co/mcp'

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