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.
Add the Connector
Section titled “Add the Connector”- Open Settings and go to Connectors
- Choose to add a custom connector and select the MCP server type
- Enter:
- Name: A descriptive name (e.g.,
AgentCube) - MCP server URL: Your Context Engine’s MCP endpoint
https://{ce_hostname}/mcp
- Name: A descriptive name (e.g.,
Basic / service-account posture
Section titled “Basic / service-account posture”- Select No authentication
- 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.
SSO (OIDC) posture
Section titled “SSO (OIDC) posture”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.
- Select OAuth as the authentication method — leave the client credentials blank where the interface allows it
- Save the connector
- On first tool use, a browser flow will prompt for SSO login. Authenticate with your corporate credentials.
Verify the Connection
Section titled “Verify the Connection”After adding the connector:
- Start a new conversation (connectors added mid-conversation may not activate)
- Ask a question that triggers a tool call, for example:
- “What’s the status of my connected systems?”
- “List the applications I can access”
- ChatGPT should return data from your environment
Troubleshooting
Section titled “Troubleshooting”| Issue | Resolution |
|---|---|
| Connector tools don’t appear | Start a new conversation — connectors added mid-chat may not be active until the next conversation |
| SSO prompt doesn’t appear | Ensure 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 fails | Verify your identity provider configuration — see SSO Setup |
| Tools return errors | Check the Context Engine health endpoint: https://{ce_hostname}/health |