How to Connect AdriaHost Mail to Codex Desktop and Claude Code

AdriaHost Mail MCP allows AI tools to search a connected mailbox and display information about email messages. This guide explains how to connect your mailbox using the Codex desktop app or Claude Code.

MCP server address:

https://mcp.adriahost.com/mcp

Connecting through the Codex desktop app

  1. Open the Codex desktop app and go to Settings → MCP servers → Add server.

  2. Enter the following details:

    • Name: AdriaHost Mail
    • Transport: Streamable HTTP
    • Server URL: https://mcp.adriahost.com/mcp
  3. Save the connection. If prompted, select Restart.

  4. After restarting the app, click Authenticate. The AdriaHost mailbox connection page will open in your browser.

  5. Enter your email address and mailbox password, then click Test connection.

  6. Once the test is successful, click Connect.

  7. Return to Codex and ask it to check the connected mailbox.

You can use the following request for the first test:

Find the five most recent messages and show their senders and subject lines.

Connecting through Claude Code

If you already use Claude Code in a terminal, add the AdriaHost Mail MCP server with the following command:

claude mcp add --transport http adriahost-mail https://mcp.adriahost.com/mcp

This command only adds the MCP connection configuration. It does not send any emails.

After running the command:

  1. Open Claude Code.
  2. Enter /mcp.
  3. Select AdriaHost Mail.
  4. Start the authentication process.
  5. Enter your mailbox credentials in the browser window that opens.
  6. Click Test connection and, after a successful test, click Connect.

Once connected, you can try a request such as:

Find the five most recent messages and show their senders and subject lines.

Troubleshooting connection problems

If the automatic mailbox test is unsuccessful, contact AdriaHost Support and request the correct mail server hostname to enter under Advanced settings.

Also check the following:

  • Make sure you entered your complete email address.
  • Verify that the mailbox password is correct.
  • Confirm that the MCP server address was entered correctly.
  • Restart Codex if prompted.
  • Make sure you completed authentication in the browser window.

Security notice

Only enter your mailbox credentials on the AdriaHost connection page. Never enter your password in an AI conversation, terminal command, or prompt.

  • Codex, Claude, AI, MCP
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to link email account with Gmail?

Linking an email address from cPanel to a Gmail account allows you to read and send your emails...

How to check Email from browser?

You can check your emails from an internet browser using webmail. Here are the instructions on...

How to setup email on Apple Mac from cPanel?

Log into your cPanel, then open email accounts. In addition to the desired e-mail account you...

Are you able to receive emails but not send?

f you aren't able to send email, this usually means one thing: your internet provider is blocking...

How to create autoresponder in cPanel?

To configure Auto Responder to send automatic replies from an email address on your domain:...