Agent Gateway

Agent Gateway Overview

Enterprise-grade governance and control for AI agents connecting to your business systems through the Model Context Protocol (MCP).

Tray Agent Gateway provides enterprise governance, security, and control for AI agents that interact with your business systems. Built on the Model Context Protocol (MCP), Agent Gateway enables you to expose Tray workflows and connector operations as tools that AI agents can use while maintaining control over permissions, access, and execution.

Availability

Agent Gateway access must be enabled at the organization level. Contact your Customer Success representative or account team to enable Agent Gateway for your organization.

What is Agent Gateway?

Agent Gateway acts as a secure bridge between AI assistants (Claude, ChatGPT, custom agents) and your business systems:

  • Workflows as Composite Tools - Multi-step business logic packaged as single tools
  • Connector Operations as Tools - Individual operations from 700+ connectors with granular control
  • Built-in Governance - Permissions, rate limiting, and audit logs at organization and workspace level
  • Enforced Security - Bearer token authentication, RBAC, and execution monitoring

Key Capabilities

MCP Server

The MCP Server exposes your Tray capabilities as tools that AI agents can discover and execute:

Tool Types:

  • Workflow Tools (Composite Tools) - Complete workflows with business logic, transformations, and rules
  • Connector Tools - Individual operations from Tray's 700+ connectors

Agent Capabilities:

  • Discover available tools automatically
  • Execute tools with natural language inputs
  • Receive structured responses
  • Chain multiple tool calls for complex tasks

Workspace-Level Configuration

MCP servers are configured per workspace:

  • Enable/disable MCP access
  • Custom server names and URLs
  • Selective tool exposure
  • Independent security boundaries

Use Cases

Customer Support: Create AI agents that look up customers, check orders, create tickets, and send follow-ups across multiple systems through Composite Tools with validation and logging.

Sales Enablement: Enable agents to search leads, retrieve pricing, generate quotes with business rules, and update opportunities in Salesforce.

IT Operations: Build assistants that query infrastructure status, execute runbooks, retrieve logs, and create incidents with proper categorization.

Data Analysis: Allow agents to run approved SOQL queries, retrieve data from multiple sources, and generate reports with governance controls.

Why Composite Tools?

Composite Tools reduce LLM context usage and hallucination risk by packaging multi-step logic into single tools.

Example: Send Slack Message

Without Composite Tools:

  1. AI needs separate "lookup user" tool
  2. AI needs separate "send message" tool
  3. Requires multiple LLM calls and context coordination
  4. Higher risk of errors

With Composite Tools:

  1. Single "send message" tool handles lookup logic internally
  2. Workflow prompts user for clarification if multiple matches
  3. One tool call, reduced context, controlled logic

Why Connector Tools?

Connector Tools provide quick access to individual operations with fine-grained control.

Example: Salesforce Read-Only Access

Expose only query operations:

  • Run SOQL queries
  • Look up accounts
  • Read opportunity data

Block modification operations:

  • No create account
  • No update records
  • No delete operations

This control isn't available with direct MCP server connections where tool availability is managed client-side.

Getting Started

  1. Request Access - Contact your Tray team to enable Agent Gateway
  2. Configure MCP Server - Set up workspace-level server with test tools
  3. Connect AI Client - Use Claude Desktop, Cursor, VS Code, or other MCP client
  4. Test and Expand - Start simple, add more complex Composite Tools

Continue to Getting Started for detailed setup instructions.

Was this page helpful?