Cursor IDE
Cursor supports Cloud Harness MCP via Streamable HTTP (for remote cloud workspaces) and stdio (for direct local project workspaces).
Option 1: Remote HTTP (API Key Gateway)
- In Cursor, open Cursor Settings (
Cmd+,on macOS,Ctrl+,on Windows/Linux). - Navigate to Features → MCP Servers → click Add New MCP Server.
- Fill in the server details:
- Name:
cloud-harness - Type:
sseorhttp - Server URL:
https://api.harness.zuey.me/mcp - Headers:
{"Authorization": "Bearer <YOUR_DASHBOARD_API_KEY>"}
- Name:
- Click Save and verify the status indicator turns green with 52 tools active.
Option 2: Local Stdio Mode
For editing a local project folder directly without uploading to a remote VPS, configure .cursor/mcp.json in your project or global user directory:
json
{
"mcpServers": {
"cloud-harness-local": {
"command": "node",
"args": [
"/path/to/cloud-harness-mcp/apps/api/dist/index.js",
"--transport",
"stdio",
"--workspace",
"/absolute/path/to/project"
]
}
}
}