Skip to content

Commit 8f1118c

Browse files
author
Ondrej Machala
committed
feat: add MCP tab back to terminal
1 parent 49035b6 commit 8f1118c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/.vitepress/theme/components/CustomHero.vue

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,17 @@ const platforms = [
1717
{ id: 'curl', label: 'curl', command: 'curl -fsSL https://heroshot.sh/install.sh | bash' },
1818
{ id: 'brew', label: 'brew', command: 'brew install heroshot' },
1919
{ id: 'docker', label: 'docker', command: 'docker run -it heroshot/heroshot' },
20+
{
21+
id: 'mcp',
22+
label: 'MCP',
23+
command: `{
24+
"heroshot": {
25+
"command": "npx",
26+
"args": ["-y", "heroshot-mcp"]
27+
}
28+
}`,
29+
multiline: true,
30+
},
2031
];
2132
2233
const activePlatform = ref('npx');
@@ -449,6 +460,10 @@ const copyCommand = async () => {
449460
gap: 2px;
450461
}
451462
463+
.terminal-tabs button:last-child {
464+
margin-left: auto;
465+
}
466+
452467
.terminal-tabs button {
453468
display: inline-flex;
454469
align-items: center;

0 commit comments

Comments
 (0)