/oh-mcp:setupfrom oh-mcp
Configures the Open Horizons MCP server: checks for API key, creates config if missing, and registers the MCP server via claude mcp add.
Claude never picks this command on its own
Its frontmatter has no description. Without a description, Claude Code leaves it out of the list Claude chooses from. Typing /oh-mcp:setup still runs it.
Set up the Open Horizons MCP server for strategic alignment integration.
Execute these steps in order:
Check if ~/.config/openhorizons/config.json exists and has an api_key:
cat ~/.config/openhorizons/config.json 2>/dev/null
If the file exists and has a valid api_key, skip to Step 3.
If not configured, check if sg (superego CLI) is available:
which sg
If sg is available: Tell the user to run sg setup-oh in their terminal. This will:
If sg is NOT available: Ask the user for their API key, then create the config:
mkdir -p ~/.config/openhorizons
Then write to ~/.config/openhorizons/config.json:
{
"api_key": "<USER_PROVIDED_KEY>",
"api_url": "https://app.openhorizons.me"
}
Tell them to get a key from https://app.openhorizons.me/settings/api-keys if they don't have one.
Use the claude mcp add command to register the server with npx (works across all Node.js versions):
claude mcp add oh-mcp --scope user -- npx -y @cloud-atlas-ai/oh-mcp-server
This adds oh-mcp to ~/.claude.json so it's available across all projects. Using npx ensures it works regardless of which Node.js version each project uses.
Tell the user:
oh_get_contexts - List workspacesoh_get_endeavors - Browse endeavorsoh_log_decision - Log decisionsoh_about - Test the connectionFiles this command reads when invoked
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
2 plugins ship this exact command · first indexed Dec 31, 2025
npx claudepluginhub open-horizon-labs/bottle --plugin oh-mcpOther plugins' commands for the same job