HQBase
Official关于 HQBase
HQBase 为团队提供了一个处理共享邮箱的统一工作空间,同时将应用程序、邮件和 Cloudflare 凭据保存在客户自己的基础设施中。它包含:
共享邮箱和团队访问控制。
多域名设置、草稿和审计历史。
安装、更新、备份和恢复操作。
一个受 OAuth 保护的远程 MCP 服务器。
请参阅产品文档了解安装、日常使用、架构和运维操作。
Related MCP server: Gmail MCP Connector
本地开发
启动应用程序
pnpm install
pnpm db:migrate:local
pnpm db:seed:local
pnpm dev在运行可选的种子命令之前,请将以下值添加到 .dev.vars:
BETTER_AUTH_SECRETHQBASE_LOCAL_SEED_PASSWORD,长度为 8 到 128 个字符
种子命令只写入本地 D1,不会联系 Cloudflare OAuth。打开
http://127.0.0.1:5173/ 并使用该密码以 owner@hqbase.test 身份登录。Vite 在 5173 端口提供前端服务并支持热重载,同时将 API 请求代理到 8787 端口的 Wrangler Worker。
要使用首次运行设置流程,请省略种子命令并打开 http://localhost:5173/setup。
重置本地数据
要丢弃所有本地 D1 数据、重建架构并重新创建演示工作区:
pnpm db:reset:local
pnpm db:seed:local重置命令具有破坏性且仅限本地。它不会更改已部署的数据库。
预览设置界面
用于仅演示的入职工作:
pnpm dev:setup-ui打开 http://127.0.0.1:5173/__ui/setup。
验证更改
运行完整的本地质量门:
pnpm check
pnpm deploy:dry-run在更改 wrangler.jsonc 后运行 pnpm cf:typegen。
推送到 main 分支会运行相同的质量门和部署试运行。部署到暂存环境是手动的,并且也在签名发布工作流中运行。发布保持草稿状态,直到之前的稳定版本升级到完全匹配的签名候选版本并通过其检查。客户安装和更新在部署前会验证签名清单和工件摘要。
文档
hqbase.io/docs 是用户和运维指南、产品规范以及维护者流程的公开来源。
贡献
在提交拉取请求之前,请阅读贡献指南。
安全
要报告漏洞,请按照安全策略中的私有流程操作。
许可证
HQBase 在 GNU Affero 通用公共许可证 v3.0 仅限下提供。
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted MCP server for your Gmail, Outlook and IMAP mail, with mailboxes and scopes set per agent.
Hosted email MCP for your own Gmail, Outlook.com, Microsoft 365, iCloud or IMAP inbox: read, search, draft, reply in thread, forward and file mail. It moves or flags up to 500 messages in one call, and a send leaves exactly one copy in Sent. A calendar is a separate connection, and connecting one adds diary and scheduling tools.
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
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 gradedqualityDmaintenanceA 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.371 npm1MIT
- AlicenseNot gradedqualityCmaintenanceDeploys a self-hosted Cloudflare email service providing short-lived mailboxes with a JSON API and MCP endpoint for automated testing and AI agent signup, verification, and magic-link flows.6 npm1MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to autonomously receive, search, read, reply to, and forward email through a self-hosted Cloudflare service accessible via MCP or CLI, with no web interface.1,306 npmMIT