---
title: Action Gateway Reference (public)
description: API, SDK, MCP, and doctl resources for Action Gateway.
product: Managed Agents
url: https://docs.digitalocean.com/products/managed-agents/action-gateway/reference/
last_updated: "2026-09-23"
---

> **For AI agents:** The documentation index is at [https://docs.digitalocean.com/llms.txt](https://docs.digitalocean.com/llms.txt). Markdown versions of pages use the same URL with `index.html.md` in place of the HTML page (for example, append `index.html.md` to the directory path instead of opening the HTML document).

# Action Gateway Reference (public)

Action Gateway gives applications and AI agents governed access to tens of thousands of tools through a managed MCP endpoint or SDK. See [What You Can Build](https://docs.digitalocean.com/products/managed-agents/agent-harness-runtime/details/what-you-can-build/index.html.md) for example use cases of Action Gateway with Harness Runtime.

## Additional Tools for Action Gateway

### The DigitalOcean API

The [DigitalOcean API](https://docs.digitalocean.com/reference/index.html.md) lets you manage resources programmatically with standard HTTP requests. All actions available in the control panel are also available through the API.

See the [Action Gateway API reference](https://docs.digitalocean.com/reference/api/reference/action-gateway/index.html.md) for how to discover tools and providers, manage versioned toolbelts and OAuth connections, and create policy-bound sessions for end users. Action Gateway session creation returns an `mcpUrl`. Use that URL verbatim when connecting an MCP client; it identifies the session and its environment. See [Sessions](https://docs.digitalocean.com/products/managed-agents/action-gateway/concepts/sessions/index.html.md).

### SDKs and Coding Agents

Use the Python or TypeScript SDK to create an Action Gateway session, or configure an MCP client directly. See [Connect Action Gateway Tools](https://docs.digitalocean.com/products/managed-agents/action-gateway/how-to/connect-action-gateway/index.html.md).

For a guided setup that connects an MCP client and runs a read-only tool, use the [Action Gateway Quickstart](https://docs.digitalocean.com/products/managed-agents/action-gateway/quickstart/index.html.md).

### The DigitalOcean Command Line Client, doctl

[`doctl`](https://github.com/digitalocean/doctl) is the command-line interface for the DigitalOcean API. It supports most of the same actions available in the API and DigitalOcean Control Panel.

You can declare Action Gateway tools in a Harness Runtime environment spec and start the session with `doctl harness-runtime`. Use the [`doctl harness-runtime` command](https://docs.digitalocean.com/reference/doctl/reference/harness-runtime/index.html.md) or run `doctl harness-runtime --help` to view available options.

For connecting Action Gateway tools from Harness Runtime, see [Connect Action Gateway to Harness Runtime](https://docs.digitalocean.com/products/managed-agents/agent-harness-runtime/how-to/connect-action-gateway/index.html.md).