HQBase
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@HQBaseshow unassigned emails in the support inbox"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
About HQBase
HQBase gives teams one place to work with shared mailboxes while keeping the application, mail, and Cloudflare credentials in customer infrastructure. It includes:
Shared mailboxes and team access controls.
Multi-domain setup, drafts, and audit history.
Installation, update, backup, and recovery operations.
An OAuth-protected remote MCP server.
See the product documentation for installation, daily use, architecture, and operations.
Related MCP server: Gmail MCP Connector
Made by the community
We love seeing people build around HQBase. Independent clients give you more ways to use your workspace:
Herald — A native macOS email client for HQBase.
HQBase has tested Herald for compatibility. It is made and maintained by independent community developers, so its releases, support, and behavior remain in their care rather than HQBase's. Please review the project and decide whether it is right for your workspace.
Develop locally
Start the application
pnpm install
pnpm db:migrate:local
pnpm db:seed:local
pnpm devBefore you run the optional seed command, add these values to .dev.vars:
BETTER_AUTH_SECRETHQBASE_LOCAL_SEED_PASSWORDwith 8 to 128 characters
The seed command writes only to local D1 and does not contact Cloudflare OAuth. Open
http://127.0.0.1:5173/ and sign in as owner@hqbase.test with that
password. Vite serves the frontend with live reload on port 5173 and proxies API requests to the
Wrangler Worker on port 8787.
To use the first-run setup flow, omit the seed command and open http://localhost:5173/setup.
Reset local data
To discard all local D1 data, rebuild the schema, and recreate the demo workspace:
pnpm db:reset:local
pnpm db:seed:localThe reset command is destructive and local only. It does not change a deployed database.
Preview the setup interface
For presentation-only onboarding work:
pnpm dev:setup-uiOpen http://127.0.0.1:5173/__ui/setup.
Review the visual system
To inspect the shared components, interactive states, product patterns, and local screen routes:
pnpm dev:uiOpen http://127.0.0.1:5173/__ui/design. The gallery uses deterministic presentation fixtures
and does not call product APIs.
Verify changes
Run the full local quality gate:
pnpm check
pnpm deploy:dry-runRun pnpm cf:typegen after you change wrangler.jsonc.
Pushes to main run the same quality gate and deployment dry-run. Deployed staging is manual and
also runs inside the signed release workflow. A release stays in draft until the previous stable
version upgrades to the exact signed candidate and passes its checks. Customer installations and
updates verify the signed manifest and artifact digest before deployment.
Documentation
hqbase.io/docs is the public source for user and operator guides, product specifications, and maintainer procedures.
Contributing
Read the contribution guide before you open a pull request.
Security
To report a vulnerability, follow the private process in the security policy.
License
HQBase is available under the GNU Affero General Public License v3.0 only.
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted email MCP for AI agents with inboxes, send/receive, memory, recovery, and credits.
Hosted email for AI agents: create inboxes, send, receive, and reply over MCP with scoped API keys
Email infrastructure for AI agents — send, receive, search, and reply to email over MCP.
Email inboxes for AI agents: send, receive, reply, search, and manage threaded email over MCP.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA self-hosted MCP server for managing email, calendar, and cloud storage across Microsoft 365, Google Workspace, and IMAP accounts, enabling natural language interaction through any MCP client.1MIT
- AlicenseNot gradedqualityBmaintenanceA Gmail MCP server running on Cloudflare Workers that enables reading, searching, labeling, drafting, sending, and managing Gmail messages, including fetching raw attachment bytes, with per-user OAuth authorization.89 npmMIT
- AlicenseNot gradedqualityCmaintenanceMCP server providing read and send access to a single IMAP/SMTP mailbox over Streamable HTTP with GitHub OAuth authentication, featuring recipient allowlists for security, email reading/searching/threading, attachments, drafts, folder management, and sending/reply tools.MIT
- AlicenseNot gradedqualityAmaintenanceA self-hosted MCP server that unifies multiple IMAP/SMTP mailboxes into one agentic inbox, enabling agents to list, search, read, and send email through MCP tools.MIT