ohmyho.st

io.github.amerged-org由 GitHub 账号 amerged-org 发布v0.1.50更新于 Nov 7, 2026

Operate ohmyho.st hosting from your coding agent: deploy GitHub apps, Postgres, mail, domains.

概览

AI 生成的概览

本地 stdio MCP 服务器,让编码助手部署和运维 ohmyho.st 托管:应用、Postgres、域名、邮件、用量与预算。

可以做什么
  • 规划、启动、查看和回滚部署,将 Dev 提升到 Prod,并读取部署日志与操作状态
  • 读取、写入和发布受管源码文件,关联 GitHub 仓库,管理环境密钥
  • 查询、写入、定时执行和监听 Postgres 数据库,签发或吊销数据库凭据,管理 webhook
  • 声明、验证和撤销自定义域名与 DNS 授权,配置生产邮件域名和 webhook
  • 读取项目、组织、用量、额度和预算,创建结账或账单门户链接
  • 管理 Native Auth 用户与提供商,提交反馈,列出已保存的登录和 API 令牌
适用场景
适合希望编码助手在 ohmyho.st 项目上完成整套托管流程的场景:从 GitHub 部署、管理数据库、绑定域名和邮件,并跟踪用量与花费,无需离开助手会话。
运行要求
需要 Node.js 22 或更高版本,并全局安装 npm 包 @amerged/ohmyhost-cli 与 @amerged/ohmyhost-mcp。需要 ohmyho.st 账户,可通过 OHMYHOST_TOKEN 环境变量认证,或使用本机保存的 ohmyhost 交互式登录。OHMYHOST_ENVIRONMENT 选择 production(默认)或 development;OHMYHOST_PROFILE 可将服务器绑定到某个已保存登录。仅限桌面端,使用 stdio 传输。
安装前请注意
服务器以用户授予的权限行事,可执行部署、写入数据库、删除项目、更改域名和邮件,以及创建结账或开启自动免密扣款,从而产生费用。请勿将 OHMYHOST_TOKEN 放入共享或提交到仓库的 MCP 配置。为用户注册的服务器会服务该电脑上的所有会话,仅在确有需要时绑定配置文件。密钥值应通过仅限标准输入的 CLI 命令设置,而非工具参数。

安装

在 SourceWeft 中

  1. 打开 控制台中的 ohmyho.st,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

ohmyho.st MCP server

The local MCP server of ohmyho.st, hosting that a coding agent operates. It runs over stdio next to Codex, Claude Code, Cursor, Hermes or OpenClaw and lets the agent deploy the user's GitHub apps and manage their databases, domains, mail, usage and budgets with the access the user grants. It is also how the agent reaches ohmyho.st support.

Version 0.1.50 · npm · Node.js 22 or newer · release.json

This repository mirrors the source published in the npm package @amerged/ohmyhost-mcp. Every release replaces it from the registry tarball, so pull requests are not merged here; report a problem through your agent (see Support below).

Install

sh
npm install --global @amerged/ohmyhost-cli @amerged/ohmyhost-mcpexport OHMYHOST_ENVIRONMENT=productionohmyhost login --json

Installed the clients from the ohmyho.st release archives before? Remove them first with npm uninstall --global @ohmyhost/product-cli @ohmyhost/mcp: both installs provide the ohmyhost and ohmyhost-mcp commands, and npm stops the second one with EEXIST.

Register it with your agent

HarnessRegister the local serverConfirm in the running harness
Codexcodex mcp add ohmyho --env OHMYHOST_ENVIRONMENT=production -- ohmyhost-mcpReload if requested; call identity_get and read the Skill resources.
Claude Codeclaude mcp add --transport stdio --scope user --env OHMYHOST_ENVIRONMENT=production ohmyho -- ohmyhost-mcpOpen /mcp, confirm connection and call identity_get.
CursorMerge the token-free https://ohmyho.st/mcp.json server into the existing global or project MCP config.Confirm in settings; current CLI supports agent mcp list-tools ohmyho. Resolve installed executable/help.
Hermeshermes mcp add ohmyho --command ohmyhost-mcp --env OHMYHOST_ENVIRONMENT=productionhermes mcp test ohmyho, then reload the agent session.
OpenClawopenclaw mcp add ohmyho --command ohmyhost-mcp --env OHMYHOST_ENVIRONMENT=production where the installed native registry supports it.openclaw mcp probe ohmyho --json, then verify runtime-visible tools.

Confirm the connection and call identity_get; a saved configuration alone is not a working connection.

Authenticate

Authenticate one of two ways: load OHMYHOST_TOKEN from a private credential source into the server environment, or sign in with ohmyhost login --json and let MCP use the saved logins. With several saved logins, pass profile_name on each call (profile_list shows the names), or bind the server to one login with OHMYHOST_PROFILE=NAME next to OHMYHOST_ENVIRONMENT; a bound server refuses calls for another login (profile_context_mismatch). A server registered for the user serves every session on this computer, so bind it only when the customer asks, and reload it afterwards. The token wins wherever it is set and needs no browser. New user API tokens are optional and remain valid until revoked; the portal shows a new value once, while CLI/MCP token creation saves it directly to the chosen private env file. Login and token lifetimes are separate.

Keep tokens out of shared or committed MCP configuration; the public configuration carries only OHMYHOST_ENVIRONMENT=production.

Tools

  • application_domain_identity_authorization_revoke: Revoke the current application identity DNS grant with explicit confirmation.
  • application_domain_identity_authorization_status: Read the selected project application-domain identity DNS authorization status.
  • application_domain_identity_authorize: Request exact-purpose Cloudflare consent to write this project hostname ownership challenge at the current revision.
  • application_domain_identity_declare: Declare the intended customer application hostname before deployment.
  • application_domain_identity_get: Read the project intended application hostname, current revision and ownership proof.
  • application_domain_identity_revoke: Revoke only the selected current application-domain proof with explicit confirmation.
  • application_domain_identity_verify: Verify the exact current project and hostname TXT challenge independently of deployment.
  • billing_checkout_create: Owner-only: create or resume a hosted Checkout.
  • billing_checkout_get: Owner-only: observe the original checkout and reconcile confirmed credits/refunds, without another purchase.
  • billing_portal_create: Owner-only: return a short-lived Stripe portal URL to the human for invoices, payment methods or cancellation at period end.
  • billing_recharge_configure: Owner-only: enable or disable automatic off-session payments.
  • billing_recharge_get: Owner-only: read auto-recharge consent, spending limit and payment handoff.
  • database_access_create: Issue a time-bound PostgreSQL credential for this project's own Dev or Prod database.
  • database_access_list: List this project's issued database credentials with their state (active, expired or revoked).
  • database_access_revoke: Revoke one issued database credential immediately: open sessions end and its PostgreSQL role is removed.
  • database_compute_get: Read current managed database memory, total storage, region and observed state without running SQL or waking the database.
  • database_compute_set: Choose fixed database RAM: 256, 512, 1024, 2048 or 4096 MiB.
  • database_execution_usage_get: Read metered database execution usage: schedule runs and webhook attempts per UTC hour or day window.
  • database_query: Read one owner-authorized Dev or Prod database query (at most 100 rows, five-second timeout).
  • database_schedule_delete: Remove one database schedule so it never runs again.
  • database_schedule_list: List this project's database schedules of one Dev or Prod environment (dev when omitted), with their cadence, statements, timeout and next run.
  • database_schedule_run_list: List the newest runs of one database schedule, newest first, with each run's outcome (succeeded, failed, timed_out, outcome_unknown, rejected or a skipped reason) and SQLSTATE when one applies.
  • database_schedule_run_now: Queue one immediate run of a database schedule.
  • database_schedule_set: Create or replace a named database schedule that runs SQL statements repeatedly on a timer, as the application's own runtime role, so row-level security applies.
  • database_table_create: Create one ordinary table in the public schema of a Dev or Prod database, as the migration role with the same access as migration tables, so a database_watch_create can attach later.
  • database_watch_create: Publish row changes of one table of a Dev or Prod database as data events: only the listed columns (at most 32) of each insert, update or delete are published, with the event type data. returned by this call.
  • database_watch_delete: Remove the capture trigger of one database watch: its table publishes no more data events.
  • database_watch_list: List this project's database watches of one Dev or Prod environment (dev when omitted).
  • database_webhook_create: Subscribe one HTTPS receiver to database lifecycle events (database.created, ready, woke, slept, suspended, resized, deleted) of one Dev or Prod database, or to data events: data. for the rows of one watched table (the event type database_watch_create returns) or data.* for every watched table; a bare * never matches data events.
  • database_webhook_delete: Stop all deliveries to one database webhook.
  • database_webhook_delivery_list: List recent database webhook deliveries, newest first, optionally for one webhook.
  • database_webhook_delivery_replay: Queue one more attempt for a database webhook delivery that is no longer being retried.
  • database_webhook_list: List this project's database webhooks of one Dev or Prod environment (dev when omitted), without signing secrets.
  • database_webhook_test: Send one signed test request to a database webhook and report the outcome synchronously.
  • database_write: Execute one explicitly authorized INSERT, UPDATE or DELETE/upsert in the chosen Dev or Prod database.
  • delete_execute: Execute a reviewed project deletion
  • delete_plan: Plan complete project deletion
  • deployment_create: Start a reviewed deployment plan
  • deployment_get: Get one deployment
  • deployment_logs: List the newest normalized diagnostics of one deployment (build, control, runtime and function failures with catalog codes).
  • deployment_plan: Plan an immutable deployment.
  • deployments_list: List project deployments
  • domain_cloudflare_authorize: Check domain_cloudflare_status first and reuse a valid matching grant.
  • domain_cloudflare_status: Read the project's customer DNS authorization state, zone, scopes and expiry without credentials.
  • domain_paid_apply: Declare or activate the explicitly requested customer hostname.
  • domain_paid_delete: Delete only the explicitly named project's stored customer hostname/route and owned DNS records.
  • domain_paid_plan: Plan a customer-owned production hostname before or after the first Prod deployment.
  • domain_paid_status: Read DNS/TLS and effective Paid-domain access.
  • feedback_status: Read the status of a feedback receipt you submitted and ohmyho.st's customer-visible replies: received, in_review, planned, in_progress, resolved (the fix is live in the named release) or closed (with an explanation).
  • feedback_submit: Report a bug, suspected issue or feature request to ohmyho.st.
  • function_runs_list: List the newest scheduled function runs (functions.crons) of an environment: one run per due UTC minute with state, attempt, the status the scheduled handler returned and timing.
  • github_connect: Owner or Admin: connect GitHub once for this workspace.
  • github_status: Read this workspace's GitHub connection.
  • identity_get: Get the ohmyho.st customer/agent identity this call acts as: user and account email, scoped organization IDs and names and, in context, the saved login or OHMYHOST_TOKEN that supplied it.
  • mail_binding_detach: Detach only this project send binding with current revision and explicit confirmation.
  • mail_binding_get: Read the Prod sender binding and per-project From addresses, default From and default Reply-To.
  • mail_binding_set: Attach a verified workspace sender or update its project settings.
  • mail_domain_delete: Retire the project's mail domain while the project stays active; use its Prod environment ID.
  • mail_domain_set: Configure the project's one production mail domain using its Prod environment ID.
  • mail_domain_status: Read separate sending and receiving readiness and exact DNS records for the project’s production mail domain.
  • mail_message_get: Read only this project's Prod-received message before the hard 72-hour expiry.
  • mail_message_retry: Retry the Prod customer webhook within its shared budget: initial attempt plus at most three retries, all before 72 hours from receipt.
  • mail_messages_list: List the Prod environment's owned handoff metadata younger than 72 hours.
  • mail_setup: Configure the customer's one production mail domain using the project Prod environment ID, only when the customer wants mail or the app declares mail.enabled; hosting needs no mail domain and none is registered automatically.
  • mail_status: Read sending and receiving readiness and exact DNS records for the project’s one production mail domain.
  • mail_webhook_disable: Disable receiving on the project's Prod mail domain and remove its webhook; existing message content becomes inaccessible.
  • mail_webhook_set: Set the required HTTPS endpoint on the project's Prod application using its Prod environment ID.
  • mail_webhook_verify: Send a signed test to the Prod application endpoint and enable receiving after it accepts the event.
  • native_auth_config_get: Read Owner Native Auth configuration and readiness.
  • native_auth_config_set: Update Owner Native Auth configuration at the current revision.
  • native_auth_provider_get: Read provider setup without its secret.
  • native_auth_provider_secret_input_request: Return an account-bound stdin-only command; never place a provider secret in MCP arguments.
  • native_auth_provider_set: Update provider settings without submitting a secret.
  • native_auth_user_create: Create and invite a Native Auth user without choosing a password.
  • native_auth_user_delete: Delete an Owner-authorized Native Auth user.
  • native_auth_user_get: Read a Native Auth user.
  • native_auth_user_invite: Resend an Owner-authorized Native Auth user's invitation.
  • native_auth_user_reactivate: Reactivate an Owner-authorized Native Auth user.
  • native_auth_user_revoke_sessions: Revoke an Owner-authorized Native Auth user's sessions.
  • native_auth_user_suspend: Suspend an Owner-authorized Native Auth user.
  • native_auth_users_list: List Native Auth users with bounded pagination.
  • operation_get: Get durable operation status and current deployment progress/reconciliation guidance.
  • operation_logs: Read available operation events for at most ten seconds, stopping earlier at max_events or a terminal event.
  • operation_reconcile: Start an explicitly confirmed provider reconciliation attempt
  • organization_account_get: Owner-only: read the effective Free/Paid plan, its Stripe or granted source, the monthly credits that expire at next_expiry, the top-up and bonus credits that never expire, the reservations that hold part of them, and available_micros (monthly plus one-time minus reservations).
  • organization_create: Create an organization owned by the signed-in user.
  • organization_credits_get: Read the owner's shared organization credit balance (available_micros is monthly plus one-time credit minus reservations) and the seven-day grace_started_at/grace_expires_at that begins when the credit is used up.
  • organization_list: List the workspaces the chosen login's user belongs to and which one that login is scoped to.
  • organization_usage_get: Read the billed usage of the last up to 14 UTC days (today included) grouped by day, project and meter, and what each project has used so far this UTC month.
  • organization_use: Bind a saved login that has no organization yet to one workspace, so later calls act inside it.
  • powered_by_flag_get: Read whether the production site shows the opt-in "Powered by ohmyho.st" flag.
  • powered_by_flag_set: Owner only, ask the human first: show or hide a small "Powered by ohmyho.st" flag on the right edge of the production site.
  • profile_list: List the saved ohmyho.st logins on this computer: each has a name, a user and an organization, never a token.
  • project_budget_get: Read the owner's project UTC-month budget, this month's use and open reservations.
  • project_budget_set: Set an owner's optional monthly project budget in microcredits (1000000 = one credit).
  • project_context_get: Read fresh project status, DNS/mail next actions, authorized usage and bounded shared notes.
  • project_create: Create an ohmyho.st project.
  • project_data_change: Owner only: execute the exact reviewed project_data_plan after explicit customer confirmation.
  • project_data_plan: Owner only: plan a Dev/Prod data assignment change and review the data, files, deployments and database logins it keeps or removes.
  • project_dev_access_create: Create an owner-only one-hour single-use access link for the protected Dev app.
  • project_dev_access_mode_set: Owner only: choose public Dev (no platform token) or protected Dev (share link required).
  • project_dev_share_link_get: Owner only: get or create the persistent protected Dev link.
  • project_dev_share_link_revoke: Owner only: revoke the persistent Dev link and active sessions immediately without changing the Dev access mode.
  • project_dev_share_link_rotate: Owner only: replace the persistent Dev link and immediately revoke old links and sessions.
  • project_export_create: Owner-only: request an asynchronous password-encrypted SQL ZIP, including at zero credits.
  • project_export_get: Owner-only: read the original SQL ZIP export's progress/error and verified download URL.
  • project_get: Get one project
  • project_handle_check: Check whether a project address is free before offering it to the customer.
  • project_handle_set: Move a project to an address the customer chose, after project_handle_check said it is free.
  • project_notes_set: Save shared project to-dos, at most 250 lines / 16384 UTF-8 bytes.
  • project_status: Get source, both Dev/Prod environment IDs, deployment URLs, Dev access mode, latest operation and cleanup status.
  • projects_list: List projects visible to the current identity
  • promotion_execute: Execute an explicitly confirmed Dev-to-Prod promotion using the unchanged plan guards.
  • promotion_plan: Plan promotion of the current Dev artifact to Prod without a rebuild.
  • referral_link_get: Read the workspace's referral link to share.
  • rollback_execute: Execute a reviewed rollback
  • rollback_plan: Plan a rollback
  • secret_delete: Delete an environment secret
  • secret_set_command: Return the stdin-only CLI command for setting a secret; the value never enters MCP.
  • secrets_list: List secret metadata without values
  • source_changes: Save an atomic file batch against the generation and parent commit you read.
  • source_diff: Compare two managed versions without changing files or deployments.
  • source_file: Read one managed source file with its exact hash and mode.
  • source_files: List the exact managed source tree at a version; omit commit_sha to read current main.
  • source_get: Get linked source status.
  • source_initialize: Create managed version history for an unbound project.
  • source_inspect: Read local working-directory, Git/worktree, monorepo and sanitized remote context without sign-in.
  • source_link: Link a repository covered by the workspace GitHub connection.
  • source_publish: Local MCP only: capture current filtered files, including uncommitted/new files, and save one managed version without importing Git history.
  • source_publish_complete: Complete a local pending source publication after polling its operation.
  • source_restore: Restore an earlier managed file tree as a new version against current generation and parent.
  • source_upload: Observe the exact managed snapshot upload after an uncertain response.
  • source_versions: Read managed version history for this project; next_commit_sha continues the same history page.
  • token_create: Create your own non-expiring API token after interactive login and save it to the selected private env file.
  • token_revoke: Revoke one of your own API tokens after explicit confirmation and interactive login.
  • tokens_list: List your token metadata after interactive login.
  • workspace_mail_domain_create: Create one workspace-owned transactional sender domain.
  • workspace_mail_domain_dns_authorize: Request human Cloudflare consent for this selected workspace sender, zone and revision.
  • workspace_mail_domain_dns_revoke: Revoke the selected workspace sender DNS grant at its current revision with explicit confirmation.
  • workspace_mail_domain_dns_status: Read exact workspace sender DNS authorization status.
  • workspace_mail_domain_get: Read sender verification, lifecycle, revision and DNS records for one authorized workspace resource.
  • workspace_mail_domain_retire: Retire an explicitly selected workspace sender only after every send and inbound reference is detached and provider effects settle.
  • workspace_mail_domains_list: List only workspace sender domains this account and connected client may read.

The full descriptions and input schemas are in the tool catalog.

Skills and support

What is here

src/ holds the TypeScript and JavaScript source of the server and the client code it bundles: apps/mcp, the command-line client apps/product-cli, the generated REST client packages/sdk-ts, packages/contracts, packages/workos-auth-contracts and the Skills in packages/agent-skills, and the loopback PostgreSQL transport packages/postgres-bridge with its own LICENSE and NOTICE. package.json, LICENSE, NOTICE and THIRD_PARTY_NOTICES.md are the package's own. The built dist/ bundle and the package README are not copied; release.json lists their SHA-256 digests, so this repository plus those files is the published tarball. npm view @amerged/[email protected] dist.integrity equals npm.integrity in release.json.

Licence

Apache-2.0 applies to the Amerged client code (LICENSE, NOTICE). Third-party code bundled in the npm package keeps its own licences (THIRD_PARTY_NOTICES.md). The hosted platform that runs projects is private and not included; using it is subject to the terms.

来源:README.md,提交 f40b42c

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

18
  1. v0.1.50最新Nov 7, 2026
  2. v0.1.49Nov 4, 2026
  3. v0.1.48Nov 4, 2026
  4. v0.1.47Nov 3, 2026
  5. v0.1.46Nov 1, 2026
  6. v0.1.44Nov 1, 2026
  7. v0.1.43Oct 31, 2026
  8. v0.1.42Oct 31, 2026
  9. v0.1.41Oct 31, 2026
  10. v0.1.39Oct 29, 2026
  11. v0.1.38Oct 24, 2026
  12. v0.1.36Oct 20, 2026
  13. v0.1.34Oct 16, 2026
  14. v0.1.33Oct 10, 2026
  15. v0.1.32Oct 10, 2026
  16. v0.1.31Oct 9, 2026
  17. v0.1.29Oct 7, 2026
  18. v0.1.28Oct 1, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分