{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Connect Claude to the eGain MCP"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"connect-claude-to-the-egain-mcp","__idx":0},"children":["Connect Claude to the eGain MCP"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use this guide to connect Claude (Claude for Desktop, Claude App for iOS, and Claude for Android) to your eGain MCP server."]},{"$$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 Claude to read from (needed to enable Remote MCP)."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Claude account"]}," with permission to add custom connectors. MCP access mirrors your eGain user's permissions — Claude can only access the portals and articles that your eGain user account can access."]}]},{"$$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 Claude 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-claude","__idx":3},"children":["Step 2: Add the eGain MCP to Claude"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"claude-desktop-and-claudeai-browser","__idx":4},"children":["Claude Desktop and Claude.ai (browser)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The flow is the same in Claude Desktop and on ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://claude.ai"},"children":["claude.ai"]}," in a browser:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Open Claude and go to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Customize"]}," → ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Connectors"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Add connector"]}," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/buton_add_connector.5aa588c49a7d9a0a6f2cb5acfdc756bb95905d6d4e84cc7edf432124ff40e854.afe294b5.png","alt":""},"children":[]}," button, then select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Add custom connector"]},"."," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/mcp-claude-add.d9f753725613b8253ad8fb547d13cbab86b5295f2a3e62199c7c83fb25e2d7ad.afe294b5.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Enter a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Name"]}," (for example, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["eGain"]},") and paste the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["MCP Server URL"]}," you copied from your Administration Console into the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Remote URL"]}," field."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Add"]},".",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["If you used an authenticated MCP URL, Claude will prompt you to sign in."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["If you used an anonymous MCP URL, the connector completes setup without requiring sign-in."," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/mcp-claude-new.5dfe731c84d0384eab651e121a0b40fc32b5653e7fe656a781111b0225f31776.afe294b5.png","alt":""},"children":[]}]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Connect"]}," and sign in with your eGain account when prompted. After signing in, your eGain connector and tools are available in Claude."," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/mcp-claude-connect.6c94761b6dee4d632013014688d3a963ddad93b01c3af5520cf7806a0a605b44.afe294b5.png","alt":""},"children":[]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Once added, you can enable or disable the eGain Remote MCP connector at any time by clicking ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/buton_add_connector.5aa588c49a7d9a0a6f2cb5acfdc756bb95905d6d4e84cc7edf432124ff40e854.afe294b5.png","alt":""},"children":[]}," in the chat input and selecting ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Connectors"]},"."," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/mcp-claude-verify.b5c76a075b023e75cfe7ac7f1ec7b1ff50b9e10b48f5955a598055c89805f490.afe294b5.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"claude-for-ios-and-android","__idx":5},"children":["Claude for iOS and Android"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Add the connector once in Claude for Desktop or on claude.ai. The mobile apps pick up the connector automatically because it is tied to your Claude account — there is no separate ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Add custom connector"]}," option on mobile."]},{"$$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 Claude 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:"]}," Claude authenticates using OAuth 2.0 with your eGain account. Claude never sees your password."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Visibility:"]},"  Claude 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 Claude's Connectors page or 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. Claude 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":["Connector stays \"Pending\" after sign-in."]}," Refresh the Connectors page. If the issue persists, disconnect and reconnect."]},{"$$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."]},{"$$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, contact eGain support at ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["support@egain.com"]}]},{"$$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 Claude to the eGain MCP","id":"connect-claude-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 Claude","id":"step-2-add-the-egain-mcp-to-claude","depth":2},{"value":"Claude Desktop and Claude.ai (browser)","id":"claude-desktop-and-claudeai-browser","depth":3},{"value":"Claude for iOS and Android","id":"claude-for-ios-and-android","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 Claude to the eGain MCP"}},"lastModified":"2026-05-21T00:24:28.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/developer-portal/guides/mcp/claude-setup","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}