What ChatGPT can do with GitHub
Ask your agent in plain language. Each of these maps to a real tool on the server.
- Ask ChatGPT to use the list branches tool in GitHub
- Ask ChatGPT to use the manage gist tool in GitHub
- Ask ChatGPT to use the manage file content tool in GitHub
- Ask ChatGPT to use the comment on issue tool in GitHub
- Ask ChatGPT to use the get user tool in GitHub
Add the GitHub MCP server to ChatGPT
Run these once. Afterwards, everyone you give access to signs in the same way.
1. Enable GitHub in Metorial
In your Metorial portal, enable the GitHub MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
2. Add a custom MCP server
On ChatGPT web, open Plugins, select +, then Add custom MCP server.
3. Paste your Metorial MCP URL
Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>), choose OAuth and accept the risk notice.
4. Create and install the plugin
Select Create as a plugin, install it and sign in to load GitHub tools.
Give your team GitHub in ChatGPT
Once GitHub is enabled in Metorial, teammates sign in with SSO and get the same connection in ChatGPT, with only the tools their role allows.
One link covers every app you approve. See how the MCP gateway handles access, roles and audit logs for the whole company.
GitHub tools available in ChatGPT
Full descriptions and inputs are on the GitHub MCP server page.
- Manage Issue: Create or update a GitHub issue, including issue type, lifecycle state, duplicate closure, and organization-defined issue fields.
- Create Release: Create a new release for a GitHub repository with a tag, name, release notes, and draft/pre-release options.
- List Commits: List commits on a repository branch with filtering by SHA, path, author, or date range.
- List Repositories: List repositories for the authenticated user or a specific organization.
- Review Pull Request: Create, submit, or delete pull request reviews; resolve or unresolve review threads; add line or file comments to a pending review; and reply or react to review comments.
- List Branches: List branches in a GitHub repository, optionally filtered to protected or unprotected branches.
- Manage Gist: Create, read, update, or delete GitHub Gists (code snippets).
- Manage File Content: Read, create, update, or delete a file in a GitHub repository.
- Comment on Issue: Add a comment and/or reaction to a GitHub issue or pull request.
- Get User: Retrieve a GitHub user's profile.
- List Pull Requests: List pull requests in a GitHub repository with filtering by state, head/base branch, and sorting options.
- Search GitHub: Search across GitHub for repositories, code, issues/pull requests, users, or organizations using GitHub's search syntax.
- Merge Pull Request: Merge a pull request using the specified merge method (merge commit, squash, or rebase).
- Get Repository: Retrieve detailed information about a GitHub repository including its settings, statistics, and metadata.
- Manage Labels: List, create, update, rename, or delete labels in a GitHub repository.
- And 59 more on the GitHub MCP server page.
Using GitHub tools in ChatGPT
What to expect once GitHub is connected.
- Type @ and pick the plugin. The selection applies to that message only, so @mention it again when a follow-up needs fresh GitHub data.
- For write actions, ChatGPT may ask you to confirm first, depending on the app permissions and the action.
- Once published for a workspace, ChatGPT keeps a snapshot of the tool list. When your team adds GitHub tools in Metorial, an admin refreshes the actions in Workspace settings before they appear.
- You can use several apps in one prompt, for example read GitHub data and then create a ticket in another app.
Troubleshooting ChatGPT
- Add custom MCP server is missing
- Workspace policy controls it. On Enterprise and Edu, an admin grants the permission to create plugins with MCPs; ask them to enable it for you.
- The plugin exists but no tools appear
- Creating the plugin is not enough: install it from your plugins, then start a new conversation so ChatGPT loads its tools.
- ChatGPT answers without using the tools
- Pick the plugin with @ in the composer and name the action you want, for example "use Metorial to look up the latest ticket".
Based on the ChatGPT MCP documentation.
Frequently asked questions
Common questions about connecting GitHub to AI agents with Metorial.
Does ChatGPT support the GitHub MCP server?
Yes. ChatGPT connects to the GitHub MCP server through its connector settings, pointed at your Metorial URL. You need a ChatGPT plan or workspace that allows custom MCP servers.Do I need an API key to connect GitHub to ChatGPT?
No. You sign in to GitHub once through Metorial, and ChatGPT uses that connection. No API keys go into ChatGPT's settings.Which GitHub tools can ChatGPT use?
All 74 GitHub tools your team allows, such as Manage Issue, Create Release, List Commits. Admins can narrow that list per team.Can I control which teammates use GitHub in ChatGPT?
Yes. Role-based access control decides who can use GitHub and which of its tools appear in ChatGPT, and every call is logged with the person's identity.What if ChatGPT doesn't show GitHub tools?
Workspace policy controls it. On Enterprise and Edu, an admin grants the permission to create plugins with MCPs; ask them to enable it for you.
Linear