A comprehensive GitHub integration that exposes the full spectrum of GitHub's API surface to AI assistants. You get repository browsing, issue and PR management, workflow monitoring, code analysis, and team collaboration features, all callable through natural language. This is a fork of GitHub's official MCP server with practical additions: local git operations (commit, push, branch, diff), comment editing and deletion for both issues and PRs, and configurable body filtering to strip AI footers from commits. The local git toolset is notable because it lets you operate on repositories without hitting the API at all. Reach for this when you need an AI assistant to handle end-to-end GitHub workflows, from cloning and committing locally to managing releases and analyzing CI failures remotely.
Public tool metadata for what this MCP can expose to an agent.
actions_getGet details about specific GitHub Actions resources. Use this tool to get details about individual workflows, workflow runs, jobs, and artifacts by their unique IDs.4 paramsGet details about specific GitHub Actions resources. Use this tool to get details about individual workflows, workflow runs, jobs, and artifacts by their unique IDs.
repostringownerstringmethodstringget_workflow · get_workflow_run · get_workflow_job · download_workflow_run_artifact · get_workflow_run_usage · get_workflow_run_logs_urlresource_idstringactions_listTools for listing GitHub Actions resources. Use this tool to list workflows in a repository, or list workflow runs, jobs, and artifacts for a specific workflow or workflow run.8 paramsTools for listing GitHub Actions resources. Use this tool to list workflows in a repository, or list workflow runs, jobs, and artifacts for a specific workflow or workflow run.
pagenumberrepostringownerstringmethodstringlist_workflows · list_workflow_runs · list_workflow_jobs · list_workflow_run_artifactsper_pagenumberresource_idstringworkflow_jobs_filterobjectworkflow_runs_filterobjectactions_run_triggerTrigger GitHub Actions workflow operations, including running, re-running, cancelling workflow runs, and deleting workflow run logs.7 paramsTrigger GitHub Actions workflow operations, including running, re-running, cancelling workflow runs, and deleting workflow run logs.
refstringrepostringownerstringinputsobjectmethodstringrun_workflow · rerun_workflow_run · rerun_failed_jobs · cancel_workflow_run · delete_workflow_run_logsrun_idnumberworkflow_idstringadd_comment_to_pending_reviewAdd review comment to the requester's latest pending pull request review. A pending review needs to already exist to call this (check with the user if not sure).10 paramsAdd review comment to the requester's latest pending pull request review. A pending review needs to already exist to call this (check with the user if not sure).
bodystringlinenumberpathstringrepostringsidestringLEFT · RIGHTownerstringstartLinenumberstartSidestringLEFT · RIGHTpullNumbernumbersubjectTypestringFILE · LINEadd_issue_commentAdd a comment to a specific issue in a GitHub repository. Use this tool to add comments to pull requests as well (in this case pass pull request number as issue_number), but only if user is not asking specifically to add review comments.4 paramsAdd a comment to a specific issue in a GitHub repository. Use this tool to add comments to pull requests as well (in this case pass pull request number as issue_number), but only if user is not asking specifically to add review comments.
bodystringrepostringownerstringissue_numbernumberadd_reply_to_pull_request_commentAdd a reply to an existing pull request comment. This creates a new comment that is linked as a reply to the specified comment.5 paramsAdd a reply to an existing pull request comment. This creates a new comment that is linked as a reply to the specified comment.
bodystringrepostringownerstringcommentIdnumberpullNumbernumberassign_copilot_to_issueAssign Copilot to a specific issue in a GitHub repository. This tool can help with the following outcomes: - a Pull Request created with source code changes to resolve the issue More information can be found at: - https://docs.github.com/en/copilot/using-github-copilot/using-c...5 paramsAssign Copilot to a specific issue in a GitHub repository. This tool can help with the following outcomes: - a Pull Request created with source code changes to resolve the issue More information can be found at: - https://docs.github.com/en/copilot/using-github-copilot/using-c...
repostringownerstringbase_refstringissue_numbernumbercustom_instructionsstringcreate_branchCreate a new branch in a GitHub repository4 paramsCreate a new branch in a GitHub repository
repostringownerstringbranchstringfrom_branchstringcreate_gistCreate a new gist4 paramsCreate a new gist
publicbooleancontentstringfilenamestringdescriptionstringcreate_or_update_fileCreate or update a single file in a GitHub repository. If updating, you should provide the SHA of the file you want to update. Use this tool to create or update a file in a GitHub repository remotely; do not use it for local file operations. In order to obtain the SHA of origi...7 paramsCreate or update a single file in a GitHub repository. If updating, you should provide the SHA of the file you want to update. Use this tool to create or update a file in a GitHub repository remotely; do not use it for local file operations. In order to obtain the SHA of origi...
shastringpathstringrepostringownerstringbranchstringcontentstringmessagestringcreate_pull_requestCreate a new pull request in a GitHub repository.8 paramsCreate a new pull request in a GitHub repository.
basestringbodystringheadstringrepostringdraftbooleanownerstringtitlestringmaintainer_can_modifybooleancreate_pull_request_with_copilotDelegate a task to GitHub Copilot coding agent to perform in the background. The agent will create a pull request with the implementation. You should use this tool if the user asks to create a pull request to perform a specific task, or if the user asks Copilot to do something.5 paramsDelegate a task to GitHub Copilot coding agent to perform in the background. The agent will create a pull request with the implementation. You should use this tool if the user asks to create a pull request to perform a specific task, or if the user asks Copilot to do something.
repostringownerstringtitlestringbase_refstringproblem_statementstringcreate_repositoryCreate a new GitHub repository in your account or specified organization5 paramsCreate a new GitHub repository in your account or specified organization
namestringprivatebooleanautoInitbooleandescriptionstringorganizationstringdelete_fileDelete a file from a GitHub repository5 paramsDelete a file from a GitHub repository
pathstringrepostringownerstringbranchstringmessagestringdismiss_notificationDismiss a notification by marking it as read or done2 paramsDismiss a notification by marking it as read or done
statestringread · donethreadIDstringfork_repositoryFork a GitHub repository to your account or specified organization3 paramsFork a GitHub repository to your account or specified organization
repostringownerstringorganizationstringget_code_scanning_alertGet details of a specific code scanning alert in a GitHub repository.3 paramsGet details of a specific code scanning alert in a GitHub repository.
repostringownerstringalertNumbernumberget_commitGet details for a commit from a GitHub repository6 paramsGet details for a commit from a GitHub repository
shastringpagenumberrepostringownerstringperPagenumberinclude_diffbooleanget_copilot_job_statusGet the status of a GitHub Copilot coding agent job. Use this to check if a previously submitted task has completed and to get the pull request URL once it's created. Provide the job ID (from create_pull_request_with_copilot) or pull request number (from assign_copilot_to_issu...3 paramsGet the status of a GitHub Copilot coding agent job. Use this to check if a previously submitted task has completed and to get the pull request URL once it's created. Provide the job ID (from create_pull_request_with_copilot) or pull request number (from assign_copilot_to_issu...
idstringrepostringownerstringget_copilot_spaceThis tool can be used to provide additional context to the chat from a specific Copilot space. If the user mentions the keyword 'Copilot space' with the name and owner of the space, execute this tool. The response includes a table of contents (TOC) listing all documents in the...2 paramsThis tool can be used to provide additional context to the chat from a specific Copilot space. If the user mentions the keyword 'Copilot space' with the name and owner of the space, execute this tool. The response includes a table of contents (TOC) listing all documents in the...
namestringownerstringget_dependabot_alertGet details of a specific dependabot alert in a GitHub repository.3 paramsGet details of a specific dependabot alert in a GitHub repository.
repostringownerstringalertNumbernumberget_discussionGet a specific discussion by ID3 paramsGet a specific discussion by ID
repostringownerstringdiscussionNumbernumberget_discussion_commentsGet comments from a discussion5 paramsGet comments from a discussion
repostringafterstringownerstringperPagenumberdiscussionNumbernumberget_file_contentsGet the contents of a file or directory from a GitHub repository5 paramsGet the contents of a file or directory from a GitHub repository
refstringshastringpathstringrepostringownerstringget_gistGet gist content of a particular gist, by gist ID1 paramsGet gist content of a particular gist, by gist ID
gist_idstringget_global_security_advisoryGet a global security advisory1 paramsGet a global security advisory
ghsaIdstringget_job_logsGet logs for GitHub Actions workflow jobs. Use this tool to retrieve logs for a specific job or all failed jobs in a workflow run. For single job logs, provide job_id. For all failed jobs in a run, provide run_id with failed_only=true.7 paramsGet logs for GitHub Actions workflow jobs. Use this tool to retrieve logs for a specific job or all failed jobs in a workflow run. For single job logs, provide job_id. For all failed jobs in a run, provide run_id with failed_only=true.
repostringownerstringjob_idnumberrun_idnumbertail_linesnumberfailed_onlybooleanreturn_contentbooleanget_labelGet a specific label from a repository.3 paramsGet a specific label from a repository.
namestringrepostringownerstringget_latest_releaseGet the latest release in a GitHub repository2 paramsGet the latest release in a GitHub repository
repostringownerstringget_meGet details of the authenticated GitHub user. Use this when a request is about the user's own profile for GitHub. Or when information is missing to build other tool calls.Get details of the authenticated GitHub user. Use this when a request is about the user's own profile for GitHub. Or when information is missing to build other tool calls.
No parameter schema in public metadata yet.
get_notification_detailsGet detailed information for a specific GitHub notification, always call this tool when the user asks for details about a specific notification, if you don't know the ID list notifications first.1 paramsGet detailed information for a specific GitHub notification, always call this tool when the user asks for details about a specific notification, if you don't know the ID list notifications first.
notificationIDstringget_release_by_tagGet a specific release by its tag name in a GitHub repository3 paramsGet a specific release by its tag name in a GitHub repository
tagstringrepostringownerstringget_repository_treeGet the tree structure (files and directories) of a GitHub repository at a specific ref or SHA5 paramsGet the tree structure (files and directories) of a GitHub repository at a specific ref or SHA
repostringownerstringtree_shastringrecursivebooleanpath_filterstringget_secret_scanning_alertGet details of a specific secret scanning alert in a GitHub repository.3 paramsGet details of a specific secret scanning alert in a GitHub repository.
repostringownerstringalertNumbernumberget_tagGet details about a specific git tag in a GitHub repository3 paramsGet details about a specific git tag in a GitHub repository
tagstringrepostringownerstringget_team_membersGet member usernames of a specific team in an organization. Limited to organizations accessible with current credentials2 paramsGet member usernames of a specific team in an organization. Limited to organizations accessible with current credentials
orgstringteam_slugstringget_teamsGet details of the teams the user is a member of. Limited to organizations accessible with current credentials1 paramsGet details of the teams the user is a member of. Limited to organizations accessible with current credentials
userstringgithub_support_docs_searchRetrieve documentation relevant to answer GitHub product and support questions. Support topics include: GitHub Actions Workflows, Authentication, GitHub Support Inquiries, Pull Request Practices, Repository Maintenance, GitHub Pages, GitHub Packages, GitHub Discussions, Copilo...1 paramsRetrieve documentation relevant to answer GitHub product and support questions. Support topics include: GitHub Actions Workflows, Authentication, GitHub Support Inquiries, Pull Request Practices, Repository Maintenance, GitHub Pages, GitHub Packages, GitHub Discussions, Copilo...
querystringissue_readGet information about a specific issue in a GitHub repository.6 paramsGet information about a specific issue in a GitHub repository.
pagenumberrepostringownerstringmethodstringget · get_comments · get_sub_issues · get_labelsperPagenumberissue_numbernumberissue_writeCreate a new or update an existing issue in a GitHub repository.13 paramsCreate a new or update an existing issue in a GitHub repository.
bodystringrepostringtypestringownerstringstatestringopen · closedtitlestringlabelsarraymethodstringcreate · updateassigneesarraymilestonenumberduplicate_ofnumberissue_numbernumberstate_reasonstringcompleted · not_planned · duplicatelabel_writePerform write operations on repository labels. To set labels on issues, use the 'update_issue' tool.7 paramsPerform write operations on repository labels. To set labels on issues, use the 'update_issue' tool.
namestringrepostringcolorstringownerstringmethodstringcreate · update · deletenew_namestringdescriptionstringlist_branchesList branches in a GitHub repository4 paramsList branches in a GitHub repository
pagenumberrepostringownerstringperPagenumberlist_code_scanning_alertsList code scanning alerts in a GitHub repository.6 paramsList code scanning alerts in a GitHub repository.
refstringrepostringownerstringstatestringopen · closed · dismissed · fixeddefault: openseveritystringcritical · high · medium · low · warning · notetool_namestringlist_commitsGet list of commits of a branch in a GitHub repository. Returns at least 30 results per page by default, but can return more if specified using the perPage parameter (up to 100).6 paramsGet list of commits of a branch in a GitHub repository. Returns at least 30 results per page by default, but can return more if specified using the perPage parameter (up to 100).
shastringpagenumberrepostringownerstringauthorstringperPagenumberlist_copilot_spacesRetrieves the list of Copilot Spaces accessible to the user, including their names and owners.Retrieves the list of Copilot Spaces accessible to the user, including their names and owners.
No parameter schema in public metadata yet.
list_dependabot_alertsList dependabot alerts in a GitHub repository.4 paramsList dependabot alerts in a GitHub repository.
repostringownerstringstatestringopen · fixed · dismissed · auto_dismisseddefault: openseveritystringlow · medium · high · criticallist_discussion_categoriesList discussion categories with their id and name, for a repository or organisation.2 paramsList discussion categories with their id and name, for a repository or organisation.
repostringownerstringlist_discussionsList discussions for a repository or organisation.7 paramsList discussions for a repository or organisation.
repostringafterstringownerstringorderBystringCREATED_AT · UPDATED_ATperPagenumbercategorystringdirectionstringASC · DESClist_gistsList gists for a user4 paramsList gists for a user
pagenumbersincestringperPagenumberusernamestringlist_global_security_advisoriesList global security advisories from GitHub.11 paramsList global security advisories from GitHub.
cwesarraytypestringreviewed · malware · unrevieweddefault: reviewedcveIdstringghsaIdstringaffectsstringupdatedstringmodifiedstringseveritystringunknown · low · medium · high · criticalecosystemstringactions · composer · erlang · go · maven · npmpublishedstringisWithdrawnbooleanlist_issue_typesList supported issue types for repository owner (organization).1 paramsList supported issue types for repository owner (organization).
ownerstringlist_issuesList issues in a GitHub repository. For pagination, use the 'endCursor' from the previous response's 'pageInfo' in the 'after' parameter.9 paramsList issues in a GitHub repository. For pagination, use the 'endCursor' from the previous response's 'pageInfo' in the 'after' parameter.
repostringafterstringownerstringsincestringstatestringOPEN · CLOSEDlabelsarrayorderBystringCREATED_AT · UPDATED_AT · COMMENTSperPagenumberdirectionstringASC · DESClist_labelList labels from a repository2 paramsList labels from a repository
repostringownerstringlist_notificationsLists all GitHub notifications for the authenticated user, including unread notifications, mentions, review requests, assignments, and updates on issues or pull requests. Use this tool whenever the user asks what to work on next, requests a summary of their GitHub activity, wa...7 paramsLists all GitHub notifications for the authenticated user, including unread notifications, mentions, review requests, assignments, and updates on issues or pull requests. Use this tool whenever the user asks what to work on next, requests a summary of their GitHub activity, wa...
pagenumberrepostringownerstringsincestringbeforestringfilterstringdefault · include_read_notifications · only_participatingperPagenumberlist_org_repository_security_advisoriesList repository security advisories for a GitHub organization.4 paramsList repository security advisories for a GitHub organization.
orgstringsortstringcreated · updated · publishedstatestringtriage · draft · published · closeddirectionstringasc · desclist_pull_requestsList pull requests in a GitHub repository. If the user specifies an author, then DO NOT use this tool and use the search_pull_requests tool instead.9 paramsList pull requests in a GitHub repository. If the user specifies an author, then DO NOT use this tool and use the search_pull_requests tool instead.
basestringheadstringpagenumberrepostringsortstringcreated · updated · popularity · long-runningownerstringstatestringopen · closed · allperPagenumberdirectionstringasc · desclist_releasesList releases in a GitHub repository4 paramsList releases in a GitHub repository
pagenumberrepostringownerstringperPagenumberlist_repository_security_advisoriesList repository security advisories for a GitHub repository.5 paramsList repository security advisories for a GitHub repository.
repostringsortstringcreated · updated · publishedownerstringstatestringtriage · draft · published · closeddirectionstringasc · desclist_secret_scanning_alertsList secret scanning alerts in a GitHub repository.5 paramsList secret scanning alerts in a GitHub repository.
repostringownerstringstatestringopen · resolvedresolutionstringfalse_positive · wont_fix · revoked · pattern_edited · pattern_deleted · used_in_testssecret_typestringlist_starred_repositoriesList starred repositories5 paramsList starred repositories
pagenumbersortstringcreated · updatedperPagenumberusernamestringdirectionstringasc · desclist_tagsList git tags in a GitHub repository4 paramsList git tags in a GitHub repository
pagenumberrepostringownerstringperPagenumbermanage_notification_subscriptionManage a notification subscription: ignore, watch, or delete a notification thread subscription.2 paramsManage a notification subscription: ignore, watch, or delete a notification thread subscription.
actionstringignore · watch · deletenotificationIDstringmanage_repository_notification_subscriptionManage a repository notification subscription: ignore, watch, or delete repository notifications subscription for the provided repository.3 paramsManage a repository notification subscription: ignore, watch, or delete repository notifications subscription for the provided repository.
repostringownerstringactionstringignore · watch · deletemark_all_notifications_readMark all notifications as read3 paramsMark all notifications as read
repostringownerstringlastReadAtstringmerge_pull_requestMerge a pull request in a GitHub repository.6 paramsMerge a pull request in a GitHub repository.
repostringownerstringpullNumbernumbercommit_titlestringmerge_methodstringmerge · squash · rebasecommit_messagestringprojects_getGet details about specific GitHub Projects resources. Use this tool to get details about individual projects, project fields, and project items by their unique IDs.8 paramsGet details about specific GitHub Projects resources. Use this tool to get details about individual projects, project fields, and project items by their unique IDs.
ownerstringfieldsarraymethodstringget_project · get_project_field · get_project_item · get_project_status_updateitem_idnumberfield_idnumberowner_typestringuser · orgproject_numbernumberstatus_update_idstringprojects_listTools for listing GitHub Projects resources. Use this tool to list projects for a user or organization, or list project fields and items for a specific project.9 paramsTools for listing GitHub Projects resources. Use this tool to list projects for a user or organization, or list project fields and items for a specific project.
afterstringownerstringquerystringbeforestringfieldsarraymethodstringlist_projects · list_project_fields · list_project_items · list_project_status_updatesper_pagenumberowner_typestringuser · orgproject_numbernumberprojects_writeAdd, update, or delete project items, or create status updates in a GitHub Project.15 paramsAdd, update, or delete project items, or create status updates in a GitHub Project.
bodystringownerstringmethodstringadd_project_item · update_project_item · delete_project_item · create_project_status_updatestatusstringINACTIVE · ON_TRACK · AT_RISK · OFF_TRACK · COMPLETEitem_idnumberitem_repostringitem_typestringissue · pull_requestitem_ownerstringowner_typestringuser · orgstart_datestringtarget_datestringissue_numbernumberupdated_fieldobjectproject_numbernumberpull_request_numbernumberpull_request_readGet information on a specific pull request in GitHub repository.6 paramsGet information on a specific pull request in GitHub repository.
pagenumberrepostringownerstringmethodstringget · get_diff · get_status · get_files · get_review_comments · get_reviewsperPagenumberpullNumbernumberpull_request_review_writeCreate and/or submit, delete review of a pull request. Available methods: - create: Create a new review of a pull request. If "event" parameter is provided, the review is submitted. If "event" is omitted, a pending review is created. - submit_pending: Submit an existing pendin...7 paramsCreate and/or submit, delete review of a pull request. Available methods: - create: Create a new review of a pull request. If "event" parameter is provided, the review is submitted. If "event" is omitted, a pending review is created. - submit_pending: Submit an existing pendin...
bodystringrepostringeventstringAPPROVE · REQUEST_CHANGES · COMMENTownerstringmethodstringcreate · submit_pending · delete_pendingcommitIDstringpullNumbernumberpush_filesPush multiple files to a GitHub repository in a single commit5 paramsPush multiple files to a GitHub repository in a single commit
repostringfilesarrayownerstringbranchstringmessagestringrequest_copilot_reviewRequest a GitHub Copilot code review for a pull request. Use this for automated feedback on pull requests, usually before requesting a human reviewer.3 paramsRequest a GitHub Copilot code review for a pull request. Use this for automated feedback on pull requests, usually before requesting a human reviewer.
repostringownerstringpullNumbernumberrun_secret_scanningScan files, content, or recent changes for secrets such as API keys, passwords, tokens, and credentials. This tool is intended for targeted scans of specific files, snippets, or diffs provided directly as content. It accepts file contents or diffs and returns detected secrets...3 paramsScan files, content, or recent changes for secrets such as API keys, passwords, tokens, and credentials. This tool is intended for targeted scans of specific files, snippets, or diffs provided directly as content. It accepts file contents or diffs and returns detected secrets...
repostringfilesarrayownerstringsearch_codeFast and precise code search across ALL GitHub repositories using GitHub's native search engine. Best for finding exact symbols, functions, classes, or specific code patterns.5 paramsFast and precise code search across ALL GitHub repositories using GitHub's native search engine. Best for finding exact symbols, functions, classes, or specific code patterns.
pagenumbersortstringorderstringasc · descquerystringperPagenumbersearch_issuesSearch for issues in GitHub repositories using issues search syntax already scoped to is:issue7 paramsSearch for issues in GitHub repositories using issues search syntax already scoped to is:issue
pagenumberrepostringsortstringcomments · reactions · reactions-+1 · reactions--1 · reactions-smile · reactions-thinking_faceorderstringasc · descownerstringquerystringperPagenumbersearch_orgsFind GitHub organizations by name, location, or other organization metadata. Ideal for discovering companies, open source foundations, or teams.5 paramsFind GitHub organizations by name, location, or other organization metadata. Ideal for discovering companies, open source foundations, or teams.
pagenumbersortstringfollowers · repositories · joinedorderstringasc · descquerystringperPagenumbersearch_pull_requestsSearch for pull requests in GitHub repositories using issues search syntax already scoped to is:pr7 paramsSearch for pull requests in GitHub repositories using issues search syntax already scoped to is:pr
pagenumberrepostringsortstringcomments · reactions · reactions-+1 · reactions--1 · reactions-smile · reactions-thinking_faceorderstringasc · descownerstringquerystringperPagenumbersearch_repositoriesFind GitHub repositories by name, description, readme, topics, or other metadata. Perfect for discovering projects, finding examples, or locating specific repositories across GitHub.6 paramsFind GitHub repositories by name, description, readme, topics, or other metadata. Perfect for discovering projects, finding examples, or locating specific repositories across GitHub.
pagenumbersortstringstars · forks · help-wanted-issues · updatedorderstringasc · descquerystringperPagenumberminimal_outputbooleansearch_usersFind GitHub users by username, real name, or other profile information. Useful for locating developers, contributors, or team members.5 paramsFind GitHub users by username, real name, or other profile information. Useful for locating developers, contributors, or team members.
pagenumbersortstringfollowers · repositories · joinedorderstringasc · descquerystringperPagenumberstar_repositoryStar a GitHub repository2 paramsStar a GitHub repository
repostringownerstringThe Omnigit GitHub & Local Git MCP Server connects AI tools directly to GitHub's platform. This gives AI agents, assistants, and chatbots the ability to read repositories and code files, manage issues and PRs, analyze code, and automate workflows. All through natural language interactions.
Built for developers who want to connect their AI tools to GitHub context and capabilities, from simple natural language queries to complex multi-step agent workflows.
This is a fork of github/github-mcp-server with the following additions and improvements.
get_review_comments now returns a CommentID field (which is the databaseId from GraphQL) alongside the GraphQL NodeID and DatabaseID for every comment node. This CommentID is the numeric ID that should be used when calling add_reply_to_pull_request_comment or pull_request_comment_write. Previously, only the opaque base64 GraphQL node ID was returned, forcing the model to decode it or scrape the numeric ID from comment URLs. The commentId / comment_id parameter descriptions in those tools now explicitly say to use the CommentID field.
issue_comment_write)A new issue_comment_write tool lets AI agents update or delete existing issue comments. Previously only add_issue_comment (create) was available.
pull_request_comment_write)A new pull_request_comment_write tool lets AI agents update or delete existing pull request review comments.
filter_patterns)Issue bodies, PR bodies, and local git commit messages are filtered before being sent to GitHub. By default, Co-Authored-By: trailers and generic AI-generated PR footers are stripped. The filter list is fully configurable via filter_patterns in omnigit-mcp-config.json. See i18n / Overriding Descriptions for details.
local_git)A full set of git_* tools for operating on local repositories without going through the GitHub API: git_add, git_apply_patch_file, git_apply_patch_string, git_checkout, git_commit, git_create_branch, git_diff, git_diff_staged, git_diff_unstaged, git_init, git_list_repositories, git_log, git_pull, git_push, git_reset, git_show, and git_status.
The remote GitHub MCP Server is hosted by GitHub and provides the easiest method for getting up and running. If your MCP host does not support remote MCP servers, don't worry! You can use the local version of the GitHub MCP Server instead.
For quick installation, use one of the one-click install buttons above. Once you complete that flow, toggle Agent mode (located by the Copilot Chat text input) and the server will start. Make sure you're using VS Code 1.101 or later for remote MCP and OAuth support.
Alternatively, to manually configure VS Code, choose the appropriate JSON block from the examples below and add it to your host configuration:
| Using OAuth | Using a GitHub PAT |
|---|---|
| VS Code (version 1.101 or greater) | |
|
|
Note: Each MCP host application needs to configure a GitHub App or OAuth App to support remote access via OAuth. Any host application that supports remote MCP servers should support the remote GitHub server with PAT authentication. Configuration details and support levels vary by host. Make sure to refer to the host application's documentation for more info.
See Remote Server Documentation for full details on remote server configuration, toolsets, headers, and advanced usage. This file provides comprehensive instructions and examples for connecting, customizing, and installing the remote GitHub MCP Server in VS Code and other MCP hosts.
When no toolsets are specified, default toolsets are used.
Try new features early! The remote server offers an insiders version with early access to new features and experimental tools.
| Using URL Path | Using Header |
|---|---|
|
|
See Remote Server Documentation for more details and examples.
GitHub Enterprise Cloud can also make use of the remote server.
Example for https://octocorp.ghe.com with GitHub PAT token:
{
...
"proxima-github": {
"type": "http",
"url": "https://copilot-api.octocorp.ghe.com/mcp",
"headers": {
"Authorization": "Bearer ${input:github_mcp_pat}"
}
},
...
}
Note: When using OAuth with GitHub Enterprise with VS Code and GitHub Copilot, you also need to configure your VS Code settings to point to your GitHub Enterprise instance - see Authenticate from VS Code
GitHub Enterprise Server does not support remote server hosting. Please refer to GitHub Enterprise Server and Enterprise Cloud with data residency (ghe.com) from the local server configuration.
ghcr.io/aifity/omnigit-mcp. The image is public; if you get errors on pull, you may have an expired token and need to docker logout ghcr.io.To keep your GitHub PAT secure and reusable across different MCP hosts:
Store your PAT in environment variables
export GITHUB_PAT=your_token_here
Or create a .env file:
GITHUB_PAT=your_token_here
Protect your .env file
# Add to .gitignore to prevent accidental commits
echo ".env" >> .gitignore
Reference the token in configurations
# CLI usage
claude mcp update github -e GITHUB_PERSONAL_ACCESS_TOKEN=$GITHUB_PAT
# In config files (where supported)
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "$GITHUB_PAT"
}
Note: Environment variable support varies by host app and IDE. Some applications (like Windsurf) require hardcoded tokens in config files.
Minimum scopes: Only grant necessary permissions
repo - Repository operationsread:packages - Docker image accessread:org - Organization team accessSeparate tokens: Use different PATs for different projects/environments
Regular rotation: Update tokens periodically
Never commit: Keep tokens out of version control
File permissions: Restrict access to config files containing tokens
chmod 600 ~/.your-app/config.json
The flag --gh-host and the environment variable GITHUB_HOST can be used to set
the hostname for GitHub Enterprise Server or GitHub Enterprise Cloud with data residency.
https:// URI scheme, as it otherwise defaults to http://, which GitHub Enterprise Server does not support.https://YOURSUBDOMAIN.ghe.com as the hostname."github": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN",
"-e",
"GITHUB_HOST",
"ghcr.io/aifity/omnigit-mcp"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "${input:github_token}",
"GITHUB_HOST": "https://<your GHES or ghe.com domain name>"
}
}
For quick installation, use one of the one-click install buttons above. Once you complete that flow, toggle Agent mode (located by the Copilot Chat text input) and the server will start.
More about using MCP server tools in VS Code's agent mode documentation.
Install in GitHub Copilot on other IDEs (JetBrains, Visual Studio, Eclipse, etc.)
Add the following JSON block to your IDE's MCP settings.
{
"mcp": {
"inputs": [
{
"type": "promptString",
"id": "github_token",
"description": "GitHub Personal Access Token",
"password": true
}
],
"servers": {
"github": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN",
"ghcr.io/aifity/omnigit-mcp"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "${input:github_token}"
}
}
}
}
}
Optionally, you can add a similar example (i.e. without the mcp key) to a file called .vscode/mcp.json in your workspace. This will allow you to share the configuration with other host applications that accept the same format.
{
"inputs": [
{
"type": "promptString",
"id": "github_token",
"description": "GitHub Personal Access Token",
"password": true
}
],
"servers": {
"github": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN",
"ghcr.io/aifity/omnigit-mcp"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "${input:github_token}"
}
}
}
}
For other MCP host applications, please refer to our installation guides:
For a complete overview of all installation options, see our Installation Guides Index.
Note: Any host application that supports local MCP servers should be able to access the local GitHub MCP server. However, the specific configuration process, syntax and stability of the integration will vary by host application. While many may follow a similar format to the examples above, this is not guaranteed. Please refer to your host application's documentation for the correct MCP configuration syntax and setup process.
If you don't have Docker, you can use go build to build the binary in the
cmd/omnigit-mcp directory, and use the omnigit-mcp stdio command with the GITHUB_PERSONAL_ACCESS_TOKEN environment variable set to your token. To specify the output location of the build, use the -o flag. You should configure your server to use the built executable as its command. For example:
{
"mcp": {
"servers": {
"github": {
"command": "/path/to/omnigit-mcp",
"args": ["stdio"],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"
}
}
}
}
}
The omnigit-mcp binary includes a few CLI subcommands that are helpful for debugging and exploring the server.
omnigit-mcp tool-search "<query>" searches tools by name, description, and input parameter names. Use --max-results to return more matches.
Example (color output requires a TTY; use docker run -t (or -it) when running in Docker):docker run -it --rm ghcr.io/aifity/omnigit-mcp tool-search "issue" --max-results 5
omnigit-mcp tool-search "issue" --max-results 5
The GitHub MCP Server supports enabling or disabling specific groups of functionalities via the --toolsets flag. This allows you to control which GitHub API capabilities are available to your AI tools. Enabling only the toolsets that you need can help the LLM with tool choice and reduce the context size.
Toolsets are not limited to Tools. Relevant MCP Resources and Prompts are also included where applicable.
When no toolsets are specified, default toolsets are used.
Looking for examples? See the Server Configuration Guide for common recipes like minimal setups, read-only mode, and combining tools with toolsets.
To specify toolsets you want available to the LLM, you can pass an allow-list in two ways:
Using Command Line Argument:
omnigit-mcp --toolsets repos,issues,pull_requests,actions,code_security
Using Environment Variable:
GITHUB_TOOLSETS="repos,issues,pull_requests,actions,code_security" ./omnigit-mcp
The environment variable GITHUB_TOOLSETS takes precedence over the command line argument if both are provided.
You can also configure specific tools using the --tools flag. Tools can be used independently or combined with toolsets and dynamic toolsets discovery for fine-grained control.
Using Command Line Argument:
omnigit-mcp --tools get_file_contents,issue_read,create_pull_request
Using Environment Variable:
GITHUB_TOOLS="get_file_contents,issue_read,create_pull_request" ./omnigit-mcp
Combining with Toolsets (additive):
omnigit-mcp --toolsets repos,issues --tools get_gist
This registers all tools from repos and issues toolsets, plus get_gist.
Combining with Dynamic Toolsets (additive):
omnigit-mcp --tools get_file_contents --dynamic-toolsets
This registers get_file_contents plus the dynamic toolset tools (enable_toolset, list_available_toolsets, get_toolset_tools).
Important Notes:
--read-only is set, even if explicitly requested via --toolsget_file_contents, not getFileContents). Invalid tool names will cause the server to fail at startup with an error messageWhen using Docker, you can pass the toolsets as environment variables:
docker run -i --rm \
-e GITHUB_PERSONAL_ACCESS_TOKEN=<your-token> \
-e GITHUB_TOOLSETS="repos,issues,pull_requests,actions,code_security" \
ghcr.io/aifity/omnigit-mcp
When using Docker, you can pass specific tools as environment variables. You can also combine tools with toolsets:
# Tools only
docker run -i --rm \
-e GITHUB_PERSONAL_ACCESS_TOKEN=<your-token> \
-e GITHUB_TOOLS="get_file_contents,issue_read,create_pull_request" \
ghcr.io/aifity/omnigit-mcp
# Tools combined with toolsets (additive)
docker run -i --rm \
-e GITHUB_PERSONAL_ACCESS_TOKEN=<your-token> \
-e GITHUB_TOOLSETS="repos,issues" \
-e GITHUB_TOOLS="get_gist" \
ghcr.io/aifity/omnigit-mcp
The special toolset all can be provided to enable all available toolsets regardless of any other configuration:
./omnigit-mcp --toolsets all
Or using the environment variable:
GITHUB_TOOLSETS="all" ./omnigit-mcp
The default toolset default is the configuration that gets passed to the server if no toolsets are specified.
The default configuration is:
To keep the default configuration and add additional toolsets:
GITHUB_TOOLSETS="default,stargazers" ./omnigit-mcp
The local GitHub MCP Server offers an insiders version with early access to new features and experimental tools.
Using Command Line Argument:
./omnigit-mcp --insiders
Using Environment Variable:
GITHUB_INSIDERS=true ./omnigit-mcp
When using Docker:
docker run -i --rm \
-e GITHUB_PERSONAL_ACCESS_TOKEN=<your-token> \
-e GITHUB_INSIDERS=true \
ghcr.io/aifity/omnigit-mcp
The following sets of tools are available:
| Toolset | Description | |
|---|---|---|
context | Strongly recommended: Tools that provide context about the current user and GitHub context you are operating in | |
actions | GitHub Actions workflows and CI/CD operations | |
code_security | Code security related tools, such as GitHub Code Scanning | |
dependabot | Dependabot tools | |
discussions | GitHub Discussions related tools | |
gists | GitHub Gist related tools | |
git | GitHub Git API related tools for low-level Git operations | |
issues | GitHub Issues related tools | |
labels | GitHub Labels related tools | |
local_git | Local Git repository operations - work with git repositories on your local machine (status, diff, commit, push, pull, branches, etc.) | |
notifications | GitHub Notifications related tools | |
orgs | GitHub Organization related tools | |
projects | GitHub Projects related tools | |
pull_requests | GitHub Pull Request related tools | |
repos | GitHub Repository related tools | |
secret_protection | Secret protection related tools, such as GitHub Secret Scanning | |
security_advisories | Security advisories related tools | |
stargazers | GitHub Stargazers related tools | |
users | GitHub User related tools |
| Toolset | Description |
|---|---|
copilot | Copilot related tools (e.g. Copilot Coding Agent) |
copilot_spaces | Copilot Spaces related tools |
github_support_docs_search | Search docs to answer GitHub product and support questions |

actions_get - Get details of GitHub Actions resources (workflows, workflow runs, jobs, and artifacts)
repomethod: The method to execute (string, required)owner: Repository owner (string, required)repo: Repository name (string, required)resource_id: The unique identifier of the resource. This will vary based on the "method" provided, so ensure you provide the correct ID:
actions_list - List GitHub Actions workflows in a repository
repomethod: The action to perform (string, required)owner: Repository owner (string, required)page: Page number for pagination (default: 1) (number, optional)per_page: Results per page for pagination (default: 30, max: 100) (number, optional)repo: Repository name (string, required)resource_id: The unique identifier of the resource. This will vary based on the "method" provided, so ensure you provide the correct ID:
workflow_jobs_filter: Filters for workflow jobs. ONLY used when method is 'list_workflow_jobs' (object, optional)workflow_runs_filter: Filters for workflow runs. ONLY used when method is 'list_workflow_runs' (object, optional)actions_run_trigger - Trigger GitHub Actions workflow actions
repoinputs: Inputs the workflow accepts. Only used for 'run_workflow' method. (object, optional)method: The method to execute (string, required)owner: Repository owner (string, required)ref: The git reference for the workflow. The reference can be a branch or tag name. Required for 'run_workflow' method. (string, optional)repo: Repository name (string, required)run_id: The ID of the workflow run. Required for all methods except 'run_workflow'. (number, optional)workflow_id: The workflow ID (numeric) or workflow file name (e.g., main.yml, ci.yaml). Required for 'run_workflow' method. (string, optional)get_job_logs - Get GitHub Actions workflow job logs
repofailed_only: When true, gets logs for all failed jobs in the workflow run specified by run_id. Requires run_id to be provided. (boolean, optional)job_id: The unique identifier of the workflow job. Required when getting logs for a single job. (number, optional)owner: Repository owner (string, required)repo: Repository name (string, required)return_content: Returns actual log content instead of URLs (boolean, optional)run_id: The unique identifier of the workflow run. Required when failed_only is true to get logs for all failed jobs in the run. (number, optional)tail_lines: Number of lines to return from the end of the log (number, optional)
get_code_scanning_alert - Get code scanning alert
security_eventsrepo, security_eventsalertNumber: The number of the alert. (number, required)owner: The owner of the repository. (string, required)repo: The name of the repository. (string, required)list_code_scanning_alerts - List code scanning alerts
security_eventsrepo, security_eventsowner: The owner of the repository. (string, required)ref: The Git reference for the results you want to list. (string, optional)repo: The name of the repository. (string, required)severity: Filter code scanning alerts by severity (string, optional)state: Filter code scanning alerts by state. Defaults to open (string, optional)tool_name: The name of the tool used for code scanning. (string, optional)
get_me - Get my user profile
get_team_members - Get team members
read:orgadmin:org, read:org, write:orgorg: Organization login (owner) that contains the team. (string, required)team_slug: Team slug (string, required)get_teams - Get teams
read:orgadmin:org, read:org, write:orguser: Username to get teams for. If not provided, uses the authenticated user. (string, optional)
get_dependabot_alert - Get dependabot alert
security_eventsrepo, security_eventsalertNumber: The number of the alert. (number, required)owner: The owner of the repository. (string, required)repo: The name of the repository. (string, required)list_dependabot_alerts - List dependabot alerts
security_eventsrepo, security_eventsowner: The owner of the repository. (string, required)repo: The name of the repository. (string, required)severity: Filter dependabot alerts by severity (string, optional)state: Filter dependabot alerts by state. Defaults to open (string, optional)
get_discussion - Get discussion
repodiscussionNumber: Discussion Number (number, required)owner: Repository owner (string, required)repo: Repository name (string, required)get_discussion_comments - Get discussion comments
repoafter: Cursor for pagination. Use the endCursor from the previous page's PageInfo for GraphQL APIs. (string, optional)discussionNumber: Discussion Number (number, required)owner: Repository owner (string, required)perPage: Results per page for pagination (min 1, max 100) (number, optional)repo: Repository name (string, required)list_discussion_categories - List discussion categories
repoowner: Repository owner (string, required)repo: Repository name. If not provided, discussion categories will be queried at the organisation level. (string, optional)list_discussions - List discussions
repoafter: Cursor for pagination. Use the endCursor from the previous page's PageInfo for GraphQL APIs. (string, optional)category: Optional filter by discussion category ID. If provided, only discussions with this category are listed. (string, optional)direction: Order direction. (string, optional)orderBy: Order discussions by field. If provided, the 'direction' also needs to be provided. (string, optional)owner: Repository owner (string, required)perPage: Results per page for pagination (min 1, max 100) (number, optional)repo: Repository name. If not provided, discussions will be queried at the organisation level. (string, optional)
create_gist - Create Gist
gistcontent: Content for simple single-file gist creation (string, required)description: Description of the gist (string, optional)filename: Filename for simple single-file gist creation (string, required)public: Whether the gist is public (boolean, optional)get_gist - Get Gist Content
gist_id: The ID of the gist (string, required)list_gists - List Gists
page: Page number for pagination (min 1) (number, optional)perPage: Results per page for pagination (min 1, max 100) (number, optional)since: Only gists updated after this time (ISO 8601 timestamp) (string, optional)username: GitHub username (omit for authenticated user's gists) (string, optional)update_gist - Update Gist
gistcontent: Content for the file (string, required)description: Updated description of the gist (string, optional)filename: Filename to update or create (string, required)gist_id: ID of the gist to update (string, required)
repoowner: Repository owner (username or organization) (string, required)path_filter: Optional path prefix to filter the tree results (e.g., 'src/' to only show files in the src directory) (string, optional)recursive: Setting this parameter to true returns the objects or subtrees referenced by the tree. Default is false (boolean, optional)repo: Repository name (string, required)tree_sha: The SHA1 value or ref (branch or tag) name of the tree. Defaults to the repository's default branch (string, optional)
add_issue_comment - Add comment to issue
repobody: Comment content (string, required)issue_number: Issue number to comment on (number, required)owner: Repository owner (string, required)repo: Repository name (string, required)assign_copilot_to_issue - Assign Copilot to issue
repobase_ref: Git reference (e.g., branch) that the agent will start its work from. If not specified, defaults to the repository's default branch (string, optional)custom_instructions: Optional custom instructions to guide the agent beyond the issue body. Use this to provide additional context, constraints, or guidance that is not captured in the issue description (string, optional)issue_number: Issue number (number, required)owner: Repository owner (string, required)repo: Repository name (string, required)get_label - Get a specific label from a repository.
reponame: Label name. (string, required)owner: Repository owner (username or organization name) (string, required)repo: Repository name (string, required)issue_comment_write - Update or delete issue comment
repobody: New comment content (required for update method) (string, optional)comment_id: Comment ID to update or delete (number, required)method: The write operation to perform on a comment.
Options are:
owner: Repository owner (string, required)repo: Repository name (string, required)issue_read - Get issue details
repoissue_number: The number of the issue (number, required)method: The read operation to perform on a single issue.
Options are:
owner: The owner of the repository (string, required)page: Page number for pagination (min 1) (number, optional)perPage: Results per page for pagination (min 1, max 100) (number, optional)repo: The name of the repository (string, required)issue_write - Create or update issue.
repoassignees: Usernames to assign to this issue (string[], optional)body: Issue body content (string, optional)duplicate_of: Issue number that this issue is a duplicate of. Only used when state_reason is 'duplicate'. (number, optional)issue_number: Issue number to update (number, optional)labels: Labels to apply to this issue (string[], optional)method: Write operation to perform on a single issue.
Options are:
milestone: Milestone number (number, optional)owner: Repository owner (string, required)repo: Repository name (string, required)state: New state (string, optional)state_reason: Reason for the state change. Ignored unless state is changed. (string, optional)title: Issue title (string, optional)type: Type of this issue. Only use if the repository has issue types configured. Use list_issue_types tool to get valid type values for the organization. If the repository doesn't support issue types, omit this parameter. (string, optional)list_issue_types - List available issue types
read:orgadmin:org, read:org, write:orgowner: The organization owner of the repository (string, required)list_issues - List issues
repoafter: Cursor for pagination. Use the endCursor from the previous page's PageInfo for GraphQL APIs. (string, optional)direction: Order direction. If provided, the 'orderBy' also needs to be provided. (string, optional)labels: Filter by labels (string[], optional)orderBy: Order issues by field. If provided, the 'direction' also needs to be provided. (string, optional)owner: Repository owner (string, required)perPage: Results per page for pagination (min 1, max 100) (number, optional)repo: Repository name (string, required)since: Filter by date (ISO 8601 timestamp) (string, optional)state: Filter by state, by default both open and closed issues are returned when not provided (string, optional)search_issues - Search issues
repoorder: Sort order (string, optional)owner: Optional repository owner. If provided with repo, only issues for this repository are listed. (string, optional)page: Page number for pagination (min 1) (number, optional)perPage: Results per page for pagination (min 1, max 100) (number, optional)query: Search query using GitHub issues search syntax (string, required)repo: Optional repository name. If provided with owner, only issues for this repository are listed. (string, optional)sort: Sort field by number of matches of categories, defaults to best match (string, optional)sub_issue_write - Change sub-issue
repoafter_id: The ID of the sub-issue to be prioritized after (either after_id OR before_id should be specified) (number, optional)before_id: The ID of the sub-issue to be prioritized before (either after_id OR before_id should be specified) (number, optional)issue_number: The number of the parent issue (number, required)method: The action to perform on a single sub-issue
Options are:
owner: Repository owner (string, required)replace_parent: When true, replaces the sub-issue's current parent issue. Use with 'add' method only. (boolean, optional)repo: Repository name (string, required)sub_issue_id: The ID of the sub-issue to add. ID is not the same as issue number (number, required)
get_label - Get a specific label from a repository.
reponame: Label name. (string, required)owner: Repository owner (username or organization name) (string, required)repo: Repository name (string, required)label_write - Write operations on repository labels.
repocolor: Label color as 6-character hex code without '#' prefix (e.g., 'f29513'). Required for 'create', optional for 'update'. (string, optional)description: Label description text. Optional for 'create' and 'update'. (string, optional)method: Operation to perform: 'create', 'update', or 'delete' (string, required)name: Label name - required for all operations (string, required)new_name: New name for the label (used only with 'update' method to rename) (string, optional)owner: Repository owner (username or organization name) (string, required)repo: Repository name (string, required)list_label - List labels from a repository
repoowner: Repository owner (username or organization name) - required for all operations (string, required)repo: Repository name - required for all operations (string, required)
git_add - Git add
files: Comma-separated list of file paths to stage (string, required)repo_path: Path to Git repository (optional if default repository is configured) (string, optional)git_add - Git add
files: Comma-separated list of file paths to stage (string, required)repo_path: Path to Git repository (optional if default repository is configured) (string, optional)git_apply_patch_file - Git apply patch file
patch_file: Path to the patch file (string, required)repo_path: Path to Git repository (optional if default repository is configured) (string, optional)git_apply_patch_file - Git apply patch file
patch_file: Path to the patch file (string, required)repo_path: Path to Git repository (optional if default repository is configured) (string, optional)git_apply_patch_string - Git apply patch string
patch_string: Patch string to apply (string, required)repo_path: Path to Git repository (optional if default repository is configured) (string, optional)git_apply_patch_string - Git apply patch string
patch_string: Patch string to apply (string, required)repo_path: Path to Git repository (optional if default repository is configured) (string, optional)git_checkout - Git checkout
branch_name: Name of branch to checkout (string, required)repo_path: Path to Git repository (optional if default repository is configured) (string, optional)git_checkout - Git checkout
branch_name: Name of branch to checkout (string, required)repo_path: Path to Git repository (optional if default repository is configured) (string, optional)git_commit - Git commit
message: Commit message (string, required)repo_path: Path to Git repository (optional if default repository is configured) (string, optional)git_commit - Git commit
message: Commit message (string, required)repo_path: Path to Git repository (optional if default repository is configured) (string, optional)git_create_branch - Git create branch
base_branch: Starting point for the new branch (optional) (string, optional)branch_name: Name of the new branch (string, required)repo_path: Path to Git repository (optional if default repository is configured) (string, optional)git_create_branch - Git create branch
base_branch: Starting point for the new branch (optional) (string, optional)branch_name: Name of the new branch (string, required)repo_path: Path to Git repository (optional if default repository is configured) (string, optional)git_diff - Git diff
repo_path: Path to Git repository (optional if default repository is configured) (string, optional)target: Target branch or commit to compare with (string, required)git_diff - Git diff
repo_path: Path to Git repository (optional if default repository is configured) (string, optional)target: Target branch or commit to compare with (string, required)git_diff_staged - Git diff staged
repo_path: Path to Git repository (optional if default repository is configured) (string, optional)git_diff_staged - Git diff staged
repo_path: Path to Git repository (optional if default repository is configured) (string, optional)git_diff_unstaged - Git diff unstaged
repo_path: Path to Git repository (optional if default repository is configured) (string, optional)git_diff_unstaged - Git diff unstaged
repo_path: Path to Git repository (optional if default repository is configured) (string, optional)git_init - Git init
repo_path: Path to directory to initialize git repo (string, required)git_init - Git init
repo_path: Path to directory to initialize git repo (string, required)git_list_repositories - Git list repositories
git_list_repositories - Git list repositories
git_log - Git log
max_count: Maximum number of commits to show (default: 10) (number, optional)repo_path: Path to Git repository (optional if default repository is configured) (string, optional)git_log - Git log
max_count: Maximum number of commits to show (default: 10) (number, optional)repo_path: Path to Git repository (optional if default repository is configured) (string, optional)git_pull - Git pull
branch: Branch name to pull (default: current branch's upstream) (string, optional)remote: Remote name (default: origin) (string, optional)repo_path: Path to Git repository (optional if default repository is configured) (string, optional)git_pull - Git pull
branch: Branch name to pull (default: current branch's upstream) (string, optional)remote: Remote name (default: origin) (string, optional)repo_path: Path to Git repository (optional if default repository is configured) (string, optional)git_push - Git push
branch: Branch name to push (default: current branch) (string, optional)remote: Remote name (default: origin) (string, optional)repo_path: Path to Git repository (optional if default repository is configured) (string, optional)git_push - Git push
branch: Branch name to push (default: current branch) (string, optional)remote: Remote name (default: origin) (string, optional)repo_path: Path to Git repository (optional if default repository is configured) (string, optional)git_reset - Git reset
repo_path: Path to Git repository (optional if default repository is configured) (string, optional)git_reset - Git reset
repo_path: Path to Git repository (optional if default repository is configured) (string, optional)git_show - Git show
repo_path: Path to Git repository (optional if default repository is configured) (string, optional)revision: The revision (commit hash, branch name, tag) to show (string, required)git_show - Git show
repo_path: Path to Git repository (optional if default repository is configured) (string, optional)revision: The revision (commit hash, branch name, tag) to show (string, required)git_status - Git status
repo_path: Path to Git repository (optional if default repository is configured) (string, optional)git_status - Git status
repo_path: Path to Git repository (optional if default repository is configured) (string, optional)git_worktree_add - Git worktree add
commitish: Branch name, tag, or commit SHA to checkout in the new worktree (optional) (string, optional)detach: Create a detached HEAD worktree (optional, default: false) (boolean, optional)force: Force creation even if worktree path already exists (optional, default: false) (boolean, optional)new_branch: Create a new branch with this name in the worktree (optional) (string, optional)repo_path: Path to Git repository (optional if default repository is configured) (string, optional)worktree_path: Path where the new worktree should be created (string, required)git_worktree_add - Git worktree add
commitish: Branch name, tag, or commit SHA to checkout in the new worktree (optional) (string, optional)detach: Create a detached HEAD worktree (optional, default: false) (boolean, optional)force: Force creation even if worktree path already exists (optional, default: false) (boolean, optional)new_branch: Create a new branch with this name in the worktree (optional) (string, optional)repo_path: Path to Git repository (optional if default repository is configured) (string, optional)worktree_path: Path where the new worktree should be created (string, required)git_worktree_list - Git worktree list
repo_path: Path to Git repository (optional if default repository is configured) (string, optional)git_worktree_list - Git worktree list
repo_path: Path to Git repository (optional if default repository is configured) (string, optional)git_worktree_lock - Git worktree lock
reason: Reason for locking the worktree (optional) (string, optional)repo_path: Path to Git repository (optional if default repository is configured) (string, optional)worktree: Path to the worktree directory to lock (string, required)git_worktree_lock - Git worktree lock
reason: Reason for locking the worktree (optional) (string, optional)repo_path: Path to Git repository (optional if default repository is configured) (string, optional)worktree: Path to the worktree directory to lock (string, required)git_worktree_prune - Git worktree prune
dry_run: Show what would be pruned without actually pruning (optional, default: false) (boolean, optional)repo_path: Path to Git repository (optional if default repository is configured) (string, optional)verbose: Show verbose output (optional, default: false) (boolean, optional)git_worktree_prune - Git worktree prune
dry_run: Show what would be pruned without actually pruning (optional, default: false) (boolean, optional)repo_path: Path to Git repository (optional if default repository is configured) (string, optional)verbose: Show verbose output (optional, default: false) (boolean, optional)git_worktree_remove - Git worktree remove
force: Force removal even if worktree is dirty or locked (optional, default: false) (boolean, optional)repo_path: Path to Git repository (optional if default repository is configured) (string, optional)worktree: Path to the worktree directory to remove (string, required)git_worktree_remove - Git worktree remove
force: Force removal even if worktree is dirty or locked (optional, default: false) (boolean, optional)repo_path: Path to Git repository (optional if default repository is configured) (string, optional)worktree: Path to the worktree directory to remove (string, required)git_worktree_unlock - Git worktree unlock
repo_path: Path to Git repository (optional if default repository is configured) (string, optional)worktree: Path to the worktree directory to unlock (string, required)git_worktree_unlock - Git worktree unlock
repo_path: Path to Git repository (optional if default repository is configured) (string, optional)worktree: Path to the worktree directory to unlock (string, required)
dismiss_notification - Dismiss notification
notificationsstate: The new state of the notification (read/done) (string, required)threadID: The ID of the notification thread (string, required)get_notification_details - Get notification details
notificationsnotificationID: The ID of the notification (string, required)list_notifications - List notifications
notificationsbefore: Only show notifications updated before the given time (ISO 8601 format) (string, optional)filter: Filter notifications to, use default unless specified. Read notifications are ones that have already been acknowledged by the user. Participating notifications are those that the user is directly involved in, such as issues or pull requests they have commented on or created. (string, optional)owner: Optional repository owner. If provided with repo, only notifications for this repository are listed. (string, optional)page: Page number for pagination (min 1) (number, optional)perPage: Results per page for pagination (min 1, max 100) (number, optional)repo: Optional repository name. If provided with owner, only notifications for this repository are listed. (string, optional)since: Only show notifications updated after the given time (ISO 8601 format) (string, optional)manage_notification_subscription - Manage notification subscription
notificationsaction: Action to perform: ignore, watch, or delete the notification subscription. (string, required)notificationID: The ID of the notification thread. (string, required)manage_repository_notification_subscription - Manage repository notification subscription
notificationsaction: Action to perform: ignore, watch, or delete the repository notification subscription. (string, required)owner: The account owner of the repository. (string, required)repo: The name of the repository. (string, required)mark_all_notifications_read - Mark all notifications as read
notificationslastReadAt: Describes the last point that notifications were checked (optional). Default: Now (string, optional)owner: Optional repository owner. If provided with repo, only notifications for this repository are marked as read. (string, optional)repo: Optional repository name. If provided with owner, only notifications for this repository are marked as read. (string, optional)
read:orgadmin:org, read:org, write:orgorder: Sort order (string, optional)page: Page number for pagination (min 1) (number, optional)perPage: Results per page for pagination (min 1, max 100) (number, optional)query: Organization search query. Examples: 'microsoft', 'location:california', 'created:>=2025-01-01'. Search is automatically scoped to type:org. (string, required)sort: Sort field by category (string, optional)
projects_get - Get details of GitHub Projects resources
read:projectproject, read:projectfield_id: The field's ID. Required for 'get_project_field' method. (number, optional)fields: Specific list of field IDs to include in the response when getting a project item (e.g. ["102589", "985201", "169875"]). If not provided, only the title field is included. Only used for 'get_project_item' method. (string[], optional)item_id: The item's ID. Required for 'get_project_item' method. (number, optional)method: The method to execute (string, required)owner: The owner (user or organization login). The name is not case sensitive. (string, optional)owner_type: Owner type (user or org). If not provided, will be automatically detected. (string, optional)project_number: The project's number. (number, optional)status_update_id: The node ID of the project status update. Required for 'get_project_status_update' method. (string, optional)projects_list - List GitHub Projects resources
read:projectproject, read:projectafter: Forward pagination cursor from previous pageInfo.nextCursor. (string, optional)before: Backward pagination cursor from previous pageInfo.prevCursor (rare). (string, optional)fields: Field IDs to include when listing project items (e.g. ["102589", "985201"]). CRITICAL: Always provide to get field values. Without this, only titles returned. Only used for 'list_project_items' method. (string[], optional)method: The action to perform (string, required)owner: The owner (user or organization login). The name is not case sensitive. (string, required)owner_type: Owner type (user or org). If not provided, will automatically try both. (string, optional)per_page: Results per page (max 50) (number, optional)project_number: The project's number. Required for 'list_project_fields', 'list_project_items', and 'list_project_status_updates' methods. (number, optional)query: Filter/query string. For list_projects: filter by title text and state (e.g. "roadmap is:open"). For list_project_items: advanced filtering using GitHub's project filtering syntax. (string, optional)projects_write - Modify GitHub Project items
projectbody: The body of the status update (markdown). Used for 'create_project_status_update' method. (string, optional)issue_number: The issue number (use when item_type is 'issue' for 'add_project_item' method). Provide either issue_number or pull_request_number. (number, optional)item_id: The project item ID. Required for 'update_project_item' and 'delete_project_item' methods. (number, optional)item_owner: The owner (user or organization) of the repository containing the issue or pull request. Required for 'add_project_item' method. (string, optional)item_repo: The name of the repository containing the issue or pull request. Required for 'add_project_item' method. (string, optional)item_type: The item's type, either issue or pull_request. Required for 'add_project_item' method. (string, optional)method: The method to execute (string, required)owner: The project owner (user or organization login). The name is not case sensitive. (string, required)owner_type: Owner type (user or org). If not provided, will be automatically detected. (string, optional)project_number: The project's number. (number, required)pull_request_number: The pull request number (use when item_type is 'pull_request' for 'add_project_item' method). Provide either issue_number or pull_request_number. (number, optional)start_date: The start date of the status update in YYYY-MM-DD format. Used for 'create_project_status_update' method. (string, optional)status: The status of the project. Used for 'create_project_status_update' method. (string, optional)target_date: The target date of the status update in YYYY-MM-DD format. Used for 'create_project_status_update' method. (string, optional)updated_field: Object consisting of the ID of the project field to update and the new value for the field. To clear the field, set value to null. Example: {"id": 123456, "value": "New Value"}. Required for 'update_project_item' method. (object, optional)
add_comment_to_pending_review - Add review comment to the requester's latest pending pull request review
repobody: The text of the review comment (string, required)line: The line of the blob in the pull request diff that the comment applies to. For multi-line comments, the last line of the range (number, optional)owner: Repository owner (string, required)path: The relative path to the file that necessitates a comment (string, required)pullNumber: Pull request number (number, required)repo: Repository name (string, required)side: The side of the diff to comment on. LEFT indicates the previous state, RIGHT indicates the new state (string, optional)startLine: For multi-line comments, the first line of the range that the comment applies to (number, optional)startSide: For multi-line comments, the starting side of the diff that the comment applies to. LEFT indicates the previous state, RIGHT indicates the new state (string, optional)subjectType: The level at which the comment is targeted (string, required)add_reply_to_pull_request_comment - Add reply to pull request comment
repobody: The text of the reply (string, required)commentId: The ID of the comment to reply to. Use the CommentID field from get_review_comments. (number, required)owner: Repository owner (string, required)pullNumber: Pull request number (number, required)repo: Repository name (string, required)create_pull_request - Open new pull request
repobase: Branch to merge into (string, required)body: PR description (string, optional)draft: Create as draft PR (boolean, optional)head: Branch containing changes (string, required)maintainer_can_modify: Allow maintainer edits (boolean, optional)owner: Repository owner (string, required)repo: Repository name (string, required)title: PR title (string, required)list_pull_requests - List pull requests
repobase: Filter by base branch (string, optional)direction: Sort direction (string, optional)head: Filter by head user/org and branch (string, optional)owner: Repository owner (string, required)page: Page number for pagination (min 1) (number, optional)perPage: Results per page for pagination (min 1, max 100) (number, optional)repo: Repository name (string, required)sort: Sort by (string, optional)state: Filter by state (string, optional)merge_pull_request - Merge pull request
repocommit_message: Extra detail for merge commit (string, optional)commit_title: Title for merge commit (string, optional)merge_method: Merge method (string, optional)owner: Repository owner (string, required)pullNumber: Pull request number (number, required)repo: Repository name (string, required)pull_request_comment_write - Update or delete pull request review comment
repobody: New comment content (required for update method) (string, optional)comment_id: Review comment ID to update or delete. Use the CommentID field from get_review_comments. (number, required)method: The write operation to perform on a review comment.
Options are:
owner: Repository owner (string, required)repo: Repository name (string, required)pull_request_read - Get details for a single pull request
repomethod: Action to specify what pull request data needs to be retrieved from GitHub.
Possible options:
owner: Repository owner (string, required)page: Page number for pagination (min 1) (number, optional)perPage: Results per page for pagination (min 1, max 100) (number, optional)pullNumber: Pull request number (number, required)repo: Repository name (string, required)pull_request_review_write - Write operations (create, submit, delete) on pull request reviews.
repobody: Review comment text (string, optional)commitID: SHA of commit to review (string, optional)event: Review action to perform. (string, optional)method: The write operation to perform on pull request review. (string, required)owner: Repository owner (string, required)pullNumber: Pull request number (number, required)repo: Repository name (string, required)request_copilot_review - Request Copilot review
repoowner: Repository owner (string, required)pullNumber: Pull request number (number, required)repo: Repository name (string, required)search_pull_requests - Search pull requests
repoorder: Sort order (string, optional)owner: Optional repository owner. If provided with repo, only pull requests for this repository are listed. (string, optional)page: Page number for pagination (min 1) (number, optional)perPage: Results per page for pagination (min 1, max 100) (number, optional)query: Search query using GitHub pull request search syntax (string, required)repo: Optional repository name. If provided with owner, only pull requests for this repository are listed. (string, optional)sort: Sort field by number of matches of categories, defaults to best match (string, optional)update_pull_request - Edit pull request
repobase: New base branch name (string, optional)body: New description (string, optional)draft: Mark pull request as draft (true) or ready for review (false) (boolean, optional)maintainer_can_modify: Allow maintainer edits (boolean, optional)owner: Repository owner (string, required)pullNumber: Pull request number to update (number, required)repo: Repository name (string, required)reviewers: GitHub usernames to request reviews from (string[], optional)state: New state (string, optional)title: New title (string, optional)update_pull_request_branch - Update pull request branch
repoexpectedHeadSha: The expected SHA of the pull request's HEAD ref (string, optional)owner: Repository owner (string, required)pullNumber: Pull request number (number, required)repo: Repository name (string, required)
create_branch - Create branch
repobranch: Name for new branch (string, required)from_branch: Source branch (defaults to repo default) (string, optional)owner: Repository owner (string, required)repo: Repository name (string, required)create_or_update_file - Create or update file
repobranch: Branch to create/update the file in (string, required)content: Content of the file (string, required)message: Commit message (string, required)owner: Repository owner (username or organization) (string, required)path: Path where to create/update the file (string, required)repo: Repository name (string, required)sha: The blob SHA of the file being replaced. (string, optional)create_repository - Create repository
repoautoInit: Initialize with README (boolean, optional)description: Repository description (string, optional)name: Repository name (string, required)organization: Organization to create the repository in (omit to create in your personal account) (string, optional)private: Whether repo should be private (boolean, optional)delete_file - Delete file
repobranch: Branch to delete the file from (string, required)message: Commit message (string, required)owner: Repository owner (username or organization) (string, required)path: Path to the file to delete (string, required)repo: Repository name (string, required)fork_repository - Fork repository
repoorganization: Organization to fork to (string, optional)owner: Repository owner (string, required)repo: Repository name (string, required)get_commit - Get commit details
repoinclude_diff: Whether to include file diffs and stats in the response. Default is true. (boolean, optional)owner: Repository owner (string, required)page: Page number for pagination (min 1) (number, optional)perPage: Results per page for pagination (min 1, max 100) (number, optional)repo: Repository name (string, required)sha: Commit SHA, branch name, or tag name (string, required)get_file_contents - Get file or directory contents
repoowner: Repository owner (username or organization) (string, required)path: Path to file/directory (string, optional)ref: Accepts optional git refs such as refs/tags/{tag}, refs/heads/{branch} or refs/pull/{pr_number}/head (string, optional)repo: Repository name (string, required)sha: Accepts optional commit SHA. If specified, it will be used instead of ref (string, optional)get_latest_release - Get latest release
repoowner: Repository owner (string, required)repo: Repository name (string, required)get_release_by_tag - Get a release by tag name
repoowner: Repository owner (string, required)repo: Repository name (string, required)tag: Tag name (e.g., 'v1.0.0') (string, required)get_tag - Get tag details
repoowner: Repository owner (string, required)repo: Repository name (string, required)tag: Tag name (string, required)list_branches - List branches
repoowner: Repository owner (string, required)page: Page number for pagination (min 1) (number, optional)perPage: Results per page for pagination (min 1, max 100) (number, optional)repo: Repository name (string, required)list_commits - List commits
repoauthor: Author username or email address to filter commits by (string, optional)owner: Repository owner (string, required)page: Page number for pagination (min 1) (number, optional)perPage: Results per page for pagination (min 1, max 100) (number, optional)repo: Repository name (string, required)sha: Commit SHA, branch or tag name to list commits of. If not provided, uses the default branch of the repository. If a commit SHA is provided, will list commits up to that SHA. (string, optional)list_releases - List releases
repoowner: Repository owner (string, required)page: Page number for pagination (min 1) (number, optional)perPage: Results per page for pagination (min 1, max 100) (number, optional)repo: Repository name (string, required)list_tags - List tags
repoowner: Repository owner (string, required)page: Page number for pagination (min 1) (number, optional)perPage: Results per page for pagination (min 1, max 100) (number, optional)repo: Repository name (string, required)push_files - Push files to repository
repobranch: Branch to push to (string, required)files: Array of file objects to push, each object with path (string) and content (string) (object[], required)message: Commit message (string, required)owner: Repository owner (string, required)repo: Repository name (string, required)search_code - Search code
repoorder: Sort order for results (string, optional)page: Page number for pagination (min 1) (number, optional)perPage: Results per page for pagination (min 1, max 100) (number, optional)query: Search query using GitHub's powerful code search syntax. Examples: 'content:Skill language:Java org:github', 'NOT is:archived language:Python OR language:go', 'repo:aifity/omnigit-mcp'. Supports exact matching, language filters, path filters, and more. (string, required)sort: Sort field ('indexed' only) (string, optional)search_repositories - Search repositories
repominimal_output: Return minimal repository information (default: true). When false, returns full GitHub API repository objects. (boolean, optional)order: Sort order (string, optional)page: Page number for pagination (min 1) (number, optional)perPage: Results per page for pagination (min 1, max 100) (number, optional)query: Repository search query. Examples: 'machine learning in:name stars:>1000 language:python', 'topic:react', 'user:facebook'. Supports advanced search syntax for precise filtering. (string, required)sort: Sort repositories by field, defaults to best match (string, optional)
get_secret_scanning_alert - Get secret scanning alert
security_eventsrepo, security_eventsalertNumber: The number of the alert. (number, required)owner: The owner of the repository. (string, required)repo: The name of the repository. (string, required)list_secret_scanning_alerts - List secret scanning alerts
security_eventsrepo, security_eventsowner: The owner of the repository. (string, required)repo: The name of the repository. (string, required)resolution: Filter by resolution (string, optional)secret_type: A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. (string, optional)state: Filter by state (string, optional)
get_global_security_advisory - Get a global security advisory
security_eventsrepo, security_eventsghsaId: GitHub Security Advisory ID (format: GHSA-xxxx-xxxx-xxxx). (string, required)list_global_security_advisories - List global security advisories
security_eventsrepo, security_eventsaffects: Filter advisories by affected package or version (e.g. "package1,package2@1.0.0"). (string, optional)cveId: Filter by CVE ID. (string, optional)cwes: Filter by Common Weakness Enumeration IDs (e.g. ["79", "284", "22"]). (string[], optional)ecosystem: Filter by package ecosystem. (string, optional)ghsaId: Filter by GitHub Security Advisory ID (format: GHSA-xxxx-xxxx-xxxx). (string, optional)isWithdrawn: Whether to only return withdrawn advisories. (boolean, optional)modified: Filter by publish or update date or date range (ISO 8601 date or range). (string, optional)published: Filter by publish date or date range (ISO 8601 date or range). (string, optional)severity: Filter by severity. (string, optional)type: Advisory type. (string, optional)updated: Filter by update date or date range (ISO 8601 date or range). (string, optional)list_org_repository_security_advisories - List org repository security advisories
security_eventsrepo, security_eventsdirection: Sort direction. (string, optional)org: The organization login. (string, required)sort: Sort field. (string, optional)state: Filter by advisory state. (string, optional)list_repository_security_advisories - List repository security advisories
security_eventsrepo, security_eventsdirection: Sort direction. (string, optional)owner: The owner of the repository. (string, required)repo: The name of the repository. (string, required)sort: Sort field. (string, optional)state: Filter by advisory state. (string, optional)
list_starred_repositories - List starred repositories
repodirection: The direction to sort the results by. (string, optional)page: Page number for pagination (min 1) (number, optional)perPage: Results per page for pagination (min 1, max 100) (number, optional)sort: How to sort the results. Can be either 'created' (when the repository was starred) or 'updated' (when the repository was last pushed to). (string, optional)username: Username to list starred repositories for. Defaults to the authenticated user. (string, optional)star_repository - Star repository
repoowner: Repository owner (string, required)repo: Repository name (string, required)unstar_repository - Unstar repository
repoowner: Repository owner (string, required)repo: Repository name (string, required)
repoorder: Sort order (string, optional)page: Page number for pagination (min 1) (number, optional)perPage: Results per page for pagination (min 1, max 100) (number, optional)query: User search query. Examples: 'john smith', 'location:seattle', 'followers:>100'. Search is automatically scoped to type:user. (string, required)sort: Sort users by number of followers or repositories, or when the person joined GitHub. (string, optional)owner: Repository owner. You can guess the owner, but confirm it with the user before proceeding. (string, required)repo: Repository name. You can guess the repository name, but confirm it with the user before proceeding. (string, required)problem_statement: Detailed description of the task to be performed (e.g., 'Implement a feature that does X', 'Fix bug Y', etc.) (string, required)title: Title for the pull request that will be created (string, required)base_ref: Git reference (e.g., branch) that the agent will start its work from. If not specified, defaults to the repository's default branch (string, optional)get_copilot_space - Get Copilot Space
owner: The owner of the space. (string, required)name: The name of the space. (string, required)list_copilot_spaces - List Copilot Spaces
query: Input from the user about the question they need answered. This is the latest raw unedited user message. You should ALWAYS leave the user message as it is, you should never modify it. (string, required)Note: This feature is currently in beta and is not available in the Remote GitHub MCP Server. Please test it out and let us know if you encounter any issues.
Instead of starting with all tools enabled, you can turn on dynamic toolset discovery. Dynamic toolsets allow the MCP host to list and enable toolsets in response to a user prompt. This should help to avoid situations where the model gets confused by the sheer number of tools available.
When using the binary, you can pass the --dynamic-toolsets flag.
./omnigit-mcp --dynamic-toolsets
When using Docker, you can pass the toolsets as environment variables:
docker run -i --rm \
-e GITHUB_PERSONAL_ACCESS_TOKEN=<your-token> \
-e GITHUB_DYNAMIC_TOOLSETS=1 \
ghcr.io/aifity/omnigit-mcp
To run the server in read-only mode, you can use the --read-only flag. This will only offer read-only tools, preventing any modifications to repositories, issues, pull requests, etc.
./omnigit-mcp --read-only
When using Docker, you can pass the read-only mode as an environment variable:
docker run -i --rm \
-e GITHUB_PERSONAL_ACCESS_TOKEN=<your-token> \
-e GITHUB_READ_ONLY=1 \
ghcr.io/aifity/omnigit-mcp
Lockdown mode limits the content that the server will surface from public repositories. When enabled, the server checks whether the author of each item has push access to the repository. Private repositories are unaffected, and collaborators keep full access to their own content.
./omnigit-mcp --lockdown-mode
When running with Docker, set the corresponding environment variable:
docker run -i --rm \
-e GITHUB_PERSONAL_ACCESS_TOKEN=<your-token> \
-e GITHUB_LOCKDOWN_MODE=1 \
ghcr.io/aifity/omnigit-mcp
The behavior of lockdown mode depends on the tool invoked.
Following tools will return an error when the author lacks the push access:
issue_read:getpull_request_read:getFollowing tools will filter out content from users lacking the push access:
issue_read:get_commentsissue_read:get_sub_issuespull_request_read:get_commentspull_request_read:get_review_commentspull_request_read:get_reviewsThe descriptions of the tools can be overridden by creating a
omnigit-mcp-config.json file in the same directory as the binary.
In addition to translation overrides, the same config file can also define a
filter_patterns array (Go regex patterns) used to filter out unwanted trailers
from:
local_git toolset)By default, the server filters:
Co-Authored-By: trailers---\nPull Request opened by [Tool](url) with guidance from ...Example:
{
"filter_patterns": [
"(?m)^Co-Authored-By:.*$",
"(?s)---\\s*Pull Request opened by \\[[^\\]]+\\]\\([^)]+\\) with guidance from [^\\n]+"
],
"TOOL_ADD_ISSUE_COMMENT_DESCRIPTION": "an alternative description",
"TOOL_CREATE_BRANCH_DESCRIPTION": "Create a new branch in a GitHub repository"
}
You can create an export of the current translations by running the binary with
the --export-translations flag.
This flag will preserve any translations/overrides you have made (and will keep
any existing filter_patterns), while adding any new translations that have been
added to the binary since the last time you exported.
./omnigit-mcp --export-translations
cat omnigit-mcp-config.json
You can also use ENV vars to override the descriptions. The environment
variable names are the same as the keys in the JSON file, prefixed with
GITHUB_MCP_ and all uppercase.
For example, to override the TOOL_ADD_ISSUE_COMMENT_DESCRIPTION tool, you can
set the following environment variable:
export GITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION="an alternative description"
The exported Go API of this module should currently be considered unstable, and subject to breaking changes. In the future, we may offer stability; please file an issue if there is a use case where this would be valuable.
This project is licensed under the terms of the MIT open source license. Please refer to MIT for the full terms.
ray0907/git-mcp-server
cyanheads/git-mcp-server
io.github.b1ff/atlassian-dc-mcp-bitbucket
io.github.b1ff/atlassian-dc-mcp-jira
com.mcparmory/atlassian-jira
sirlordt/vscode-terminal-mcp