Skip to main content
Glama

list_available_accounts

Retrieve a list of available email accounts on the MCP Email Server, enabling efficient management and integration of IMAP and SMTP services.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'list_available_accounts' tool. It is decorated with @mcp.tool, which also serves as registration. Retrieves masked account attributes from settings.
    @mcp.tool(description="List all configured email accounts with masked credentials.") async def list_available_accounts() -> list[AccountAttributes]: settings = get_settings() return [account.masked() for account in settings.get_accounts()]

Other Tools

Related Tools

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/ai-zerolab/mcp-email-server'

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