Skip to content

Commit f238021

Browse files
committed
fix: update package references from github-mcp-server to github-mcp-http
feat: enhance update_project_item schema with field_id and value properties
1 parent 1e37a4a commit f238021

File tree

4 files changed

+25
-8
lines changed

4 files changed

+25
-8
lines changed

cmd/github-mcp-server/generate_docs.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ import (
99
"sort"
1010
"strings"
1111

12-
"github.com/github/github-mcp-server/pkg/github"
13-
"github.com/github/github-mcp-server/pkg/raw"
14-
"github.com/github/github-mcp-server/pkg/toolsets"
15-
"github.com/github/github-mcp-server/pkg/translations"
12+
"github.com/github/github-mcp-http/pkg/github"
13+
"github.com/github/github-mcp-http/pkg/raw"
14+
"github.com/github/github-mcp-http/pkg/toolsets"
15+
"github.com/github/github-mcp-http/pkg/translations"
1616
gogithub "github.com/google/go-github/v74/github"
1717
"github.com/mark3labs/mcp-go/mcp"
1818
"github.com/shurcooL/githubv4"

cmd/github-mcp-server/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"strings"
77
"time"
88

9-
"github.com/github/github-mcp-server/internal/ghmcp"
10-
"github.com/github/github-mcp-server/pkg/github"
9+
"github.com/github/github-mcp-http/internal/ghmcp"
10+
"github.com/github/github-mcp-http/pkg/github"
1111
"github.com/spf13/cobra"
1212
"github.com/spf13/pflag"
1313
"github.com/spf13/viper"
@@ -31,7 +31,7 @@ var (
3131
Short: "Start stdio server",
3232
Hidden: true,
3333
RunE: func(_ *cobra.Command, _ []string) error {
34-
return fmt.Errorf("stdio transport has been removed; run `github-mcp-server http` behind your OAuth proxy")
34+
return fmt.Errorf("stdio transport has been removed; run `github-mcp-http http` behind your OAuth proxy")
3535
},
3636
}
3737

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ require (
3131
github.com/fsnotify/fsnotify v1.8.0 // indirect
3232
github.com/go-viper/mapstructure/v2 v2.4.0
3333
github.com/google/go-github/v71 v71.0.0 // indirect
34-
github.com/google/go-querystring v1.1.0 // indirect
34+
github.com/google/go-querystring v1.1.0
3535
github.com/google/uuid v1.6.0 // indirect
3636
github.com/gorilla/mux v1.8.0 // indirect
3737
github.com/inconshreveable/mousetrap v1.1.0 // indirect

pkg/github/__toolsnaps__/update_project_item.snap

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,23 @@
88
"properties": {
99
"fields": {
1010
"description": "A list of field updates to apply.",
11+
"items": {
12+
"additionalProperties": false,
13+
"properties": {
14+
"field_id": {
15+
"description": "The ID of the field to update",
16+
"type": "string"
17+
},
18+
"value": {
19+
"description": "The value to set for the field"
20+
}
21+
},
22+
"required": [
23+
"field_id",
24+
"value"
25+
],
26+
"type": "object"
27+
},
1128
"type": "array"
1229
},
1330
"item_id": {

0 commit comments

Comments
 (0)