Skip to content

Commit f21dcd3

Browse files
fix(ui): advertise get_me as an app via _meta.ui.visibility (#2503)
1 parent c88d2ec commit f21dcd3

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

pkg/github/__toolsnaps__/get_me.snap

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
22
"_meta": {
33
"ui": {
4-
"resourceUri": "ui://github-mcp-server/get-me"
4+
"resourceUri": "ui://github-mcp-server/get-me",
5+
"visibility": [
6+
"model",
7+
"app"
8+
]
59
}
610
},
711
"annotations": {

pkg/github/context_tools.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ func GetMe(t translations.TranslationHelperFunc) inventory.ServerTool {
5858
Meta: mcp.Meta{
5959
"ui": map[string]any{
6060
"resourceUri": GetMeUIResourceURI,
61+
"visibility": []string{"model", "app"},
6162
},
6263
},
6364
},

0 commit comments

Comments
 (0)