Set up the Open Horizons MCP server for strategic alignment integration.
Installs and configures the Open Horizons MCP server for strategic alignment integration.
/plugin marketplace add cloud-atlas-ai/bottle/plugin install oh-mcp@bottleSet 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 connection