
ByMorning
io.github.bymorning由 GitHub 账号 bymorning 发布v1.3.3更新于 Nov 7, 2026
Open source, self-hosted MCP and model gateway: your installation's Tools over OAuth.
概览
ByMorning 的自托管 AI 网关所提供的远程 MCP 端点,让已登录的智能体获得其工作区成员有权使用的工具。
- 可以做什么
- 以工作区成员身份通过 OAuth 将智能体接入你自己 ByMorning 部署的 MCP 端点。
- 按工作区权限开放该成员可使用的工具。
- 与网关的模型路由并存,使额度限制、路由与用量统计同样作用于智能体调用。
- 作为该自托管网关在 MCP Registry 中的条目,该网关同时提供兼容 OpenAI、Anthropic 与 Google 的端点。
- 适用场景
- 适用于组织已自行部署 ByMorning,并希望编码智能体或助手在自有权限与审计之下访问内部工具,而不是经由厂商托管的服务。
- 运行要求
- 需要一个可通过 HTTPS 访问的自有 ByMorning 部署,MCP 端点位于该主机的 /mcp 路径。智能体以工作区成员身份通过 OAuth 登录,因此部署需在 Setup 中配置符合 OIDC 的身份提供商。自托管可使用 Docker Compose、AWS/Azure 上的 Terraform 或 Kubernetes Helm chart,并需配置数据库、对象存储与密钥相关设置。
安装
在 SourceWeft 中
- 打开 控制台中的 ByMorning,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
ByMorning
An open source, self-hosted MCP and model gateway.
[ci] [full-gate] [Release] [License: MIT] [Last commit]
[Artifact Hub] [Terraform Registry] [MCP Registry]
[Container images] [Signed with Sigstore]
Documentation · Install · Connect agents · Download · Changelog
ByMorning gives your team's agents access to company systems, and caps what they spend.
- Company systems as Tools. People and agents reach your internal systems through Plugins and MCP servers, each person under their own permissions.
- Spend limits. A limit per Workspace, member, or Service Account, applied to every model call.
- Models and routing. OpenAI-, Anthropic-, and Google-compatible endpoints, with routing across the providers you enable.
- Your cloud. It runs in your own cloud account or Kubernetes cluster.
Status. ByMorning is open source under the MIT License and community maintained: fork it, open pull requests, and run your own builds. Read SECURITY.md before reporting a vulnerability.
Install
Every release image is signed keylessly by this repository's release workflow and published to
ghcr.io/bymorning/bymorning, with signed evidence (SBOMs, scans, provenance) on the
GitHub release. Choose where to run it:
Connect coding agents
- Models. Point Claude Code, Codex, Cursor, VS Code Copilot, OpenCode, or Gemini CLI at your installation's OpenAI-, Anthropic-, and Google-compatible endpoints with a Service Account key. Spend limits, routing, and usage apply to every call. See Connect coding agents.
- Tools. Add
https://<your host>/mcpto the agent as a remote MCP server. The agent signs in with OAuth as a Workspace member and gets the Tools that member may use, under the Workspace's permissions. See Use ByMorning's Tools from an agent.server.jsondescribes it for the MCP Registry asio.github.bymorning/bymorning.
Develop
You need Bun 1.3 and Node 22+. From the repository root:
Open http://localhost:3000; local sign-in goes straight to the workspace. Local development needs no cloud credentials, SST, or external login provider. Docker is not required for the database; it is only needed for the Code Interpreter and the application tests.
- The development host keeps Postgres-compatible data with PGlite under
.bymorning/local/pglite. bun run devruns the API watcher (port 3210) and Vite (port 3000) together, and the API runs migrations at startup.- Choose ports with
PORT=4001 WEB_PORT=4000 bun run dev:PORTis the API, andWEB_PORTis Vite and the default login callback origin. bun run localis the bundled, one-origin development host instead.- Build the execution image with
bun run --cwd app/host setupwhen you need the Code Interpreter.
Build the host bundle
One host program, app/host, serves every deployment. Its production build is what the root Dockerfile ships:
It requires the deployment's storage and key selectors (STORAGE_PROVIDER, CIPHER_BACKEND), their companions, and the
database, cookie, and origin settings documented in app/host/README.md. The development build
adds PGlite, filesystem storage, the local cipher, and the Docker Code Interpreter, and needs nothing set:
Distribute the complete dist/ directory, including the installation documents and the loadable plugin packages. The
Docker image runs the production bundle with Node; no compiled application executable is built.
The host guide has the deployment contract, the development defaults, Vite arguments, and database ownership. CONTRIBUTING.md covers tests and pull requests.
Releases
A release is one Gateway image, delivered as a linux/amd64 OCI tarball pinned by digest, plus signed evidence (SBOMs,
vulnerability and license reports, scans, SLSA provenance, SHA256SUMS). It is installer-neutral: every installer
delivers the same tarball and verifies the same digest.
Release signatures are keyless. There is no signing key to store or rotate. The full-gate workflow signs the
evidence with Sigstore using its own GitHub Actions identity: the signing certificate names
the workflow run, and the signature is recorded in the public transparency log.
- A signature is a release signature only when that identity is
full-gate.ymlof this repository running on av*tag. The installer export refuses anything else, and it verifies every signature withcosignbefore it packages a release. - Anyone can check a release with the identity and issuer in
release/signer.txt, as the download page shows, and rebuild a release from its tag to compare digests: the build is reproducible.
Maintainers: docs/releasing.md is the procedure for cutting a release.
More documentation
- Host guide: the deployer's contract, environment rules, and evaluation installations.
- Identity provider setup.
- Deploying with SST: the SST app's database migrations and authentication settings.
- Security review package: architecture, control mapping, supply chain, and test results, rendered to a PDF with each release.
- Domain glossary and the Changelog.
Contributing
See CONTRIBUTING.md. Report vulnerabilities privately as described in SECURITY.md. Participation is governed by the Code of Conduct.
License
ByMorning is released under the MIT License. Third-party material is credited in THIRD_PARTY_NOTICES.md. The license covers the code; it does not grant rights to the ByMorning name or logo.
来源:README.md,提交 32455b0
工具
0版本历史
2- v1.3.3最新Nov 7, 2026
- v1.3.2Nov 5, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式必需10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
