新しいドキュメントサイトへようこそ。これまで日本語で公開されていた記事は、本サイトでもご利用いただけます。サイトをご利用の際に、ブックマークを新しいURLに更新してください。日本語版がない記事は、英語版をご利用ください。日本語コンテンツは今後も引き続き更新していきます。

Connect Gainsight CS MCP Server to AI Clients Using Dynamic Client Registration

Prev Next
This content is currently unavailable in Ja - 日本語. You are viewing the default (English) version.

This article is intended for admins who connect the Gainsight CS MCP server to AI clients such as Atlassian Rovo, ChatGPT, and Github Copilot using Dynamic Client Registration (DCR).

Overview

Gainsight CS MCP server can now be connected to AI clients such as Atlassian Rovo, ChatGPT, and GitHub Copilot. With this integration, your team can interact with Gainsight CS data directly from these AI clients using natural language prompts, without switching to the Gainsight application.

To connect the two, these AI clients use Dynamic Client Registration (DCR). DCR is an authentication method that allows the AI client to set up the connection automatically. You do not need to create or share any credentials manually. You only need the Gainsight CS MCP server URL for your tenant.

After you set up the connection, you can query companies, CTAs, Success Plans, and Timeline activities directly from your preferred AI client.

Note

This integration is available as a limited release. Contact your Gainsight account team to confirm availability for your organization.

Limitations

  • Gainsight allows a maximum of three OAuth app connections per tenant. This limit applies to both manually created and DCR-created connections.

  • Each AI client such as Rovo, ChatGPT, and GitHub Copilot creates a separate DCR app in Gainsight.

  • When the connection limit is reached, new DCR connections fail. To increase the limit, raise a request with Gainsight Support.

  • Gainsight applies a rate limit of two DCR registration calls per minute and 20 per day. This rate limit is separate from regular Gainsight API limits.

  • After connecting to an AI client, the DCR OAuth connection is visible in the Gainsight UI. An admin can turn off this connection at any time. When the admin turns off the connection, users lose access and the connection stops working.

Prerequisites

Before you begin, ensure the following:

  • You have admin access to the AI client you want to connect.

  • You have an active Gainsight CS account on the tenant you want to connect.

  • Gainsight Support has enabled the DCR feature for your instance.

  • You have the Gainsight CS MCP server URL for your tenant. The URL follows this format: https://[your-domain].gainsightcloud.com/v1/ds-mcp/mcp

Select your AI client to view the setup instructions:

For more information on the Gainsight CS MCP server, refer to the Set Up Gainsight CS MCP Server Integration article.

Connect Gainsight CS MCP Server to Atlassian Rovo

This section explains how to add the Gainsight CS MCP server in Atlassian and use it to create a Rovo agent that queries Gainsight CS data.

Add the Gainsight CS MCP Server in Atlassian

To add the Gainsight CS MCP server as a connected app in your Atlassian organization:

  1. Navigate to your Atlassian Administration page.

  2. In the left navigation panel, select Connected apps. The Connected apps page appears.

  3. Click the dropdown arrow next to Explore apps and select Add external MCP server.

    Atlassian Connected Apps settings showing the Explore apps menu with the Add external MCP server option highlighted.

  4. Read the information on the Before you add an external MCP server page and click Authenticate. 

    External MCP server setup page showing prerequisites, permissions, and security information before beginning the installation.

  5. On the Select external MCP server page, select Custom MCP server.

    Select External MCP Server page showing Custom MCP server selected alongside available third-party MCP server options.

  6. On the Add MCP server details page, enter the following details:      

    • MCP URL: Enter the Gainsight CS MCP server URL for your tenant. For example: https://[your-domain].gainsightcloud.com/v1/ds-mcp/mcp

    • MCP server name: Enter a unique name using letters or numbers. For example: gscsmcp

    • Authentication: Select OAuth from the dropdown list.
      Configure and Install page showing custom MCP server URL, server name, and OAuth authentication settings.

    Note: When you select OAuth, Atlassian displays the following message: "To connect via OAuth, the server must support OAuth 2.1 with authorization_code grant, and Dynamic Client Registration (DCR) to allow automatic configuration." The Gainsight CS MCP server supports both requirements.

  7. Click Authenticate. Atlassian connects to the Gainsight CS MCP server using DCR and redirects you to the Gainsight login page.

  8. Enter your Gainsight Username or email address and click Continue. 

    Gainsight login screen prompting the user to enter an email address and select Continue to connect to Atlassian Integrations Client.

  9. Complete your login. The Authorize App consent screen appears.

  10. Review the permissions and click Accept. The MCP server connection is established.
    Gainsight authorization screen requesting read/write and offline access for Atlassian Integrations Client, with Accept highlighted.

Note

When Gainsight creates a DCR connection, the following default settings apply:

  • PKCE (Proof Key for Code Exchange): Enabled by default and cannot be changed. PKCE is a security measure that protects the OAuth connection from unauthorized access.

  • Scope: Set to read and write by default. Admins can change the scope based on their requirements.

To view or manage these settings, navigate to Administration > User Management > Authentication > OAuth Applications and select the DCR connection.

After successful authentication, the connected apps tools selection page appears and displays the available MCP tools automatically fetched from the Gainsight CS MCP server.

Connected Apps page for the custom MCP server showing OAuth authorization and available Gainsight MCP tools under Tools selection.

Note

Turn on the Enable new MCP tools toggle to automatically include new tools added to the Gainsight CS MCP server in the future, without requiring admin review.

Create a Rovo Agent Using the Gainsight CS MCP Connector

After you add the Gainsight CS MCP server, you can create a Rovo agent in Atlassian Studio that uses the MCP connector as a skill. Once published, users in your organization can interact with the agent to query Gainsight data using natural language.

To create a Rovo agent:

  1. Navigate to Atlassian Studio.

  2. Click Agents under Or start from scratch. A new untitled agent is created.

  3. On the agent details page, click Add skills in the Skills section. The Add skills dialog box appears.
    Atlassian Studio agent configuration page showing agent instructions, skills, knowledge, and the Add skills option highlighted.

  4. In the MCP (Model Context Protocol) section, select the Gainsight CS MCP connector you created. For example: gscsmcp.

  5. (Optional) Turn on the Add all existing and future gscsmcp tools toggle to automatically include all current and future Gainsight MCP tools.

  6. Click Add. The Gainsight CS MCP connector is added as a skill.
    Add Skills page showing Gainsight MCP tools from the custom server available for selection, with the Add button highlighted.

  7. Enter a name for the agent.

  8. (Optional) Add a description.

  9. Click Publish. The agent is now available to users in your organization.
    Atlassian Studio agent configuration page for klausmcp-agent, showing the configured skill and the Publish button highlighted.

Use the Rovo Agent to Query Gainsight Data

After the agent is published, users in your organization can interact with it to query Gainsight CS data.

When a user submits a prompt, Rovo identifies the relevant Gainsight MCP tools and displays a Please review confirmation before executing the action. After the user confirms, Rovo returns the results from Gainsight CS.

Published klausmcp-agent in Atlassian Studio showing a test response with the top five companies based on ARR.

Note

Each user must authenticate with their own Gainsight credentials the first time they interact with the agent. The data and actions available to each user are governed by their existing Gainsight permissions.

If an admin changes the scope after the connection is established, the change takes up to one hour to reflect for users.

Connect Gainsight CS MCP Server to ChatGPT

ChatGPT supports connections to external MCP servers through DCR. You can connect the Gainsight CS MCP server to ChatGPT without manually exchanging OAuth credentials. ChatGPT registers itself as an OAuth client automatically. You only need the Gainsight CS MCP server URL for your tenant.

After you set up the connection, you can query companies, CTAs, Success Plans, and Timeline activities directly from ChatGPT using natural language prompts.

Note

To create a plugin in ChatGPT, you must turn on Developer mode in ChatGPT Settings. For more information, refer to the ChatGPT documentation.

Add the Gainsight CS MCP Server in ChatGPT

To add the Gainsight CS MCP server as a plugin in ChatGPT:

  1. In ChatGPT, navigate to Plugins from the left navigation panel.

  2. Click the add icon on the top right of the Plugins page. The New Plugin dialog box appears.

    ChatGPT Plugins page showing installed and featured plugins, with the Add plugin button highlighted.

  3. Enter the following details:    

    • Name: Enter a name for the plugin. For example: MCPDCR

    • Description: (Optional) Enter a brief description. For example: Gainsight CSM MCP

    • Connection: Select Server URL and enter the Gainsight CS MCP server URL. For example: https://[your-domain].gainsightcloud.com/v1/ds-mcp/mcp

    • Authentication: Select OAuth from the dropdown list. ChatGPT New Plugin dialog showing MCPDCR server details, OAuth authentication, and the custom MCP server risk warning.

  4. Click Advanced OAuth settings to expand the section.

  5. Confirm that Dynamic Client Registration (DCR) is selected under Client registration. ChatGPT selects DCR automatically when the Gainsight CS MCP server supports it.

  6. Under Default scopes, select the appropriate scope:    

    • Select read for read-only access.

    • Select read_write for read and write access. ChatGPT New Plugin dialog showing Advanced OAuth settings with Dynamic Client Registration and read and read_write scopes selected.

    Note: ChatGPT currently supports read-only scope for the Gainsight CS MCP connection.

  7. Select the I understand and want to continue checkbox. ChatGPT New Plugin dialog showing discovered OAuth endpoints, OIDC settings, accepted custom MCP server risk warning, and the Create button.

  8. Click Create. ChatGPT registers the plugin using DCR and creates the connection automatically. The Add MCPDCR to ChatGPT dialog box appears.

Authenticate with Your Gainsight Account

After the plugin is created, each user must authenticate with their Gainsight account before querying data.

To authenticate:

  1. On the Add MCPDCR to ChatGPT dialog box, click Sign in with MCPDCR. The Gainsight login page appears. 

    ChatGPT connection screen for MCPDCR, showing the Sign in with MCPDCR button and information about permissions and connector risks.

  2. Enter your Gainsight Username or email address and Password. Click Continue.

    Gainsight password screen prompting Elena Gilbert to enter a password and select Continue to connect to ChatGPT.

  3. Complete your login. The Authorize App consent screen appears.

  4. Review the permissions and click Accept. The connection is established. Gainsight authorization screen showing ChatGPT requesting read_write and offline access, with the Accept button highlighted.

View the DCR Connection in Gainsight

Gainsight creates a DCR OAuth connection for ChatGPT automatically after authentication. To verify the connection:

  1. Navigate to Administration > User Management and click the Authentication tab.

  2. Click OAuth Applications. The ChatGPT DCR connection appears in the list.    

    Gainsight User Management OAuth Applications page showing the dynamically registered ChatGPT application and its enabled status.

Note

When Gainsight creates a DCR connection, the following default settings apply:

  • PKCE (Proof Key for Code Exchange): Enabled by default and cannot be changed. PKCE is a security measure that protects the OAuth connection from unauthorized access.

  • Scope: Set to read-only by default. Admins can change the scope based on their requirements.

Use ChatGPT to Query Gainsight Data

After authentication, you can query Gainsight CS data directly from ChatGPT using natural language prompts. ChatGPT retrieves the data from Gainsight CS and returns the results in the chat.

ChatGPT conversation using the MCPDCR source to retrieve available company records and company data from Gainsight.

Note

The data and actions available to each user are governed by their existing Gainsight permissions.

Connect Gainsight CS MCP Server to GitHub Copilot

GitHub Copilot supports connections to external MCP servers through DCR. You can connect the Gainsight CS MCP server to GitHub Copilot without manually exchanging OAuth credentials. GitHub Copilot registers itself as an OAuth client automatically. You only need the Gainsight CS MCP server URL for your tenant.

After you set up the connection, you can query companies, CTAs, Success Plans, and Timeline activities directly from GitHub Copilot. You can use natural language prompts to interact with your Gainsight data.

Add the Gainsight CS MCP Server in GitHub Copilot

To add the Gainsight CS MCP server in GitHub Copilot:

  1. Open GitHub Copilot.

  2. Click the settings icon at the bottom left of the screen. The Settings dialog box appears.

  3. Select MCP servers from the left navigation panel. The MCP servers page appears.

  4. Click Add server. A dropdown list appears.

  5. Select Add custom server.

    MCP servers settings page showing no configured servers, with Add server and Add custom server options highlighted.

  6. In the Add server form, enter the following details:      

    • Server name: Enter a name for the MCP server. For example: TVDSMMCP

    • URL: Enter the Gainsight CS MCP server URL for your tenant. For example: https://[your-domain].gainsightcloud.com/v1/ds-mcp/mcp

    • Select HTTP as the connection type. MCP server Add server form showing the TVDSMMCP server name, HTTP server URL, timeout, and Add server button.

  7. Click Add server. The server appears in the Configured servers list with a Sign in button.

Authenticate with Your Gainsight Account

After the server is added, each user must authenticate with their Gainsight account before querying data.

To authenticate, follow these steps:

  1. On the MCP servers page, click Sign in next to the server you created. A new browser tab opens.
    MCP servers settings page showing the configured TVDSMCP HTTP server with the Sign in button highlighted.

  2. The Gainsight login page appears. Enter your Gainsight Username or email address and click Continue.

    Gainsight login screen prompting the user to enter an email address and select Continue for the Atlassian Integrations Client.

  3. Complete your login. The Authorize App consent screen appears.

  4. Review the permissions and click Accept.

    Gainsight authorization screen showing Atlassian Integrations Client requesting access to Elena Gilbert's account, with Accept highlighted.

  5. The Authorization Successful page appears. Close the browser tab and return to GitHub Copilot.

View the DCR Connection in Gainsight

Gainsight creates a DCR OAuth connection for GitHub Copilot automatically after authentication. To verify the connection:

  1. Navigate to Administration > User Management and click the Authentication tab.

  2. Click OAuth Applications. The GitHub Copilot DCR connection appears in the list.

Note

When Gainsight creates a DCR connection, the following default settings apply:

  • PKCE (Proof Key for Code Exchange): Enabled by default and cannot be changed. PKCE is a security measure that protects the OAuth connection from unauthorized access.

  • Scope: Set to read-only by default. Admins can change the scope based on their requirements.

To view or manage these settings, navigate to Administration > User Management > Authentication > OAuth Applications and select the DCR connection.

If an admin changes the scope after the connection is established, the change takes up to one hour to reflect for users.

Use GitHub Copilot to Query Gainsight Data

After authentication, you can query Gainsight CS data directly from GitHub Copilot using natural language prompts. GitHub Copilot retrieves the data from Gainsight CS and returns the results in the chat.

AI client conversation using TVDSMCP to retrieve and display the top five companies ranked by ARR from Gainsight.

Note

The data and actions available to each user are governed by their existing Gainsight permissions.

Additional Resources