Skip to content

Connect with an agent

Copy a ready-made prompt to connect your AI client to a hosted Cadence workspace over OAuth 2.1 MCP.

Copy the prompt from the home page into your MCP client to connect directly to https://api-v2.agenticos.hk/mcp/workspace over OAuth 2.1—without installing a local CLI or running a shell.

Agent-assisted setup

Connect with an agent

Paste the prompt into a compatible AI client. It will guide you through authorization and verify your access.

  1. Read the Workspace MCP guide
  2. Connect via OAuth 2.1
  3. Verify workspace access

Review the prompt below, or copy it to connect.

Review full prompt

If the agent cannot read Workspace MCP or Custom MCP servers, ask it to stop rather than guessing endpoints, scopes, or tools. Agents reading Markdown directly can also follow the agent guide (/agent-guide/index.md); the copyable prompt component above may not appear in a Markdown export.

What the MCP prompt covers

  • Hosted Workspace MCP (https://api-v2.agenticos.hk/mcp/workspace): OAuth 2.1 discovery (RFC 9728 + DCR + PKCE), workspace selection, and human browser consent at /oauth/marketplace without offline_access (using allow_refresh for renewal). See Workspace MCP.
  • External MCP servers: connecting remote Streamable HTTP MCP servers in Settings → Connections with fail-closed Ask approval defaults. See Custom MCP servers.

Scope and safeguards

  • Human consent only: you complete sign-in and OAuth consent in your own browser; the agent never asks for static Bearer tokens, passwords, one-time codes, or cookies, and never installs a local CLI for MCP access.
  • Verify first: after connecting, the agent calls connection_status to check the bound workspace, granted scopes, and locked_tools, and uses cadence_search before cadence_cli.
  • Owner-approved writes & reconciliation: mutating app_call operations require apps.stage and an idempotency_key and stage in Home for a human owner to approve. On outcome_unknown, the agent reads current state (board_pending_actions, board_read_issue, or wiki_read) before retrying.
Navigation

Type to search…

↑↓ navigate↵ selectEsc close