How to Connect AdriaHost Mail to Codex Desktop and Claude Code

AdriaHost Mail MCP allows you to use AI tools to search your connected mailbox and view message details. This guide explains how to connect using the Codex desktop app and 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, click Authenticate. The AdriaHost mailbox connection page will open in your browser.

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

     

     

  6. Once the connection test is successful, click Connect.

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

For your first check, you can use this prompt:

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

Connecting through Claude Code

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

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

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

Then:

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

Once connected, you can use a prompt such as:

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

Troubleshooting connection issues

If automatic mailbox detection fails, contact AdriaHost support and ask for the exact mail server hostname to enter under Advanced settings.

Also check the following:

  • that you entered your full email address;
  • that your mailbox password is correct;
  • that you entered the MCP server address correctly;
  • that you restarted Codex when prompted;
  • that you completed authentication in the browser window.

Security notice

Enter your mailbox credentials only on the AdriaHost connection page. Do not enter your password in a conversation with an AI assistant, terminal commands, or prompt text.

  • 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:...