{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"Connect ChatGPT to the eGain MCP"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"connect-chatgpt-to-the-egain-mcp","__idx":0},"children":["Connect ChatGPT to the eGain MCP"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use this guide to connect ChatGPT (browser, desktop, and mobile) to your eGain MCP server. Add the plugin once in the browser; desktop and mobile pick it up from your ChatGPT account."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"prerequisites","__idx":1},"children":["Prerequisites"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["An ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["eGain Knowledge tenant"]},". If you do not have one, sign up for a free trial of ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["AI Knowledge Hub"]}," or ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["AI Developer"]}," on ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://www.egain.com/"},"children":["eGain.com"]},", or ask your eGain administrator to create an account for you in your team's existing tenant."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Administration Console access"]}," for the partition you want ChatGPT to read from (needed to enable Remote MCP)."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ChatGPT account"]}," with permission to add custom plugins. MCP access mirrors your eGain user's permissions — ChatGPT can only access the portals and articles that your eGain user account can access."]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Contact Support before you set up Remote MCP"]}," ","For versions 21.24 and earlier, Remote MCP is not available in all customer environments. ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://media.egain.com/support/self-provisioned.asp"},"children":["Contact Support"]}," to enable Remote MCP for your tenant or to confirm availability for your environment."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-1-enable-remote-mcp-in-your-egain-tenant","__idx":2},"children":["Step 1: Enable Remote MCP in your eGain tenant"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Sign in to your eGain Administration Console. Your tenant URL follows the pattern ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://<your-eGain-hostname>/<your-tenant-id>"]}," — for example, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://ai.egain.cloud/a1b2"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://aidev.egain.cloud/a1b2"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Go to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Partition"]}," → ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Integration"]}," → ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["MCP"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Turn on the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Enable Remote MCP"]}," toggle."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select one of the available tabs for your use case:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Agent:"]}," for agent-only MCP access."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Authenticated Customer:"]}," for authenticated customer access."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Anonymous Customer:"]}," for anonymous customer access."]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click the copy icon next to the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["MCP Server URL"]}," field to copy the URL. You will paste this into ChatGPT in the next step."," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/mcp-claude-admin.5faba482f5a31be95a654a72a125fd0f38ccd71e71ac6fc34f533e70948451cd.afe294b5.png","alt":""},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-2-add-the-egain-mcp-to-chatgpt","__idx":3},"children":["Step 2: Add the eGain MCP to ChatGPT"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"chatgpt-in-the-browser","__idx":4},"children":["ChatGPT in the browser"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Custom plugins can only be added in the browser at ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://chatgpt.com/"},"children":["chatgpt.com"]},":"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Open ChatGPT, click your profile in the bottom left, then click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Settings"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Go to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Security and login"]}," and turn on ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Developer mode"]},"."," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/mcp-chatgpt-developer-mode.c495ca16e6236268859d009f4da8d5b3b47e0da78a7ebe160eebd733d38f19d6.afe294b5.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Go to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Plugins"]}," and click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Browse plugins"]},"."," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/mcp-chatgpt-plugins.88a29ef486dacf88d7ff191c952178dcae1d4f9ba24f9cf8f9e1cdcc5d0916db.afe294b5.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["+"]}," to add a new plugin."," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/mcp-chatgpt-add.82ba84507b688e42e6054d5f300318d193c29d08a315bbbaac693372774b87b8.afe294b5.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Enter a name and paste the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["MCP Server URL"]}," you copied from the Administration Console into the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Connection"]}," field."," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/mcp-chatgpt-fields.aaae4a7c989ea4928b5305bad4797353c9bdf20c9fc45288a589226c4e7fbf0a.afe294b5.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Set ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Authentication"]}," based on the MCP URL you copied:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Anonymous MCP URL:"]}," set ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Authentication"]}," to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["No Auth"]},", then click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create"]},". You can skip the remaining steps in this section."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Authenticated MCP URL:"]}," set ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Authentication"]}," to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["OAuth"]},", then continue below."]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Advanced OAuth settings"]},". Copy the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Callback URL"]},". You will also need to fill in ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["OAuth Client ID"]}," and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["OAuth Client Secret"]}," after you create the client in eGain."," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/mcp-chatgpt-advance.e8bb293d56b3aee181a4183fcca752a0c70675aaae80a06039981082ff45e94a.afe294b5.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Return to the eGain Administration Console. Under ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["MCP: Registered Clients"]},", add a client (for example, named ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ChatGPT"]},"). Paste the Callback URL into ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Redirect URL"]}," and save."," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/mcp-chatgpt-redirect.de246366ad1e48c74585d903943872895f4d42c529a8b419a3016bf3956f04b6.afe294b5.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["On that registered client, open the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["⋯"]}," menu and click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Display"]},". Copy the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Client ID"]}," into the ChatGPT plugin's ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["OAuth Client ID"]}," field."," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/mcp-chatgpt-id.c28513056256e84c2bd67fc3587a1b85d1534631a0ddb03955a5cb3a6d599da5.afe294b5.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Close the Display dialog. Open ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["⋯"]}," again and click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Edit"]},". Under ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Secrets"]},", add a secret. eGain generates the value — copy it before it disappears, then paste it into the ChatGPT plugin's ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["OAuth Client Secret"]}," field."," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/mcp-chatgpt-secret.5191d569be36abd449e1fa9654d252430cae91606ef68da9c4ab55d7d440e7f7.afe294b5.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In ChatGPT, click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create"]},". If ChatGPT does not connect on its own, click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Connect"]}," and sign in with your eGain account."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"chatgpt-for-mobile-and-desktop","__idx":5},"children":["ChatGPT for mobile and desktop"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Add the plugin once in the ChatGPT browser. The mobile and desktop apps pick it up automatically because it is tied to your ChatGPT account — there is no separate ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Add plugin"]}," option in those apps."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For ChatGPT plugin and developer mode details, see OpenAI's ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://help.openai.com/en/articles/12584461-developer-mode-and-mcp-apps-in-chatgpt"},"children":["developer mode help"]}," and ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://developers.openai.com/api/docs/guides/developer-mode"},"children":["developer mode guide"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-3-test-the-connection","__idx":6},"children":["Step 3: Test the connection"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Open a new chat in ChatGPT and ask something like:"]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["\"What does our master knowledge base say about refunds?\""]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"authentication--permissions","__idx":7},"children":["Authentication & Permissions"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Authentication:"]}," ChatGPT authenticates using OAuth 2.0 with your eGain account. ChatGPT never sees your account password."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Visibility:"]},"  ChatGPT can only see the portals and articles your eGain user is allowed to see."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Revoking access:"]}," Revoke access at any time from ChatGPT ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Settings"]}," → ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Plugins"]},", or from your eGain account settings."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Anonymous access:"]}," If your portal allows it, you can skip sign-in entirely. ChatGPT will see only what unauthenticated visitors see on your portal."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"troubleshooting","__idx":8},"children":["Troubleshooting"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["\"No portals found\"."]}," Confirm that the eGain account you signed in with has access to at least one portal."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Changed eGain tenants."]}," Disconnect and reconnect using the new tenant's MCP Server URL, or add a new plugin."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Sign-in loop in the browser."]}," This is usually a third-party cookie issue — try a private window or a different browser."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"support-and-privacy","__idx":9},"children":["Support and privacy"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Support:"]}," For issues not covered above, ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://media.egain.com/support/self-provisioned.asp"},"children":["Contact Support"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Privacy:"]}," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://www.egain.com/privacy-policies/"},"children":["eGain Privacy Policy"]}]}]}]},"headings":[{"value":"Connect ChatGPT to the eGain MCP","id":"connect-chatgpt-to-the-egain-mcp","depth":1},{"value":"Prerequisites","id":"prerequisites","depth":2},{"value":"Step 1: Enable Remote MCP in your eGain tenant","id":"step-1-enable-remote-mcp-in-your-egain-tenant","depth":2},{"value":"Step 2: Add the eGain MCP to ChatGPT","id":"step-2-add-the-egain-mcp-to-chatgpt","depth":2},{"value":"ChatGPT in the browser","id":"chatgpt-in-the-browser","depth":3},{"value":"ChatGPT for mobile and desktop","id":"chatgpt-for-mobile-and-desktop","depth":3},{"value":"Step 3: Test the connection","id":"step-3-test-the-connection","depth":2},{"value":"Authentication & Permissions","id":"authentication--permissions","depth":2},{"value":"Troubleshooting","id":"troubleshooting","depth":2},{"value":"Support and privacy","id":"support-and-privacy","depth":2}],"frontmatter":{"seo":{"title":"Connect ChatGPT to the eGain MCP"}},"lastModified":"2026-10-12T19:03:28.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/developer-portal/guides/mcp/chatgpt-setup","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}