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.80 · 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
npm install --global @amerged/ohmyhost-cli @amerged/ohmyhost-mcp
export OHMYHOST_ENVIRONMENT=production
ohmyhost login --json
Installed the clients from the ohmyho.st release archives before? Remove them first with npm uninstall --global @amerged/ohmyhost-cli @amerged/ohmyhost-mcp: both installs provide the ohmyhost and ohmyhost-mcp commands, and npm stops the second one with EEXIST.
Register it with your agent
| Harness |
Register the local server |
Confirm in the running harness |
| Codex |
codex mcp add ohmyho --env OHMYHOST_ENVIRONMENT=production -- ohmyhost-mcp |
Reload if requested; call identity_get and read the Skill resources. |
| Claude Code |
claude mcp add --transport stdio --scope user --env OHMYHOST_ENVIRONMENT=production ohmyho -- ohmyhost-mcp |
Open /mcp, confirm connection and call identity_get. |
| Cursor |
Merge 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. |
| Hermes |
hermes mcp add ohmyho --command ohmyhost-mcp --env OHMYHOST_ENVIRONMENT=production |
hermes mcp test ohmyho, then reload the agent session. |
| OpenClaw |
openclaw 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