GitHub Integration

GitHub MCP

Manage repositories, issues, and pull requests directly from Ask Sage.

Table of Contents
  1. Prerequisites
  2. Connecting Your GitHub Account
  3. Activating and Using the GitHub Tool
  4. Making a Request
  5. Available Functions
  6. Support

Prerequisites

What you need before you start

  • Account type: Enterprise account with a minimum of 10M monthly tokens, or a dedicated Ask Sage tenant/instance.
  • Activation: Contact your administrator to request hosted MCP access through Ask Sage support at support@asksage.ai.

After we work with you or your administrator to enable the integration, you'll receive confirmation and users can follow the setup steps below.


Connecting Your GitHub Account

Link GitHub to your Ask Sage profile

The first step is to connect your GitHub account to your Ask Sage profile.

  1. Navigate to Account Settings: Click your user profile icon (typically in the bottom-left corner) and select Account.
  2. Initiate GitHub Sign-In: Scroll to the bottom of the Account settings panel to find the sign-in options. Click Sign in with GitHub.
  3. Authorize: A GitHub authorization window opens. Sign in with your GitHub credentials and click the green Authorize Ask Sage GitHub MCP button to grant the necessary permissions.
  4. Verify the connection: After authorizing, the Ask Sage page refreshes automatically. Return to Account settings — the button will now read Logout from GitHub, confirming you're connected.

Activating and Using the GitHub Tool

Enable the tool in chat and pick a compatible model

Once your account is connected, enable the tool in the chat interface to start using it.

  1. Access the Tools menu: In the main chat window, click the settings icon (often shown as sliders) above the text input field to open the configuration panel.
  2. Enable the GitHub tool: Under the Tools section, find GitHub and click its toggle. The switch turns blue when active.
Enabling the GitHub tool in Ask Sage

Tool Configuration

  1. Select a compatible model: Use a model that supports tool integration (MCP). Filter for these by selecting the MCP tag on the model selection screen. Models like GPT-Auto are designed to use these tools automatically.
MCP-enabled model selection in Ask Sage

Model Selection with MCP Filter


Making a Request

Ask in natural language, approve the tool call

You can now ask questions or give commands related to your GitHub data.

  1. Make a request: Type a natural-language command into the chat. For example:
    • "List my repositories."
    • "Create an issue in the 'frontend' repo titled 'Fix login button bug'."
    • "Summarize the latest pull request in the 'backend' project."
  2. Approve tool usage: For security, Ask Sage prompts you before accessing your data. A Tool Call Approval card appears showing the specific action. Review and click Approve.
Tool Call Approval card for a GitHub action

Tool Call Approval

Once approved, Ask Sage executes the task and returns the requested information or confirms the action completed.

Tool Call Execution card for a GitHub action

Tool Execution Result


Available Functions

A sample of what the GitHub tool can do

The following table shows a summary of some of the available functions in the GitHub tool:

Function Description
list_repositoriesRetrieve a list of repositories accessible to the authenticated user.
create_issueCreate a new issue in a repository to track bugs, feature requests, or tasks.
list_pull_requestsRetrieve a filtered and sorted list of pull requests from a repository.
create_pull_requestCreate a new pull request to propose changes from one branch to another.
get_file_contentRetrieve the complete content and metadata of a specific file from a repository.
create_branchCreate a new branch in a repository from an existing branch or specific commit.

Support

Stuck on connection or tool use?

Need help? If you encounter any issues connecting your account or using the tool, reach out to us at support@asksage.ai.

Back to top

Copyright © 2026 Ask Sage Inc. All Rights Reserved. Ask Sage is a BigBear.ai company.