diff --git a/documentation/src/pages/extensions/detail.tsx b/documentation/src/pages/extensions/detail.tsx index a736b963d492..734be4d947de 100644 --- a/documentation/src/pages/extensions/detail.tsx +++ b/documentation/src/pages/extensions/detail.tsx @@ -167,6 +167,34 @@ const getDocumentationPath = (serverId: string): string => { )} + {server.headers && server.headers.length > 0 && ( +
+

+ Request Headers +

+
+ {server.headers.map((header) => ( +
+
+ {header.name} +
+
+ {header.description} +
+ {header.required && ( + + Required + + )} +
+ ))} +
+
+ )} +
{githubStars !== null && ( `env=${encodeURIComponent(`${env.name}=${env.description}`)}` ), + ...(server.headers || []) + .filter((header) => header.required) + .map( + (header) => `header=${encodeURIComponent(`${header.name}=${header.description}`)}` + ), ].join("&"); return `goose://extension?${queryParams}`; diff --git a/documentation/static/servers.json b/documentation/static/servers.json index 9874bee926a3..693619536fed 100644 --- a/documentation/static/servers.json +++ b/documentation/static/servers.json @@ -285,13 +285,14 @@ "description": "GitHub repository management and operations", "url": "https://api.githubcopilot.com/mcp/", "link": "https://github.com/github/github-mcp-server", - "installation_notes": "This is a remote extension. Configure using the endpoint URL in Goose settings.", + "installation_notes": "This is a remote extension that requires a GitHub Personal Access Token as a Request Header e.g Authorization: Bearer .", "is_builtin": false, "endorsed": true, - "environmentVariables": [ + "environmentVariables": [], + "headers": [ { - "name": "GITHUB_PERSONAL_ACCESS_TOKEN", - "description": "Required environment variable", + "name": "Authorization", + "description": "Bearer ", "required": true } ],