Skip to content

Commit 7230856

Browse files
Add GitHub mark icon to server metadata
Add the mark-github octicon to the server's Implementation struct so that MCP clients can display the GitHub logo for this server. The icon is provided in both 16x16 and 24x24 SVG sizes.
1 parent 38a6914 commit 7230856

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/github/server.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import (
88
"strconv"
99
"strings"
1010

11+
"github.com/github/github-mcp-server/pkg/octicons"
1112
"github.com/github/github-mcp-server/pkg/utils"
1213
"github.com/google/go-github/v79/github"
1314
"github.com/google/jsonschema-go/jsonschema"
@@ -26,6 +27,7 @@ func NewServer(version string, opts *mcp.ServerOptions) *mcp.Server {
2627
Name: "github-mcp-server",
2728
Title: "GitHub MCP Server",
2829
Version: version,
30+
Icons: octicons.Icons("mark-github"),
2931
}, opts)
3032

3133
return s

0 commit comments

Comments
 (0)