docs: misc updates for extensions directory (#5035)

Co-authored-by: Amed Rodriguez <amed@squareup.com>
This commit is contained in:
dianed-square
2025-10-07 14:02:56 -07:00
committed by GitHub
parent 7c5db32556
commit 00302f5c89
5 changed files with 25 additions and 23 deletions
+3 -3
View File
@@ -85,7 +85,7 @@ export function ServerCard({ server }: { server: MCPServer }) {
</div>
)}
{!server.is_builtin && (
{!server.is_builtin && (server.show_install_command !== false) && (
<>
<button
onClick={() => setIsCommandVisible(!isCommandVisible)}
@@ -139,7 +139,7 @@ export function ServerCard({ server }: { server: MCPServer }) {
>
Built-in
</div>
) : (
) : server.show_install_link !== false ? (
<a
href={getGooseInstallLink(server)}
target="_blank"
@@ -149,7 +149,7 @@ export function ServerCard({ server }: { server: MCPServer }) {
<span>Install</span>
<Download className="h-4 w-4" />
</a>
)}
) : null}
</div>
</div>
</div>
@@ -103,7 +103,7 @@ const getDocumentationPath = (serverId: string): string => {
Can be enabled on the Extensions page in Goose
</span>
</div>
) : (
) : server.show_install_command !== false ? (
<>
<div className="flex items-center gap-2 text-textStandard">
<Terminal className="h-4 w-4" />
@@ -129,7 +129,7 @@ const getDocumentationPath = (serverId: string): string => {
)}
</div>
</>
)}
) : null}
</div>
{server.environmentVariables && (
@@ -215,7 +215,7 @@ const getDocumentationPath = (serverId: string): string => {
>
Built-in
</div>
) : (
) : server.show_install_link !== false ? (
<a
href={getGooseInstallLink(server)}
target="_blank"
@@ -225,7 +225,7 @@ const getDocumentationPath = (serverId: string): string => {
<span>Install</span>
<Download className="h-4 w-4" />
</a>
)}
) : null}
</div>
</div>
</div>
+2
View File
@@ -9,6 +9,8 @@ export interface MCPServer {
installation_notes: string;
is_builtin: boolean;
endorsed: boolean;
show_install_link?: boolean;
show_install_command?: boolean;
environmentVariables: {
name: string;
description: string;