Connect your agent

Connect Claude Code or another MCP client to your organization's records and operations.

Your own agent, such as Claude Code, can find, read, and change your organization's records through the same Queries and Actions people use, under the same permissions and policies.

Before you start

You need:

  • The Admin role in your organization. Only administrators create service accounts and issue API keys.
  • An MCP client that can send an Authorization header to a remote server. Continual does not run an OAuth flow for MCP.

Get an API key

  1. Open Settings › Service accounts

    Choose Add service account.

  2. Name the account and choose its kind

    Enter a Name, such as "Claude Code". For Kind, choose Agent.

  3. Choose a role

    The Role decides what your agent can read and change. Then choose Add.

  4. Copy the key

    Choose Copy and close. The key starts with cos_, and Continual shows it only once. Store it somewhere safe.

Give each agent its own service account. Its changes are then attributed to it, and you can revoke its key on its own.

Connect your agent

Your MCP endpoint is your Continual address followed by /api/mcp. Settings › MCP shows your exact endpoint.

Tell your agent how to work

Copy this prompt into your agent, or into its instructions file, such as CLAUDE.md.

Work with Continual

You are connected to Continual, our business's system of record, through the continual MCP server.

Before you change anything, find the operation with model_operations_list, then read its input with model_operations_get. Run it with its own tool, such as sales_deals_list, or with run_operation. To understand a kind of record, such as a deal, use model_objects_get. To find records, use records_search and records_batchGet.

If a call fails with APPROVAL_REQUIRED, a policy holds it for a person. Run approvals.request to ask for approval, tell me what you asked for, and wait. When a result includes links to records, give them to me so I can open them.

What your agent can do

The server offers every Query and Action as a tool named by its ID, such as sales_deals_list. These find and read what the agent needs:

ToolWhat it does
model_operations_listFinds operations by keywords, such as "list deals"
model_operations_getReturns one operation's input schema
model_objects_getReturns a kind of record's fields, relations, and operations
records_searchFinds records by text
records_batchGetReads records by ID

A client that cannot hold that many tools connects to /api/mcp?tools=discovery, which offers these and run_operation, which runs any operation by ID. See MCP.

Each call runs as the service account. Its role decides what the agent reaches, and finding an operation does not grant it. By default, an Agent account's commits and deletions, such as issuing an invoice, wait for a person to approve them. A commit is a change the business is bound by. See approvals and policies.

Next steps