Connect Cursor
-
Put your API key in an environment variable, for example in your shell profile:
export HARMONY_API_KEY="harmony_pk_..." -
Add the Harmony server to
~/.cursor/mcp.json, or to.cursor/mcp.jsonfor one project:{"mcpServers": {"harmony": {"url": "https://api.harmony.ai/api/mcp","headers": { "Authorization": "Bearer ${env:HARMONY_API_KEY}" }}}} -
Open Cursor's chat and ask: "List my Harmony workflows."
Cursor reads HARMONY_API_KEY from the environment it starts in, so open Cursor from a terminal where the variable is set. If your Account is in the EU, use https://api.eu.harmony.ai/api/mcp.