Skip to content

Connecting to ChatGPT

This guide covers adding AgentCube to ChatGPT as an MCP connector. ChatGPT connects to the Context Engine’s single MCP endpoint, which fronts every connector behind it — you add one connector in ChatGPT, not one per Oracle system.

  1. Open Settings and go to Connectors
  2. Choose to add a custom connector and select the MCP server type
  3. Enter:
    • Name: A descriptive name (e.g., AgentCube)
    • MCP server URL: Your Context Engine’s MCP endpoint
      https://{ce_hostname}/mcp
  1. Select No authentication
  2. Save the connector

This posture applies when the Context Engine runs with AGENTCUBE_CE_AUTH_MODE=basic; no additional configuration is needed. To require sign-in, see Single Sign-On.

This posture requires the Context Engine to be configured for SSO first (AGENTCUBE_CE_AUTH_MODE=oidc and its identity-provider settings) — see SSO Setup.

  1. Select OAuth as the authentication method — leave the client credentials blank where the interface allows it
  2. Save the connector
  3. On first tool use, a browser flow will prompt for SSO login. Authenticate with your corporate credentials.

After adding the connector:

  1. Start a new conversation (connectors added mid-conversation may not activate)
  2. Ask a question that triggers a tool call, for example:
    • “What’s the status of my connected systems?”
    • “List the applications I can access”
  3. ChatGPT should return data from your environment
IssueResolution
Connector tools don’t appearStart a new conversation — connectors added mid-chat may not be active until the next conversation
SSO prompt doesn’t appearEnsure AGENTCUBE_CE_OIDC_BASE_URL matches the Context Engine’s public URL exactly
Authentication fails after SSO login on a workspace connector (token exchange returns 401)Upgrade the Context Engine to 3.31.3 or later
Authentication failsVerify your identity provider configuration — see SSO Setup
Tools return errorsCheck the Context Engine health endpoint: https://{ce_hostname}/health