Skip to content

Commit e961e25

Browse files
authored
Merge branch 'main' into matt/registry-pipeline-version-change
2 parents f6ea140 + 6793b9d commit e961e25

24 files changed

+2586
-69
lines changed

.github/workflows/code-scanning.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
with:
6464
language: ${{ matrix.language }}
6565
- name: Setup Go
66-
uses: actions/setup-go@v5
66+
uses: actions/setup-go@v6
6767
if: matrix.language == 'go' && fromJSON(steps.resolve-environment.outputs.environment).configuration.go.version
6868
with:
6969
go-version: ${{ fromJSON(steps.resolve-environment.outputs.environment).configuration.go.version }}

.github/workflows/docker-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
# https://github.com/sigstore/cosign-installer
4747
- name: Install cosign
4848
if: github.event_name != 'pull_request'
49-
uses: sigstore/cosign-installer@59acb6260d9c0ba8f4a2f9d9b48431a222b68e20 #v3.5.0
49+
uses: sigstore/cosign-installer@d7543c93d881b35a8faa02e8e3605f69b7a1ce62 #v3.10.0
5050
with:
5151
cosign-release: "v2.2.4"
5252

@@ -101,7 +101,7 @@ jobs:
101101
# https://github.com/docker/build-push-action
102102
- name: Build and push Docker image
103103
id: build-and-push
104-
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0
104+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
105105
with:
106106
context: .
107107
push: ${{ github.event_name != 'pull_request' }}

.github/workflows/docs-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
uses: actions/checkout@v5
1818

1919
- name: Set up Go
20-
uses: actions/setup-go@v5
20+
uses: actions/setup-go@v6
2121
with:
2222
go-version-file: 'go.mod'
2323

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: actions/checkout@v5
1919

2020
- name: Set up Go
21-
uses: actions/setup-go@v5
21+
uses: actions/setup-go@v6
2222
with:
2323
go-version-file: "go.mod"
2424

.github/workflows/goreleaser.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ jobs:
1717
uses: actions/checkout@v5
1818

1919
- name: Set up Go
20-
uses: actions/setup-go@v5
20+
uses: actions/setup-go@v6
2121
with:
2222
go-version-file: "go.mod"
2323

2424
- name: Download dependencies
2525
run: go mod download
2626

2727
- name: Run GoReleaser
28-
uses: goreleaser/goreleaser-action@9c156ee8a17a598857849441385a2041ef570552
28+
uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a
2929
with:
3030
distribution: goreleaser
3131
# GoReleaser version

.github/workflows/license-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
uses: actions/checkout@v5
1515

1616
- name: Set up Go
17-
uses: actions/setup-go@v5
17+
uses: actions/setup-go@v6
1818
with:
1919
go-version-file: "go.mod"
2020
- name: check licenses

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v5
17-
- uses: actions/setup-go@v5
17+
- uses: actions/setup-go@v6
1818
with:
1919
go-version: stable
2020
- name: golangci-lint

README.md

Lines changed: 51 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -658,14 +658,62 @@ The following sets of tools are available (all are on by default):
658658

659659
<summary>Projects</summary>
660660

661+
- **add_project_item** - Add project item
662+
- `item_id`: The numeric ID of the issue or pull request to add to the project. (number, required)
663+
- `item_type`: The item's type, either issue or pull_request. (string, required)
664+
- `owner`: If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive. (string, required)
665+
- `owner_type`: Owner type (string, required)
666+
- `project_number`: The project's number. (number, required)
667+
668+
- **delete_project_item** - Delete project item
669+
- `item_id`: The internal project item ID to delete from the project (not the issue or pull request ID). (number, required)
670+
- `owner`: If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive. (string, required)
671+
- `owner_type`: Owner type (string, required)
672+
- `project_number`: The project's number. (number, required)
673+
674+
- **get_project** - Get project
675+
- `owner`: If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive. (string, required)
676+
- `owner_type`: Owner type (string, required)
677+
- `project_number`: The project's number (number, required)
678+
679+
- **get_project_field** - Get project field
680+
- `field_id`: The field's id. (number, required)
681+
- `owner`: If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive. (string, required)
682+
- `owner_type`: Owner type (string, required)
683+
- `project_number`: The project's number. (number, required)
684+
685+
- **get_project_item** - Get project item
686+
- `item_id`: The item's ID. (number, required)
687+
- `owner`: If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive. (string, required)
688+
- `owner_type`: Owner type (string, required)
689+
- `project_number`: The project's number. (number, required)
690+
691+
- **list_project_fields** - List project fields
692+
- `owner`: If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive. (string, required)
693+
- `owner_type`: Owner type (string, required)
694+
- `per_page`: Number of results per page (max 100, default: 30) (number, optional)
695+
- `project_number`: The project's number. (number, required)
696+
697+
- **list_project_items** - List project items
698+
- `owner`: If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive. (string, required)
699+
- `owner_type`: Owner type (string, required)
700+
- `per_page`: Number of results per page (max 100, default: 30) (number, optional)
701+
- `project_number`: The project's number. (number, required)
702+
- `query`: Search query to filter items (string, optional)
703+
661704
- **list_projects** - List projects
662-
- `after`: Cursor for items after (forward pagination) (string, optional)
663-
- `before`: Cursor for items before (backwards pagination) (string, optional)
664-
- `owner`: If owner_type == user it is the handle for the GitHub user account. If owner_type == organization it is the name of the organization. The name is not case sensitive. (string, required)
705+
- `owner`: If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive. (string, required)
665706
- `owner_type`: Owner type (string, required)
666707
- `per_page`: Number of results per page (max 100, default: 30) (number, optional)
667708
- `query`: Filter projects by a search query (matches title and description) (string, optional)
668709

710+
- **update_project_item** - Update project item
711+
- `fields`: A list of field updates to apply. (array, required)
712+
- `item_id`: The numeric ID of the project item to update (not the issue or pull request ID). (number, required)
713+
- `owner`: If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive. (string, required)
714+
- `owner_type`: Owner type (string, required)
715+
- `project_number`: The project's number. (number, required)
716+
669717
</details>
670718

671719
<details>

internal/ghmcp/server.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ func NewMCPServer(cfg MCPServerConfig) (*server.MCPServer, error) {
118118

119119
// Generate instructions based on enabled toolsets
120120
instructions := github.GenerateInstructions(enabledToolsets)
121-
122-
ghServer := github.NewServer(cfg.Version,
121+
122+
ghServer := github.NewServer(cfg.Version,
123123
server.WithInstructions(instructions),
124124
server.WithHooks(hooks),
125125
)
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"annotations": {
3+
"title": "Add project item",
4+
"readOnlyHint": false
5+
},
6+
"description": "Add a specific Project item for a user or org",
7+
"inputSchema": {
8+
"properties": {
9+
"item_id": {
10+
"description": "The numeric ID of the issue or pull request to add to the project.",
11+
"type": "number"
12+
},
13+
"item_type": {
14+
"description": "The item's type, either issue or pull_request.",
15+
"enum": [
16+
"issue",
17+
"pull_request"
18+
],
19+
"type": "string"
20+
},
21+
"owner": {
22+
"description": "If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive.",
23+
"type": "string"
24+
},
25+
"owner_type": {
26+
"description": "Owner type",
27+
"enum": [
28+
"user",
29+
"org"
30+
],
31+
"type": "string"
32+
},
33+
"project_number": {
34+
"description": "The project's number.",
35+
"type": "number"
36+
}
37+
},
38+
"required": [
39+
"owner_type",
40+
"owner",
41+
"project_number",
42+
"item_type",
43+
"item_id"
44+
],
45+
"type": "object"
46+
},
47+
"name": "add_project_item"
48+
}

0 commit comments

Comments
 (0)