Workspace lifecycle
workspace_openworkspace_listworkspace_statusworkspace_close
Remote coding, under one owner
Cloud Harness MCP gives one trusted owner a narrow, observable route into a time-limited repository workspace.
Commands, dependencies, hooks, skills, and Git metadata execute only in the executor. The control plane stays separate from Docker authority and repository credentials.
Set up one approved client, open one bounded workspace, then keep every later operation scoped to its opaque ID.
Choose a supported client path. Cloud-hosted connectors need the documented OAuth gateway.
Call workspace_open with a credential-free HTTPS URL
and fresh idempotency key.
Use the returned opaque workspaceId for files, code,
commands, and Git.
Close shells, sessions, and unwanted tasks before
workspace_close.
A request moves through a deliberately narrow lane. The animation traces direction; the labels describe the real boundary.
Open a workspace with intent, do the work inside it, then end the execution window cleanly.
The executor has no network by default and never receives GitHub App or deployment credentials.
Every public tool stays inside the owner-bound workspace. Inputs, limits, and approval hints live in the contract source.
workspace_openworkspace_listworkspace_statusworkspace_close
files_listfiles_readfiles_writefiles_apply_patchfiles_deletefiles_movefiles_mkdirgrep_searchsymbols_searchsymbols_references
exec_runshell_openshell_ioshell_close
sessions_listsessions_opensessions_iosessions_closetasks_listtasks_runtasks_statustasks_canceltasks_graph
git_statusgit_diffgit_loggit_branchgit_checkoutgit_addgit_commitgit_fetchgit_pullgit_pushgit_mergegit_rebaseworktrees_listworktrees_createworktrees_remove
skills_listskills_readskills_runhooks_listhooks_runmemories_listmemories_readmemories_writedeployments_listdeployments_run
Authority is separated by role. The motion marks the request path, not a permission path into the executor.
Choose the safe path
Keep the owner token in local private configuration. Cloud-hosted connector flows need an OAuth-capable gateway for this static-bearer deployment.
Create a custom MCP app only after an OAuth-capable gateway fronts this service. Do not place the owner bearer token in an app definition or chat.
Full ChatGPT guidance ↗
Store CLOUD_HARNESS_MCP_TOKEN in your local
environment, then add the remote MCP server in a private Codex
configuration. Verify with /mcp or
codex mcp list.
The hosted connector flow cannot directly use this static bearer deployment. Put an OAuth-capable gateway in front, or use Claude Code with a local authorization header.
Full Claude Desktop guidance ↗
Keep the token in your shell and register the remote HTTP server
in user scope with a local Authorization header. Confirm
availability from /mcp.
Register the remote HTTP server with a header that reads the local environment token. Restart the CLI or use its MCP management command to verify the entry.
Full Gemini CLI guidance ↗Add the remote server to the global Cursor MCP configuration, or a trusted project only. Restart Cursor and confirm the server appears in the available tools.
Full Cursor guidance ↗Use the MCP Servers panel to open the global configuration, then add the remote endpoint and a local private header. Confirm the server is enabled before using it.
Full Antigravity guidance ↗Grok web is not a documented direct static-bearer route. The xAI Responses API can provide authorization for a remote MCP tool; allowlist only the tools the request needs.
Full Grok guidance ↗Read this before use
Cloud Harness MCP is for one authenticated, trusted owner using owner-approved repositories. It is not an anonymous service, shared team sandbox, or hostile multi-tenant platform.
Read the security modelChoose the client path that matches its authentication model, then start with a credential-free HTTPS repository URL and a fresh idempotency key.