Skip to content

Commit ad8540f

Browse files
committed
Rename create issue tool and add snapshot
1 parent 87a4770 commit ad8540f

13 files changed

+785
-0
lines changed

README.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ The following sets of tools are available (all are on by default):
271271
| `issues` | Issue-related tools (create, read, update, comment) |
272272
| `notifications` | GitHub Notifications related tools |
273273
| `pull_requests` | Pull request operations (create, merge, review) |
274+
| `projects` | Manage GitHub Projects V2 |
274275
| `repos` | Repository-related tools (file operations, branches, commits) |
275276
| `secret_protection` | Secret protection related tools, such as GitHub Secret Scanning |
276277
| `users` | Anything relating to GitHub Users |
@@ -640,6 +641,47 @@ export GITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION="an alternative description
640641
- `pullNumber`: Pull request number (number, required)
641642
- _Note_: Currently, this tool will only work for github.com
642643

644+
### Projects
645+
646+
- **list_projects** - List projects for a user or organization
647+
- `owner`: Owner login (string, required)
648+
- `owner_type`: Owner type ('user' or 'organization', optional)
649+
650+
- **get_project_fields** - Get fields for a project
651+
- `owner`: Owner login (string, required)
652+
- `owner_type`: Owner type ('user' or 'organization', optional)
653+
- `number`: Project number (number, required)
654+
655+
- **get_project_items** - Get items for a project
656+
- `owner`: Owner login (string, required)
657+
- `owner_type`: Owner type ('user' or 'organization', optional)
658+
- `number`: Project number (number, required)
659+
660+
- **create_project_issue** - Create a new issue in a repository
661+
- `owner`: Repository owner (string, required)
662+
- `repo`: Repository name (string, required)
663+
- `title`: Issue title (string, required)
664+
- `body`: Issue body (string, optional)
665+
666+
- **add_issue_to_project** - Add an issue to a project
667+
- `project_id`: Project node ID (string, required)
668+
- `issue_id`: Issue node ID (string, required)
669+
670+
- **update_project_item_field** - Update a project item field value
671+
- `project_id`: Project node ID (string, required)
672+
- `item_id`: Item node ID (string, required)
673+
- `field_id`: Field node ID (string, required)
674+
- `text_value`: New text value (string, optional)
675+
676+
- **create_draft_issue** - Create a draft issue in a project
677+
- `project_id`: Project node ID (string, required)
678+
- `title`: Draft issue title (string, required)
679+
- `body`: Draft issue body (string, optional)
680+
681+
- **delete_project_item** - Delete an item from a project
682+
- `project_id`: Project node ID (string, required)
683+
- `item_id`: Item node ID (string, required)
684+
643685
### Repositories
644686

645687
- **create_or_update_file** - Create or update a single file in a repository

docs/remote-server.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Below is a table of available toolsets for the remote GitHub MCP Server. Each to
2222
| issues | GitHub Issues related tools | https://api.githubcopilot.com/mcp/x/issues | [Install](https://insiders.vscode.dev/redirect/mcp/install?name=gh-issues&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Fissues%22%7D) | [read-only](https://api.githubcopilot.com/mcp/x/issues/readonly) | [Install read-only](https://insiders.vscode.dev/redirect/mcp/install?name=gh-issues&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Fissues%2Freadonly%22%7D) |
2323
| notifications | GitHub Notifications related tools | https://api.githubcopilot.com/mcp/x/notifications | [Install](https://insiders.vscode.dev/redirect/mcp/install?name=gh-notifications&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Fnotifications%22%7D) | [read-only](https://api.githubcopilot.com/mcp/x/notifications/readonly) | [Install read-only](https://insiders.vscode.dev/redirect/mcp/install?name=gh-notifications&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Fnotifications%2Freadonly%22%7D)|
2424
| pull_requests | GitHub Pull Request related tools | https://api.githubcopilot.com/mcp/x/pull_requests | [Install](https://insiders.vscode.dev/redirect/mcp/install?name=gh-pull_requests&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Fpull_requests%22%7D) | [read-only](https://api.githubcopilot.com/mcp/x/pull_requests/readonly) | [Install read-only](https://insiders.vscode.dev/redirect/mcp/install?name=gh-pull_requests&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Fpull_requests%2Freadonly%22%7D)|
25+
| projects | Manage GitHub Projects V2 | https://api.githubcopilot.com/mcp/x/projects | [Install](https://insiders.vscode.dev/redirect/mcp/install?name=gh-projects&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Fprojects%22%7D) | [read-only](https://api.githubcopilot.com/mcp/x/projects/readonly) | [Install read-only](https://insiders.vscode.dev/redirect/mcp/install?name=gh-projects&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Fprojects%2Freadonly%22%7D)|
2526
| repos | GitHub Repository related tools | https://api.githubcopilot.com/mcp/x/repos | [Install](https://insiders.vscode.dev/redirect/mcp/install?name=gh-repos&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Frepos%22%7D) | [read-only](https://api.githubcopilot.com/mcp/x/repos/readonly) | [Install read-only](https://insiders.vscode.dev/redirect/mcp/install?name=gh-repos&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Frepos%2Freadonly%22%7D) |
2627
| secret_protection | Secret protection related tools, e.g. Secret Scanning | https://api.githubcopilot.com/mcp/x/secret_protection | [Install](https://insiders.vscode.dev/redirect/mcp/install?name=gh-secret_protection&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Fsecret_protection%22%7D) | [read-only](https://api.githubcopilot.com/mcp/x/secret_protection/readonly) | [Install read-only](https://insiders.vscode.dev/redirect/mcp/install?name=gh-secret_protection&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Fsecret_protection%2Freadonly%22%7D)|
2728
| users | GitHub User related tools | https://api.githubcopilot.com/mcp/x/users | [Install](https://insiders.vscode.dev/redirect/mcp/install?name=gh-users&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Fusers%22%7D) | [read-only](https://api.githubcopilot.com/mcp/x/users/readonly) | [Install read-only](https://insiders.vscode.dev/redirect/mcp/install?name=gh-users&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Fusers%2Freadonly%22%7D) |
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"annotations": {
3+
"title": "Add issue to project",
4+
"readOnlyHint": false
5+
},
6+
"description": "Add an issue to a project",
7+
"inputSchema": {
8+
"properties": {
9+
"issue_id": {
10+
"description": "Issue node ID",
11+
"type": "string"
12+
},
13+
"project_id": {
14+
"description": "Project ID",
15+
"type": "string"
16+
}
17+
},
18+
"required": [
19+
"project_id",
20+
"issue_id"
21+
],
22+
"type": "object"
23+
},
24+
"name": "add_issue_to_project"
25+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"annotations": {
3+
"title": "Create draft issue",
4+
"readOnlyHint": false
5+
},
6+
"description": "Create a draft issue in a project",
7+
"inputSchema": {
8+
"properties": {
9+
"body": {
10+
"description": "Issue body",
11+
"type": "string"
12+
},
13+
"project_id": {
14+
"description": "Project ID",
15+
"type": "string"
16+
},
17+
"title": {
18+
"description": "Issue title",
19+
"type": "string"
20+
}
21+
},
22+
"required": [
23+
"project_id",
24+
"title"
25+
],
26+
"type": "object"
27+
},
28+
"name": "create_draft_issue"
29+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"annotations": {
3+
"title": "Create issue",
4+
"readOnlyHint": false
5+
},
6+
"description": "Create a new issue",
7+
"inputSchema": {
8+
"properties": {
9+
"body": {
10+
"description": "Issue body",
11+
"type": "string"
12+
},
13+
"owner": {
14+
"description": "Repository owner",
15+
"type": "string"
16+
},
17+
"repo": {
18+
"description": "Repository name",
19+
"type": "string"
20+
},
21+
"title": {
22+
"description": "Issue title",
23+
"type": "string"
24+
}
25+
},
26+
"required": [
27+
"owner",
28+
"repo",
29+
"title"
30+
],
31+
"type": "object"
32+
},
33+
"name": "create_project_issue"
34+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"annotations": {
3+
"title": "Delete project item",
4+
"readOnlyHint": false
5+
},
6+
"description": "Delete a project item",
7+
"inputSchema": {
8+
"properties": {
9+
"item_id": {
10+
"description": "Item ID",
11+
"type": "string"
12+
},
13+
"project_id": {
14+
"description": "Project ID",
15+
"type": "string"
16+
}
17+
},
18+
"required": [
19+
"project_id",
20+
"item_id"
21+
],
22+
"type": "object"
23+
},
24+
"name": "delete_project_item"
25+
}
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"annotations": {
3+
"title": "Get project fields",
4+
"readOnlyHint": true
5+
},
6+
"description": "Get fields for a project",
7+
"inputSchema": {
8+
"properties": {
9+
"number": {
10+
"description": "Project number",
11+
"type": "number"
12+
},
13+
"owner": {
14+
"description": "Owner login",
15+
"type": "string"
16+
},
17+
"owner_type": {
18+
"description": "Owner type",
19+
"enum": [
20+
"user",
21+
"organization"
22+
],
23+
"type": "string"
24+
}
25+
},
26+
"required": [
27+
"owner",
28+
"number"
29+
],
30+
"type": "object"
31+
},
32+
"name": "get_project_fields"
33+
}
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"annotations": {
3+
"title": "Get project items",
4+
"readOnlyHint": true
5+
},
6+
"description": "Get items for a project",
7+
"inputSchema": {
8+
"properties": {
9+
"number": {
10+
"description": "Project number",
11+
"type": "number"
12+
},
13+
"owner": {
14+
"description": "Owner login",
15+
"type": "string"
16+
},
17+
"owner_type": {
18+
"description": "Owner type",
19+
"enum": [
20+
"user",
21+
"organization"
22+
],
23+
"type": "string"
24+
}
25+
},
26+
"required": [
27+
"owner",
28+
"number"
29+
],
30+
"type": "object"
31+
},
32+
"name": "get_project_items"
33+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"annotations": {
3+
"title": "List projects",
4+
"readOnlyHint": true
5+
},
6+
"description": "List Projects for a user or organization",
7+
"inputSchema": {
8+
"properties": {
9+
"owner": {
10+
"description": "Owner login (user or organization)",
11+
"type": "string"
12+
},
13+
"owner_type": {
14+
"description": "Owner type",
15+
"enum": [
16+
"user",
17+
"organization"
18+
],
19+
"type": "string"
20+
}
21+
},
22+
"required": [
23+
"owner"
24+
],
25+
"type": "object"
26+
},
27+
"name": "list_projects"
28+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"annotations": {
3+
"title": "Update project item field",
4+
"readOnlyHint": false
5+
},
6+
"description": "Update a project item field",
7+
"inputSchema": {
8+
"properties": {
9+
"field_id": {
10+
"description": "Field ID",
11+
"type": "string"
12+
},
13+
"item_id": {
14+
"description": "Item ID",
15+
"type": "string"
16+
},
17+
"project_id": {
18+
"description": "Project ID",
19+
"type": "string"
20+
},
21+
"text_value": {
22+
"description": "Text value",
23+
"type": "string"
24+
}
25+
},
26+
"required": [
27+
"project_id",
28+
"item_id",
29+
"field_id"
30+
],
31+
"type": "object"
32+
},
33+
"name": "update_project_item_field"
34+
}

0 commit comments

Comments
 (0)