Skip to main content
Glama
lobster-kit

mcp-server-lobstermail

by lobster-kit

list_inboxes

Retrieve all active email inboxes for your LobsterMail account to manage email tools within AI agents.

Instructions

List all active inboxes for this account.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The MCP tool registration and implementation handler for 'list_inboxes'. It retrieves the LobsterMail client and calls the listInboxes method.
    server.registerTool('list_inboxes', {
      title: 'List Inboxes',
      description: 'List all active inboxes for this account.',
      inputSchema: {},
    }, async () => {
      const lm = await getClient();
      const inboxes = await lm.listInboxes();
    
      if (inboxes.length === 0) {
        return {
          content: [{ type: 'text' as const, text: 'No inboxes found. Use create_inbox to create one.' }],
        };
      }
    
      for (const inbox of inboxes) {
        cacheInbox(inbox);
      }

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/lobster-kit/mcp-server-lobstermail'

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