Connect the GitHub MCP to the Vantage FinOps Agent to work with your GitHub issues, pull requests, and code, and to turn cost recommendations into actionable GitHub issues.
The GitHub MCP Connector links the Vantage FinOps Agent to GitHub. After an Organization Owner or Integration Owner enables the connector, each user connects their own GitHub account, and the Agent works within the repositories the Vantage GitHub App can access and your own GitHub permissions allow.The Agent can:
Work with GitHub: search and read issues, pull requests, code, and Actions/workflow runs, and create or update issues on your behalf.
Turn recommendations into issues: locate the Terraform resource behind a rightsizing recommendation and open a GitHub issue with the implementation context your engineers need. This uses the repositories you connect in Repository Settings.
The GitHub MCP Connector is one of several MCP Connectors for the FinOps Agent. It is available to all Vantage customers using the FinOps Agent, in the Vantage console, Slack, and Canvas.
The Agent acts only within your own GitHub permissions and the repositories the Vantage GitHub App can access. When you authorize GitHub, you can grant the app access to all of your repositories or only selected ones. If your organization also connects specific repositories in Repository Settings (used for the recommendation-to-issue workflow), the Agent treats those as its default focus and may concentrate on them for general questions unless you point it at another repository you can access.
The FinOps Agent enabled in Vantage. The GitHub MCP settings page prompts you to enable it first if it is not already on.
A Vantage role that can manage integrations, such as Organization Owner or Integration Owner, to enable the connector for your organization. See Role-Based Access Control for details.
A GitHub account for each Vantage user who wants to use the connector. Each user authorizes their own GitHub account.
The recommendation-to-issue workflow additionally requires a GitHub Organization Owner to install the Vantage GitHub App and connect at least one repository that contains Terraform.
The general GitHub MCP lets the FinOps Agent work with GitHub as you. After your organization enables the connector, each user connects their own GitHub account, and the Agent works within the repositories the Vantage GitHub App can access and your own GitHub permissions allow.
The general GitHub MCP uses a two-part connection model:
An Organization Owner or Integration Owner enables the GitHub MCP for your organization, from the MCP Settings tab on the Integrations page.
Each individual user authorizes their own GitHub account through OAuth, from the MCP Settings tab or when the Agent prompts them mid-conversation. During authorization, you can grant the Vantage GitHub App access to all of your repositories or only selected ones.
The Agent never does more than the connecting user could do directly in GitHub.Optionally, an Organization Owner or Integration Owner can connect specific repositories in the Repository Settings tab (see Turn recommendations into GitHub issues). Connecting repositories is required for that workflow, and it also sets those repositories as the Agent’s default focus, so when repositories are connected, the Agent concentrates on them for general questions unless you point it at another repository you can access.
User access tokens are short-lived (8 hours) and refreshed automatically. If a connection lapses or is revoked, the connector shows an authentication error and prompts you to reconnect.
The GitHub MCP settings page has up to three tabs:
MCP Settings: enable the connector for your organization (Organization Owners and Integration Owners), and connect, disconnect, or reconnect your own GitHub account.
Repository Settings: install the Vantage GitHub App and select repositories, and add repository descriptions. Required for the recommendation-to-issue workflow, and it sets the Agent’s default repository focus.
Organization Settings (Organization Owners and Integration Owners only): manage organization enablement and see the list of users who have connected.
Once the GitHub MCP is enabled for your organization, any Vantage role (down to Organization Viewer) can connect their own GitHub account. Enabling it also lets Organization Editors and Organization Viewers open Settings > Integrations, where they see only the MCP Connectors section. Until you connect your own account, GitHub appears as Not Connected, like the other connectors—or as Update Required if your organization has already connected repositories for the recommendation-to-issue workflow. See Role-Based Access Control for details.
An Organization Viewer's Integrations page. GitHub shows Update Required here because repositories are already connected for the recommendation-to-issue workflow; Linear and Notion show Not Connected.
The GitHub MCP is scoped so the Agent can read across your GitHub context but can only write issues. Once connected, the FinOps Agent can:
Read repositories and code, pull requests, and Actions/workflow runs in the repositories you can access.
Create and update issues on your behalf (the only write action).
The Agent does not commit code or open or merge pull requests through the MCP. To turn a recommendation into an actual code change, use the recommendation-to-issue workflow, which files an issue an engineer or GitHub Copilot can implement as a pull request.Access is limited to the repositories the Vantage GitHub App can reach, intersected with the connecting user’s own GitHub permissions:
Permission
Access
Why Vantage needs it
Repository contents
Read
Read code and repository context to answer questions.
Issues
Read and write
Create and update GitHub issues and avoid duplicating issue context.
Pull requests
Read
Read pull request context for questions and to attribute merged changes to realized savings.
Actions
Read
Read workflow run history to correlate deploys with cost changes.
Metadata
Read
Identify repositories and basic organization metadata.
Vantage uses short-lived tokens when it needs to read repository context or create an issue. Vantage does not persist your source code, and data retrieved through the connector is not used to train any models.
The Agent only creates or updates an issue when you explicitly ask it to, and it searches for an existing issue before opening a new one. All writes are bounded by your own GitHub permissions. In Canvas, the GitHub MCP is read-only, so issue creation is not available there. If a write returns an authorization or scope error, the Agent surfaces it and points you back to the GitHub MCP settings page to reconnect rather than retrying.
Enable the GitHub MCP for your organization (Owners and Integration Owners)
As an Organization Owner or Integration Owner, click Settings in the top navigation. On the left navigation, select Integrations, then find the MCP Connectors section and select GitHub MCP. In the MCP Settings tab, enable the connector for your organization.
If the page shows a banner asking you to enable the FinOps Agent, open the FinOps Agent settings page and enable it first, then return to the GitHub MCP page.
2
Connect your GitHub account (every user)
On the GitHub MCP page, in the MCP Settings tab, click Connect GitHub. Vantage redirects you to GitHub to complete the OAuth flow. Every user who wants to use the connector completes this step for their own account. During authorization, you can grant the Vantage GitHub App access to all of your repositories or only selected ones.
3
Authorize Vantage in GitHub
Sign in to GitHub and authorize access. After you approve, GitHub redirects you back to Vantage and your connection status changes to connected.
4
Confirm the connection
Back in Vantage, confirm the GitHub MCP shows as connected. You can now ask the FinOps Agent GitHub-aware questions in the console or in Slack.
You can also connect GitHub directly from an Agent conversation. When you ask the Agent to do something that needs GitHub and you have not connected yet, it prompts you to authorize your account inline.
5
(Optional) Connect repositories for the recommendation-to-issue workflow
To use the recommendation-to-issue workflow—or to set a default set of repositories the Agent focuses on—an Organization Owner or Integration Owner opens the Repository Settings tab and connects repositories. See Set Up Repository Access for the full steps.
Connecting a personal GitHub account from the MCP Settings tab, with the Repository Settings and Organization Settings tabs also shown.
Once the GitHub MCP is connected, the FinOps Agent decides when to reach for GitHub tools based on the question you ask. It can call GitHub tools in the same turn it uses Vantage tools.
For prompting best practices and more copy-paste examples, see the FinOps AI Prompt Guide.
Is there an open issue or pull request related to our EKS cluster that might explain this week's cost spike?
Create a GitHub issue in our infrastructure repo summarizing this rightsizing recommendation, including the current and recommended instance type and estimated monthly savings.
Which repository defines the instance type for this resource, and what is the current value in the code?
The Agent can also read closed issues and pull requests, which is useful for tying engineering throughput back to cost. This pairs well with Canvas for a persistent view.
Over the last 3 months, compare our Cursor spend to the number of pull requests merged in our main app repo, and show a per-PR cost.
Did any deploys or merged pull requests line up with this week's cost spike on our EKS cluster?
Additional Capability: Turn Recommendations into GitHub Issues
As an additional capability on top of the general connector, the FinOps Agent can locate the Terraform resource behind an AWS rightsizing recommendation and open a GitHub issue with the recommendation summary, resource location, code context, estimated savings, and change instructions. This workflow uses the repositories you connect in Repository Settings.
Make sure at least one connected repository contains Terraform infrastructure code. If your Terraform is split across repositories, connect every repository that may contain the resources you want to action.
From Settings > Integrations > MCP Connectors > GitHub MCP, open the Repository Settings tab and start the GitHub App installation.
2
Install the app in the right organization
In GitHub, choose the organization that owns the repositories you want the Agent to use. The person completing this step should be a GitHub Organization Owner. If a non-owner starts the flow, GitHub may create an installation request instead of completing the connection. In that case, have an organization owner repeat the connection.
Grant access only to the repositories that contain Terraform code the Agent should inspect.
3
Select repositories and add descriptions
Select every repository the Agent should consider. At least one repository must be selected. Add a short description for each repository to help the Agent choose the right one when several are available.
After repositories are connected, the connector may display a Generated Summary for each repository. Vantage creates this summary from repository metadata, README content, file paths, and your description to help the Agent understand what infrastructure the repository manages. The summary may take a few minutes to appear after saving.
Production infrastructure
Shared platform
Data platform
Environment-specific
Production AWS infrastructure for customer-facing services, including ECS services, RDS databases, load balancers, and autoscaling configuration.
Shared platform Terraform for networking, IAM, observability, DNS, and organization-wide AWS account baselines.
Data platform Terraform for Redshift, EMR, Glue, S3 data lakes, and analytics workloads.
Staging environment Terraform for the commerce application. Mirrors production service names, but uses smaller instance types and reduced capacity.
If you are unsure what to write, include the cloud provider, environment, major services, and ownership boundary. Avoid vague descriptions like “Terraform repo” or “infrastructure” because they do not help the Agent distinguish between repositories.
4
Save the configuration
Click Save Changes. Once saved, the Agent can use the selected repositories when you ask it to open an issue for a recommendation.
The example below shows the full handoff from a FinOps Agent conversation to a GitHub issue, then to an optional GitHub Copilot pull request. In this flow, the Agent starts with a rightsizing recommendation, narrows it to a connected repository, asks you to confirm the resource it found, and creates an issue with the implementation context. The workflow is available in both the console and Slack; the screenshots below show it in Slack.
1
The Agent identifies a recommendation
The Agent surfaces rightsizing recommendations and offers to create a GitHub issue because repository access is configured.
The Agent presents recommendations and suggests GitHub issue creation.
2
You ask the Agent to create an issue
After you ask the Agent to create an issue, it narrows the search to the connected repositories and looks for the Terraform resource it believes should be changed.
The Agent starts locating the relevant Terraform resource in the connected repository.
3
The Agent asks for confirmation
The Agent shows the evidence it used, including the repository, file, resource, current value, recommended value, and estimated savings. You confirm before the issue is created.
The Agent asks you to confirm the matched resource before creating the issue.
4
Vantage creates the GitHub issue
The resulting GitHub issue includes the recommendation summary, resource location, relevant code snippets, estimated savings, change instructions, and rollout notes.
The GitHub issue gives engineers enough context to review and implement the recommendation.
5
Copilot can open a pull request
If your team assigns GitHub Copilot to the issue, Copilot can use the issue context to open a pull request for review. In this example, the pull request changes a Terraform instance type default and includes rollout notes for the infrastructure team.
When assigned in GitHub, Copilot can use the Vantage-created issue to open a pull request.
The Agent writes the issue so an engineer or coding agent can start with context instead of rediscovering the recommendation manually. The issue may include:
Resource location
Repository name, file path, resource address, and relevant code context when available.
Recommended change
The current value, recommended value, and implementation guidance for the update.
Savings context
Estimated monthly savings and the Vantage recommendation that motivated the issue.
Review guidance
Notes to help your team validate the change, assign ownership, or hand the issue to GitHub Copilot.
Select the repositories that most clearly map to your initial recommendations. You can add more repositories later from Settings > Integrations > MCP Connectors > GitHub MCP > Repository Settings.
Add descriptions before testing issue creation
Descriptions are one of the strongest signals the Agent can use when it needs to choose between multiple infrastructure repositories.
Confirm the matched resource carefully
Review the Agent’s proposed repository, file, resource, and change before confirming issue creation.
Use GitHub labels and assignment workflows
After Vantage creates the issue, use your normal GitHub process for labels, project boards, owners, code review, and Copilot assignment.
An Organization Owner or Integration Owner must enable the GitHub MCP for your organization before individual users can authorize their accounts. If you do not see the option to connect, ask an administrator to enable it from the Integrations page.
The connection shows an authentication error
User access tokens are short-lived and refreshed automatically, but a grant can still expire or be revoked in GitHub. Reconnect your GitHub account from the GitHub MCP page to re-authorize.
GitHub did not complete the app installation
For the recommendation-to-issue workflow, a GitHub Organization Owner should install the app. If a non-owner starts the flow, GitHub may create an installation request instead of completing the connection.
No repositories are selected for the recommendations workflow
The recommendation-to-issue workflow requires at least one selected repository. If the repository you need is missing, update the GitHub App installation in GitHub to grant access to that repository, then return to Vantage and select it in Repository Settings.
The Agent cannot find the Terraform resource
Confirm that the selected repositories contain the relevant Terraform code and that the repository descriptions are specific. If your Terraform is split across repositories, add every likely repository.
Do I need to connect repositories to use the GitHub MCP?
Not for general GitHub questions. After you connect your GitHub account, the Agent works within the repositories the Vantage GitHub App can access and your own GitHub permissions allow (during authorization you can grant access to all or only selected repositories). Connecting specific repositories in Repository Settings is required for the recommendation-to-issue workflow, and it also sets those repositories as the Agent’s default focus—so when repositories are connected, the Agent concentrates on them for general questions unless you point it at another repository you can access.
Does Vantage create pull requests automatically?
No. At this time, Vantage creates GitHub issues only. Your team can assign the issue to an engineer or to GitHub Copilot in GitHub.
Does Vantage automatically open issues for every recommendation?
No. Issue creation is user-triggered through the FinOps Agent workflow, and the Agent asks for confirmation before creating the issue.
Is this the same as the GitHub cost integration?
No. The GitHub MCP Connector is separate from the GitHub cost integration, which ingests GitHub cost and usage data into Vantage.
Does Vantage store source code?
No. Vantage uses short-lived tokens to read repository context when needed. For the recommendations workflow, Vantage stores selected repository metadata, descriptions, and generated summaries, but does not persist your source code.
What recommendations are supported for issue creation?
At this time, the Agent focuses on AWS rightsizing recommendations that can be mapped to Terraform-backed changes. Vantage may expand support over time.
Assistant
Responses are generated using AI and may contain mistakes.