Skip to content

Connect with MCP

BETA

Agent Gateway is in BETA, and we're continuing to expand its capabilities. Your feedback helps shape what we build next—reach out to us through Relewise Support.

MCP lets an AI assistant discover and call Agent Gateway tools through the Model Context Protocol.

Before connecting, complete the configuration and Personal Access Token steps in Get Started.

On the Agent Gateway page, select Connection Guide, then open the MCP tab. Copy the AI Tool Instructions directly into the AI tool, or use the Manual Setup values to configure the connection yourself.

Configure the Connection

One MCP connection can work with multiple Datasets. Use this endpoint:

text
https://my.relewise.com/agents/mcp

Use relewise-agent-gateway as the connection name. Configure the client's secure credential mechanism to send your Personal Access Token with every request:

http
Authorization: Bearer <personal-access-token>

Keep the token in the client's credential settings; do not paste it into chat.

Verify Identity and Select a Dataset

Call get_me with no arguments. It returns:

  • user: displayName and emailAddress.
  • personalAccessToken: name, nullable description, and nullable expiresAt. No token secret is returned.
  • licenses: License references with licenseId, displayName, and datasets. Each Dataset has datasetId, displayName, and type.

An empty licenses collection means no Datasets are available to your user and token.

After choosing a Dataset, pass its datasetId GUID with each tool call that works with that Dataset. If the choice is ambiguous, ask the user rather than guessing. Call get_dataset_details with that ID to check its Agent Gateway settings.

Available tools may require permissions or capabilities that are not enabled for your selected Dataset.

Browse Areas for available tools. Use Dataset metadata to find valid languages, currencies, and Data Keys when needed. For connection or access issues, see Troubleshooting and FAQ.

Don't know us? Don't worry - you can find more information about us, by visiting our main page www.relewise.com