• Customers
  • Docs
  • Pricing
Log inLGet startedS
PlatformCompany agent
Connections

Start here

  • Get started
  • Use the API
  • CLI reference

Concepts

  • Sandboxes
  • Commands
  • Model providers
  • Files
  • Images and registries
  • Volumes
  • Secrets
  • Endpoints
  • Connections

Reference

  • SSO and SCIM
  • Organizations and access
  • Billing
  • API reference

Start here

  • Get started
  • Use the API
  • CLI reference

Concepts

  • Sandboxes
  • Commands
  • Model providers
  • Files
  • Images and registries
  • Volumes
  • Secrets
  • Endpoints
  • Connections

Reference

  • SSO and SCIM
  • Organizations and access
  • Billing
  • API reference

The open platform for company agents. Use the whole platform or build with individual components.

Products

Company agentAI Transformation ServicesSandboxesStorageModel gatewayPricing

Solutions

EnterpriseFor CEOsEngineeringOperationsSalesAll solutions

Resources

DocumentationDeveloper guideChangelogBlogCustomer storiesIntegrations

Company

AboutCareersTrust centerSupportTalk to usGet started

Social

XLinkedInGitHubYouTube
© 2026 AdaptMade with ♥ in Adapt teammates walking outside the Presidio officeAn Adapt engineer at their desk at dusk, the Golden Gate through the windowAn Adapt teammate pointing to the Adapt sign at the office doorTermsPrivacy

Platform · Concepts

Connections: Give agents remote MCP tools

On this page
  1. Visibility and agent access
  2. Call connected tools
  3. Call history
  4. Compose tool calls
  5. Use connected tools from an application
  6. Handle service sign-in

A connection is an organization service that makes a remote MCP server's approved tools available to authorized agents. Open Connections to search the service catalog or browse by category. Owners and admins can enable a catalog service, or select Add to configure a custom server.

For a custom server, enter its public HTTPS MCP endpoint and choose Browser sign-in, Access token, API key or custom headers, or No authentication. Browser sign-in requires MCP OAuth discovery and dynamic client registration; manually registered OAuth clients are not supported. Static authentication headers can include a fixed prefix, such as Basic , or an API key header. Credential values are stored encrypted and are never shown to agents. Non-credential endpoint query parameters are supported. Keep credentials out of the address. Private-network servers and redirects are not supported.

Visibility and agent access

Connections belong to the organization. Owners and admins enable services and choose their allowed tools. There is no Just me visibility option or separate Agent access grant step. Organization-enabled tools are available to agents with the required Platform permissions, subject to their account access and any narrower application scope.

For authenticated services, Account access defaults to Individual accounts. An admin sets up the service and enables tools; each member connects their own account. Calls from that member and their agents use the member's permissions in the upstream service. An admin can instead choose Shared account when one account's access is intended for organization use. Account mode is chosen when the connection is created. Public servers use shared mode without credentials.

  1. Open the connection and connect your account if needed. For a shared account, an owner or admin connects it for everyone.
  2. Select Refresh tools if discovery has not completed. The dashboard attempts discovery after OAuth sign-in and when saving Bearer or static credentials. Members using individual accounts need their own discovered tools. Available tools must be enabled by an admin and match the member's own tool definitions.
  3. If you manage the connection, select which tools to enable under Tools, then select Save changes. New or changed tools need review before use. If the service changes while you are editing, reload it before saving.

The service page shows Connected people or the Shared account, tools, and Recent calls together. Enabled describes organization availability; saved account credentials do not guarantee live upstream connectivity.

Organization API keys can only use shared accounts. Disable a tool to stop new calls to it, or pause the connection to block new calls for everyone. Disconnect my account removes only your individual account. Replacing its credentials or reconnecting requires discovering its tools again. Leaving an organization removes your individual service accounts; rejoining requires connecting again.

Previously personal connections are disabled, with their credentials and tool approvals cleared. An owner or admin must re-enable the service, and members must connect their accounts again.

Call connected tools

Agents use search_connected_tools, describe_connected_tool, and call_connected_tool through the same Platform MCP URL. Older agents and API keys keep their captured permissions. If gateway access is missing, reconnect the agent or create a key with gateway:use. An agent's OAuth grant needs gateway:use (or platform:write); a separate per-agent tool grant is not needed.

Search results include authenticationRequired links for matching services that need sign-in. Give the user the connectUrl, then search again after they connect. An action of ask_admin means an organization admin must connect the shared account. See Handle service sign-in for recovery and retry rules.

Call history

Every tool invocation creates a new call with its own ID, even with identical inputs. Call history shows who called which tool, its outcome, and duration, without storing its inputs, results, or credentials. Unknown means a call may still be running or its result was lost: check the external service before trying again. A failed tool may still have made changes.

Compose tool calls

Direct calls have a 30-second deadline and results are limited to 128 KiB. Use execute({ code }) to compose approved tool calls in Python with tools.search, tools.describe, and tools.call. Each program runs synchronously in a fresh sandbox, which is deleted before success is returned. Do not automatically retry a program after a timeout or lost response: earlier calls may have made changes. Local stdio servers and custom API connectors are not available in this version.

Use connected tools from an application

An application, such as an agent product, can search and run each member's approved tools over the REST API. Each person connects their own Platform account with OAuth, requesting the /v1 resource with gateway:read, gateway:use and offline_access. The token decides the organization and the member. Organization API keys with gateway:use work too, and see only shared organization services.

List the services the caller can use or connect:

curl --fail-with-body -sS "https://platform.adapt.com/v1/gateway/services" \
  -H "Authorization: Bearer $PLATFORM_API_KEY"

Each service lists its enabled tools, the caller's availableTools (replacing grantedTools), and whether its account is connected (authenticated). For OAuth callers, connectUrl opens the service's sign-in flow in the dashboard; it is null for API keys. The catalog shows what is available; it grants nothing.

Search and execute take a scope: the connections and tools this request may use. Scope only narrows the caller's permissions and organization tool approvals, and it bounds every tools.search, tools.describe and tools.call inside the program. Supply it from your application's own configuration, never from model output.

curl --fail-with-body -sS -X POST "https://platform.adapt.com/v1/gateway/search" \
  -H "Authorization: Bearer $PLATFORM_API_KEY" \
  -H "Content-Type: application/json" \
  --data '{"query":"issues","scope":[{"connectionId":"$CONNECTION_ID","tools":["list_issues"]}]}'
curl --fail-with-body -sS -X POST "https://platform.adapt.com/v1/gateway/execute" \
  -H "Authorization: Bearer $PLATFORM_API_KEY" \
  -H "Content-Type: application/json" \
  --data @- <<EOF_JSON
{
  "code": "print(await tools.call('$CONNECTION_ID', 'list_issues', {}))",
  "scope": [{"connectionId": "$CONNECTION_ID", "tools": ["list_issues"]}],
  "context": {"agentId": "$AGENT_ID", "runId": "$RUN_ID"}
}
EOF_JSON
  • scope: up to 100 connections, each with up to 500 tool names. An empty array allows no tools.
  • search: query up to 200 characters, and offset for the next page (nextOffset in the response). The response also includes an authenticationRequired array.
  • execute: runs the same Python as Compose tool calls and returns executionId, stdout, stderr, truncated, isError and cleanupConfirmed. It may also return authenticationRequired links. Don't replay a program whose outcome is unknown.
  • context: optional agentId and runId, stored with the execution for correlation only. They never select a user or grant access.

Handle service sign-in

A service sign-in requirement is different from an invalid Platform token. REST errors with code AUTHENTICATION_REQUIRED use HTTP 409 and include error.authenticationRequired. Each entry contains connectionId, connectionName, connectUrl, and action (connect or ask_admin). MCP errors carry the same sign-in details. Python ToolError exposes them as authentication_required; execution results retain these links even if the program catches the error.

Hosted links preserve the service and organization through Platform login, then start OAuth automatically when sign-in is needed. Already connected accounts can return to the agent without signing in again. A reconnect link explicitly restarts OAuth or opens replacement Bearer/static credential fields. The Bearer/static credential form verifies the replacement through tool discovery before showing completion. Shared accounts require an owner or admin. A failed OAuth start offers Try again rather than restarting automatically.

Give the user the link, then resume only unfinished work after sign-in. A definite credential rejection before dispatch can return a reconnect link. Once a tool call has been dispatched, its effects may be uncertain; Platform does not automatically replay it. Never replay a whole program that may already have made changes.

PreviousEndpoints: HTTPS URLs for sandbox servicesNextSSO and SCIM: Sign-in and user provisioning

On this page

  1. Visibility and agent access
  2. Call connected tools
  3. Call history
  4. Compose tool calls
  5. Use connected tools from an application
  6. Handle service sign-in