--- title: "Connect Skilljar to Google Gemini [BETA]" slug: "connect-skilljar-to-google-gemini-beta" updated: 2026-11-23T12:33:07Z published: 2026-11-23T12:33:07Z canonical: "support.gainsight.com/connect-skilljar-to-google-gemini-beta" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.gainsight.com/llms.txt > Use this file to discover all available pages before exploring further. # Connect Skilljar to Google Gemini [BETA] ## Overview This article explains how to connect Gemini CLI to Skilljar through the Skilljar Model Context Protocol (MCP) server. After you connect, Gemini CLI can perform permitted Skilljar tasks from natural-language prompts. The Skilljar MCP server uses OAuth 2.1. You sign in with your Skilljar Dashboard account and approve access. You do not need to create, copy, or store an API credential. ## **Prerequistes** Gemini CLI should be installed on your system. For the installation process, refer to the [*Run Gemini CLI*](https://geminicli.com/docs/) article. ## Supported Use Cases The actions available in Gemini CLI depend on your Skilljar Dashboard permissions. You can use the Skilljar MCP server to: - Find and manage students. - Enroll students in courses. - Create and organize groups. - Create courses and HTML lessons. - Update lesson content, titles, and order. - Translate course content into other languages. Two people from the same organization can have different capabilities because each connection uses the permissions of the Skilljar user who authorized it. ## Supported Gemini Experiences | **Gemini Experience** | **Support** | | --- | --- | | Gemini CLI | Supported. Add Skilljar as an HTTP MCP server and complete the OAuth sign-in process in your browser. | | Gemini Enterprise | Supported as a preview feature. An administrator configures the Skilljar MCP server for the organization, and users authorize their individual Skilljar accounts. | | Standard Gemini app | Custom MCP connectors are not available in standard Gemini chats. Eligible Gemini Spark users can add custom MCP apps for use in Spark tasks only. | ## Connect Skilljar to Gemini Enterprise Gemini Enterprise allows administrators to add custom MCP servers as data stores. Gemini Enterprise refers to MCP tools as actions. > [!WARNING] > Important > > Gemini Enterprise currently requires explicit OAuth configuration, including authorization details and an OAuth client registration. Confirm the required Skilljar OAuth values with Skilljar Support before you configure this connection. The setup Skilljar MCP server connection to Google Gemini Enterprise, follow the steps below: 1. Add the Skilljar MCP Server 2. Enable Skilljar Actions 3. Authorize Your Skilljar Account ### Prerequisites The following are required: - A Gemini Enterprise subscription. - Access to the Google Cloud project that hosts the Gemini Enterprise application. - The Discovery Engine Editor role. - Permission to create custom MCP server data stores. - The OAuth configuration values required for the Skilljar MCP server. - A Skilljar Dashboard account for each user who connects. Your Google Cloud organization administrator might also need to allow custom MCP data stores and add the Skilljar authentication domains to the permitted egress domains. ### Add the Skilljar MCP Server An administrator completes this procedure once for the organization. To Skilljar MCP in Gemini CLI: 1. Open the **Google Cloud console**. 2. Navigate to **Gemini Enterprise**. 3. Select **Data stores**. 4. Select **Create data store**. 5. Search for **Custom MCP Server**. 6. Select **Add MCP server**. 7. Select **OAuth 2.0** in the **Authentication settings** section. 8. Enter the following value in the **MCP Server URL** field: ```plaintext https://mcp.skilljar.com/mcp ``` 9. Enter the required Skilljar authorization URL, token URL, OAuth client information, and scopes. 10. Turn on **PKCE Support** when required for the Skilljar OAuth configuration. 11. Select **Verify Auth**. 12. Enter a description that explains when Gemini Enterprise should use Skilljar. 13. Select the required multi-region. 14. Enter a name for the data store. 15. Select **Create**. Gemini Enterprise creates the Skilljar data store. Wait until its status changes to **Active**. ### Enable MCP Actions Gemini Enterprise turns off all imported MCP actions by default. To enable MCP: 1. Open the Skilljar custom MCP data store. 2. Select **Actions**. 3. Select **Reload custom actions** when Gemini Enterprise requests authentication. 4. Review the imported Skilljar actions. 5. Select the actions that users need. 6. Select **Enable actions**. > [!WARNING] > Important > > Enable only the required actions. Retain user confirmation for actions that modify or delete Skilljar data. ### Authorize Your Skilljar Account Each user authorizes their own Skilljar connection. To Authorize Account: 1. Open the Gemini Enterprise application that contains the Skilljar data store. 2. Start a request that requires a Skilljar action. 3. Select **Sign in** when Gemini Enterprise requests authorization. 4. Sign in with your Skilljar Dashboard account. 5. Review the requested access. 6. Select **Approve**. The available actions reflect your individual Skilljar Dashboard permissions. Two users from the same organization can have different Skilljar capabilities. ## Connect the Skilljar MCP to Gemini CLI To connect Gemini CLI to Skilljar: 1. Open Terminal on your Mac. 2. Run the following command: ```plaintext gemini mcp add --transport http --scope user skilljar https://mcp.skilljar.com/mcp ``` **Note**: The`user` scope makes the connection available across your Gemini CLI projects. Use the `project` scope when you want to limit the connection to the current project. 3. Start Gemini CLI: ```plaintext gemini ``` 4. Enter the following command: ```plaintext /mcp ``` **Note:** Gemini CLI detects that the Skilljar server requires OAuth authentication and opens Skilljar in your browser. Gemini CLI supports automatic OAuth discovery and token management for remote MCP servers. 5. Sign in with your Skilljar Dashboard account. 6. Review the requested access. 7. Select **Approve**. 8. Return to Gemini CLI. If the browser does not open automatically, run /mcp auth skilljar in Gemini CLI. ## Configure the Connection Manually You can configure the server`~/.gemini/settings.json`instead of using the command line. ```plaintext {  "mcpServers": {    "skilljar": {      "httpUrl": "https://mcp.skilljar.com/mcp"    }  } } ``` Do not add API credentials or authorization headers. Gemini CLI discovers the Skilljar OAuth endpoints and starts the sign-in flow automatically. ## Verify the Connection 1. Run the following in Terminal ```plaintext /mcp ``` 2. Confirm that **skilljar** has a connected status. 3. Confirm that the available Skilljar tools appear. 4. Enter a low-risk read request, such as: ```plaintext List the first five students in my Skilljar organization. ``` 5. Approve the tool call when Gemini CLI requests confirmation. 6. Compare the result with the Skilljar Dashboard. For more prompts, refer to the [*Prompts Library*](https://www.gainsight.com/mcp/library/?_mcp-type=prompt&_products=skilljar). ## Disconnect Skilljar To remove the server from Gemini CLI, run: ```plaintext gemini mcp remove skilljar --scope user ``` You can also remove the `skilljar` entry from your Gemini CLI settings file. Removing the server prevents Gemini CLI from using the connection. A dashboard admin can also revoke the authorization from **Settings > API Credentials > Connections** in the Skilljar Dashboard. ## Additional Resources - [*Gemini CLI documentation*](https://geminicli.com/docs/get-started/installation/) - [*Skilljar Prompts Library*](https://www.gainsight.com/mcp/library/?_mcp-type=prompt&_products=skilljar)