API reference

Tango exposes a Model Context Protocol (MCP) server and a REST API for headless agents.

API overview

Tango is built around a client-server protocol called the Model Context Protocol (MCP) plus a REST API for headless, non-chat agents. Both use the same worker-key auth model and are scoped to the worker's assigned clients.

Authentication

Both APIs use a Tango worker key as a Bearer token. The key is opaque (tng_...). Pass it in the Authorization header. The MCP server also supports OAuth-style binding via worker_connections.

Authorization: Bearer tng_...