HQBase
Lets your AI agent work with your team's shared email workspace running in your own Cloudflare account.
354 stars on GitHubby HQBaseLicense AGPL-3.0Updated last month
How to install
This MCP is remote: it runs in the cloud.
Nothing to install. Copy the address and paste it into your AI app:
Server address
https://<installation_domain>/mcp
- βΊClaude (site or app): Settings β Connectors β Add custom connector.
- βΊChatGPT: Settings β Apps β Create app (developer mode), and paste the address.
- βΊClaude Code, Cursor, VS Code and Windsurf: pick your app below.
Paste in the terminal:
claude mcp add --transport http hqbase https://<installation_domain>/mcp
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Show me the unread messages in the support mailbox.
Draft a reply to the latest customer email.
What it is
HQBase is an open-source shared email workspace that runs in your Cloudflare account, so mail and credentials stay in your control. It includes shared mailboxes, team access controls, multiple domains, drafts and audit history. It also has an OAuth-protected remote MCP server for AI agents.
What it can do
- Shared mailboxes with team access controls
- Multi-domain setup
- Drafts
- Audit history
- OAuth-protected remote MCP access
When to use
- βΊWhen your team shares mailboxes and wants an AI agent to help with them.
- βΊWhen you want email data to stay in infrastructure you control.
- βΊWhen you run several domains from one mail workspace.
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
email-conciergeHelps your agent check your inbox, sort mail, draft replies and queue messages for approval, with the AI running on your own computer.email-inbox-triageHelps your agent sort your inbox by priority, find threads that need replies and draft responses, without sending or deleting anything.inbox-triageHelps your agent sort recent emails by priority, draft replies it never sends, and report what needs your attention.Frequently asked questions
Is HQBase open source?
Yes. It is available under the GNU Affero General Public License v3.0 only.
Where does it run?
In your own Cloudflare account. The readme says mail and credentials stay in your infrastructure.
How does the agent sign in?
The remote MCP server is protected with OAuth.
How do I install it?
The readme points to a deploy button and the documentation at hqbase.io/docs for installation and operations.
Is there a desktop client?
A community macOS client called Herald exists. It is maintained independently of HQBase.
How do I report a security problem?
Use the private process in the security policy.
If it does not work
- βΊFollow the installation guide at hqbase.io/docs to deploy to Cloudflare first.
- βΊIf the agent cannot connect, check that you completed the OAuth sign-in.
- βΊMake sure your workspace is up to date using the update steps in the docs.
5 new skills a week. 1 minute to read.