Create Private Connection from ChatGPT

This page explains how to register ChatGPT as an OAuth client in Pricefx and configure a custom connector in ChatGPT to establish a private connection to your partition via a Remote MCP server.

Client Registration

To use OAuth, each client must be registered with a specific client_id. This configuration is defined through the oauthConfiguration Advanced Configuration Option. Multiple clients can be registered within this setting.

  1. Login to your Pricefx partition.

  2. Go to Administration > Configuration > System Configuration > Advanced Configuration Options.

  3. Click Add.

  4. In the Add Option menu:

    1. Enter oauthConfiguration into Name.

    2. Enter the following JSON code into Value.

      JSON
      {
        "knownClients": {
          "chatgpt": {
            "redirect_uri": "https://chatgpt.com/connector_platform_oauth_redirect"
          }
        }
      }
      
  5. Click Add.

For more information about ChatGPT OAuth callback URL see Authentication.

Turn On Developer Mode

  1. Open browser with ChatGPT.

  2. Go to Settings > Apps & Connectors > Advanced settings.

  3. Turn on the Developer mode.

Create Connection

  1. Open browser with ChatGPT.

  2. Go to Settings > Apps & Connectors.

  3. Click Create app.

  4. In the New app menu:

    1. Enter the Name.

    2. Enter a Description (optional).

    3. Enter https://<mcp domain URL>/mcp/<instance base URL>/<partition> into the MCP server URL.
      info MCP Domain URL (https://mcp.pricefx.com/mcp)

  5. In the Authentication section:

    1. Select OAuth.

    2. Enter OAuth Client ID.
      info This is the client_id from the oauthConfiguration Advanced Configuration Option.

  6. Check I understand and want to continue option.

  7. Click Create.

    ChatGPTPrivateConnectionSetup.png

Once saved, your default browser will automatically open the Pricefx login page. Use your personal credentials corresponding to the specific cluster/partition combination.

PricefxOAuthLoginPage.png
PricefxOAuthGrantConsent.png


ChatGPTPrivateConnectionSetupOverview.png