Skip to content

Other MCP clients

Add the server to your AI client using the snippet for your app below. Each app has two options — pick one:

  • OAuth (recommended): leave the API key out. On first use your client opens a LegalZoom sign-in page in your browser (see Authentication). Use this if your client supports OAuth.
  • API key: paste the key you generated wherever you see [YOUR_API_KEY]. Use this if your client doesn’t support OAuth, or for unattended agents.
ServerURL
All toolshttps://api.earthclassmail.com/v2/mcp
Read-only toolshttps://api.earthclassmail.com/v2/mcp/readonly

Machine-readable descriptions of every tool the server exposes, useful for agents and automated discovery:

FormatURL
Plain textmcp_catalog.txt
JSONmcp_catalog.json

Read-only access limits your connection to tools that can view mail — finding, listing, and reading message text. Tools that take action (scanning, shredding, moving, tagging, transferring) are not available.

You can enable read-only access in either of two ways:

  • Use the read-only URL — connect to .../v2/mcp/readonly. Works if your client only lets you configure a URL, or if you want a connection that can never be switched to full access.
  • Use the read-only header — keep the standard URL and add the header X-MCP-ReadOnly: true. Works if your client supports custom headers and you prefer a single URL.

All tools:

Terminal window
claude mcp add --transport http virtual-mail https://api.earthclassmail.com/v2/mcp

Read-only (via URL):

Terminal window
claude mcp add --transport http virtual-mail https://api.earthclassmail.com/v2/mcp/readonly

Read-only (via header):

Terminal window
claude mcp add --transport http virtual-mail https://api.earthclassmail.com/v2/mcp --header "X-MCP-ReadOnly: true"

All tools:

Terminal window
claude mcp add --transport http virtual-mail https://api.earthclassmail.com/v2/mcp --header "Authorization: Bearer [YOUR_API_KEY]"

Read-only (via URL):

Terminal window
claude mcp add --transport http virtual-mail https://api.earthclassmail.com/v2/mcp/readonly --header "Authorization: Bearer [YOUR_API_KEY]"

Read-only (via header):

Terminal window
claude mcp add --transport http virtual-mail https://api.earthclassmail.com/v2/mcp --header "Authorization: Bearer [YOUR_API_KEY]" --header "X-MCP-ReadOnly: true"