You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/copilot-instructions.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ This is the **GitHub MCP Server**, a Model Context Protocol (MCP) server that co
9
9
-**Type:** MCP server application with CLI interface
10
10
-**Primary Package:** github-mcp-server (stdio MCP server - **this is the main focus**)
11
11
-**Secondary Package:** mcpcurl (testing utility - don't break it, but not the priority)
12
-
-**Framework:** Uses mark3labs/mcp-go for MCP protocol, google/go-github for GitHub API
12
+
-**Framework:** Uses modelcontextprotocol/go-sdk for MCP protocol, google/go-github for GitHub API
13
13
-**Size:**~60MB repository, 70 Go files
14
14
-**Library Usage:** This repository is also used as a library by the remote server. Functions that could be called by other repositories should be exported (capitalized), even if not required internally. Preserve existing export patterns.
You are a triage assistant for the GitHub MCP Server repository. This is a Model Context Protocol (MCP) server that connects AI tools to GitHub's platform, enabling AI agents to manage repositories, issues, pull requests, workflows, and more.
5
+
6
+
Your job is to analyze bug reports and assess their completeness.
7
+
8
+
Analyze the issue for these key elements:
9
+
1. Clear description of the problem
10
+
2. Affected version (from running `docker run -i --rm ghcr.io/github/github-mcp-server ./github-mcp-server --version`)
11
+
3. Steps to reproduce the behavior
12
+
4. Expected vs actual behavior
13
+
5. Relevant logs (if applicable)
14
+
15
+
Provide ONE of these assessments:
16
+
17
+
### AI Assessment: Ready for Review
18
+
Use when the bug report has most required information and can be triaged by a maintainer.
19
+
20
+
### AI Assessment: Missing Details
21
+
Use when critical information is missing (no reproduction steps, no version info, unclear problem description).
22
+
23
+
### AI Assessment: Unsure
24
+
Use when you cannot determine the completeness of the report.
25
+
26
+
After your assessment header, provide a brief explanation of your rating.
27
+
If details are missing, note which specific sections need more information.
You are a triage assistant for the GitHub MCP Server repository. This is a Model Context Protocol (MCP) server that connects AI tools to GitHub's platform, enabling AI agents to manage repositories, issues, pull requests, workflows, and more.
5
+
6
+
Your job is to analyze new issues and help categorize them.
7
+
8
+
Analyze the issue to determine:
9
+
1. Is this a bug report, feature request, question, or something else?
10
+
2. Is the issue clear and well-described?
11
+
3. Does it contain enough information for maintainers to act on?
12
+
13
+
Provide ONE of these assessments:
14
+
15
+
### AI Assessment: Ready for Review
16
+
Use when the issue is clear, well-described, and contains enough context for maintainers to understand and act on it.
17
+
18
+
### AI Assessment: Missing Details
19
+
Use when the issue is unclear, lacks context, or needs more information to be actionable.
20
+
21
+
### AI Assessment: Unsure
22
+
Use when you cannot determine the nature or completeness of the issue.
23
+
24
+
After your assessment header, provide a brief explanation including:
25
+
- What type of issue this appears to be (bug, feature request, question, etc.)
26
+
- What additional information might be helpful if any
Copy file name to clipboardExpand all lines: README.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -328,6 +328,8 @@ _Toolsets are not limited to Tools. Relevant MCP Resources and Prompts are also
328
328
329
329
When no toolsets are specified, [default toolsets](#default-toolset) are used.
330
330
331
+
> **Looking for examples?** See the [Server Configuration Guide](./docs/server-configuration.md) for common recipes like minimal setups, read-only mode, and combining tools with toolsets.
332
+
331
333
#### Specifying Toolsets
332
334
333
335
To specify toolsets you want available to the LLM, you can pass an allow-list in two ways:
@@ -717,8 +719,8 @@ The following sets of tools are available:
717
719
718
720
-**issue_read** - Get issue details
719
721
-`issue_number`: The number of the issue (number, required)
720
-
-`method`: The read operation to perform on a single issue.
721
-
Options are:
722
+
-`method`: The read operation to perform on a single issue.
723
+
Options are:
722
724
1. get - Get details of a specific issue.
723
725
2. get_comments - Get issue comments.
724
726
3. get_sub_issues - Get sub-issues of the issue.
@@ -736,8 +738,8 @@ Options are:
736
738
-`issue_number`: Issue number to update (number, optional)
737
739
-`labels`: Labels to apply to this issue (string[], optional)
738
740
-`method`: Write operation to perform on a single issue.
739
-
Options are:
740
-
- 'create' - creates a new issue.
741
+
Options are:
742
+
- 'create' - creates a new issue.
741
743
- 'update' - updates an existing issue.
742
744
(string, required)
743
745
-`milestone`: Milestone number (number, optional)
@@ -817,7 +819,7 @@ Options are:
817
819
<summary>Notifications</summary>
818
820
819
821
-**dismiss_notification** - Dismiss notification
820
-
-`state`: The new state of the notification (read/done) (string, optional)
822
+
-`state`: The new state of the notification (read/done) (string, required)
821
823
-`threadID`: The ID of the notification thread (string, required)
822
824
823
825
-**get_notification_details** - Get notification details
Copy file name to clipboardExpand all lines: docs/remote-server.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,18 +53,23 @@ These toolsets are only available in the remote GitHub MCP Server and are not in
53
53
54
54
### Optional Headers
55
55
56
-
The Remote GitHub MCP server has optional headers equivalent to the Local server env vars:
56
+
The Remote GitHub MCP server has optional headers equivalent to the Local server env vars or flags:
57
57
58
58
-`X-MCP-Toolsets`: Comma-separated list of toolsets to enable. E.g. "repos,issues".
59
-
- Equivalent to `GITHUB_TOOLSETS` env var for Local server.
59
+
- Equivalent to `GITHUB_TOOLSETS` env var or `--toolsets` flag for Local server.
60
60
- If the list is empty, default toolsets will be used. Invalid or unknown toolsets are silently ignored without error and will not prevent the server from starting. Whitespace is ignored.
61
+
-`X-MCP-Tools`: Comma-separated list of tools to enable. E.g. "get_file_contents,issue_read,pull_request_read".
62
+
- Equivalent to `GITHUB_TOOLS` env var or `--tools` flag for Local server.
63
+
- Invalid tools will throw an error and prevent the server from starting. Whitespace is ignored.
61
64
-`X-MCP-Readonly`: Enables only "read" tools.
62
65
- Equivalent to `GITHUB_READ_ONLY` env var for Local server.
63
66
- If this header is empty, "false", "f", "no", "n", "0", or "off" (ignoring whitespace and case), it will be interpreted as false. All other values are interpreted as true.
64
67
-`X-MCP-Lockdown`: Enables lockdown mode, hiding public issue details created by users without push access.
65
68
- Equivalent to `GITHUB_LOCKDOWN_MODE` env var for Local server.
66
69
- If this header is empty, "false", "f", "no", "n", "0", or "off" (ignoring whitespace and case), it will be interpreted as false. All other values are interpreted as true.
67
70
71
+
> **Looking for examples?** See the [Server Configuration Guide](./server-configuration.md) for common recipes like minimal setups, read-only mode, and combining tools with toolsets.
0 commit comments