HQBase MCP Server
io.github.HQBase/hqbase
Connect AI agents to your self-hosted HQBase shared email workspace.
What is the HQBase MCP server?
The HQBase MCP server connects AI agents like Claude to a self-hosted HQBase shared email workspace running on your Cloudflare infrastructure. It provides OAuth-protected remote access to shared mailboxes, team collaboration features, and email management capabilities while keeping mail and credentials under your control.
HQBase is an open-source shared email workspace that runs on your Cloudflare account. The MCP server integration allows AI agents to interact with your HQBase instance, enabling automation and intelligent assistance with shared mailbox operations, team email workflows, and workspace management—all while maintaining full control over your infrastructure and data.
How to install HQBase
Copy-paste configuration for popular MCP clients.
Use cases
- Automate shared mailbox operations and email routing through AI agents
- Enable AI-assisted email triage and organization for team inboxes
- Integrate HQBase email workflows with other AI-powered tools and agents
- Provide AI agents with access to shared team email for context-aware assistance
- Streamline email-based processes and approvals through intelligent automation
HQBase MCP server FAQ
It's a remote MCP server that connects AI agents to your self-hosted HQBase shared email workspace, allowing agents to interact with shared mailboxes and team email features while keeping everything on your infrastructure.
HQBase is open-source under the GNU Affero General Public License v3.0, so you can self-host it for free on your Cloudflare account.
Configure the remote MCP server endpoint at https://{installation_domain}/mcp in your Claude or Cursor settings, where {installation_domain} is your HQBase deployment domain.
The HQBase MCP server is OAuth-protected, so you'll need valid credentials for your HQBase instance to connect.
Yes, HQBase is designed to run on your own Cloudflare account and infrastructure, giving you full control over your email and credentials.
The README does not specify which HQBase features are exposed through the MCP server; refer to the HQBase documentation at hqbase.io/docs for details on available capabilities.
README (reference)
Source of truth, from the repository.
About HQBase
<p align="center"> <img src="public/hqbase-desktop-screenshot.png" alt="HQBase shared inbox interface"> </p>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.
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 dev
Before 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:local
The 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-ui
Open 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:ui
Open 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-run
Run 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.
Related MCP servers

io.github.HTTPayer/mcp
x402 micropayments for AI agents — credits-based, no wallets, no blockchain.
Let Claude and other LLMs watch videos locally with intelligent frame extraction and audio transcription.

Google Ads, Meta (Facebook) Ads, GA4 and Merchant Center analysis in plain language. Read-only.

Read-only MCP server for the OpenAI Ads API: campaigns, ad groups, ads, and insights.

RAGScore
Generate QA datasets and evaluate RAG systems with failure diagnosis using any LLM.

io.github.HaD0Yun/gopeak
Comprehensive MCP server for Godot 4 with 95+ tools, LSP, DAP, and runtime inspection.
