Skip to content
← Back to MCP Skill

MCP · Quick Guide

Quick Guide to Add Agent to ChatGPT

Connect your raia agent to ChatGPT as a Custom Connector (plugin) using MCP with OAuth. Follow the current official setup guidance below.

In raia CX, open Agents, select your agent, then open Skills → MCP (add MCP if it is not listed yet; older versions labelled it MCP Tools). Select Edit, then open the RAIA MCP tab for the incoming endpoint, Secret Key and OAuth Registration URL; the Integrations tab is for outgoing servers. Copy the OAuth Registration URL for OAuth; it includes your agent ID. Header-based authentication instead uses https://api.raia2.com/mcp and the Secret Key as a Bearer token.

  1. Step 01

    ChatGPT web — Plugins → Add custom MCP server

    In ChatGPT on the web, open Plugins, select the plus button, then Add custom MCP server. Workspace permissions and security restrictions apply.
    ChatGPT New Plugin panel with Name, Description, Server URL, and OAuth authentication
    Use the connection controls available in your client version and workspace.
  2. Step 02

    Fill in your agent details

    Enter the name and optional description. Under Connection choose Server URL and paste your agent's OAuth Registration URL. Configure OAuth, review the warning, select I understand and want to continue, then Create as a plugin.
    Filled-in New Plugin form showing OAuth authentication selected
    Use the connection controls available in your client version and workspace.
  3. Step 03

    Sign in with your raia agent

    If the client prompts you, sign in to raia and review the permissions shown. Choose Allow only for the intended agent and sharing scope. Then return to the client and inspect its tool list; check the connection status and try a known-answer request.
    Add raia CX Developer to ChatGPT sign-in screen
    Use the connection controls available in your client version and workspace.
  4. Step 04

    Allow ChatGPT to connect to your agent

    Install the created plugin. If prompted, complete the raia sign-in and consent flow. Read the permissions shown before choosing Allow. Client menus can change between versions and workspaces; follow the current connection and consent prompts.
    raia consent screen granting ChatGPT permission to connect to the agent
    Use the connection controls available in your client version and workspace.
  5. Step 05

    Verify a tool call and its answer

    Check the plugin's connection status and inspect its tools. After Connected appears, request a tool call with a known-answer question and compare the result with its source.
    ChatGPT plugin detail page showing raia CX Developer as Connected
    Use the connection controls available in your client version and workspace.
  6. Step 06

    Use your agent inside ChatGPT

    Explicitly select or request the discovered tool and provide a fictional question. For example, ask the client to use query-agent only if that name appears in its tool list. Verify that a tool call occurred, then compare the answer with your source document. Merely mentioning the agent does not guarantee tool routing or a correct answer.
    ChatGPT composer showing the @raia plugin picker with the raia agent selected
    Use the connection controls available in your client version and workspace.

Verify a tool call and its answer

Open the connected client's tool list and inspect the discovered name and input schema. The connected client lists the tool names your server exposes. Use the name shown in that list; names can differ between servers.

If no tool appears, check the endpoint, authentication and client availability, then refresh the client's tool list. If the answer is wrong or unsupported, compare it with the source and review the agent's knowledge and instructions before retrying. Do not assume the client called the tool.

After the client calls a tool, compare its response with the fictional source content you supplied. The tool schema determines which inputs are required; inspect it before sending a request. This example does not establish compatibility with every client or authentication flow.

OpenAI: ChatGPT web · OpenAI: Codex MCP