Skip to content

Commit f714418

Browse files
committed
Add OpenCode setup with correct config format
OpenCode uses opencode.json with 'mcp' key and 'type: remote' for HTTP servers
1 parent 6074c73 commit f714418

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

src/marketing-page.ts

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,13 +464,28 @@ export const MARKETING_PAGE_HTML = `<!DOCTYPE html>
464464
</div>
465465
</div>
466466
<div class="setup-card">
467-
<h3>Claude Code / OpenCode</h3>
467+
<h3>Claude Code</h3>
468468
<p>Run this command in your terminal:</p>
469469
<div class="code-wrap">
470470
<code>claude mcp add --transport http lastfm https://lastfm-mcp.com/mcp</code>
471471
<button class="copy-btn" onclick="copyCode(this)">Copy</button>
472472
</div>
473473
</div>
474+
<div class="setup-card">
475+
<h3>OpenCode</h3>
476+
<p class="config-path">opencode.json</p>
477+
<div class="code-wrap">
478+
<code>{
479+
"mcp": {
480+
"lastfm": {
481+
"type": "remote",
482+
"url": "https://lastfm-mcp.com/mcp"
483+
}
484+
}
485+
}</code>
486+
<button class="copy-btn" onclick="copyCode(this)">Copy</button>
487+
</div>
488+
</div>
474489
<div class="setup-card">
475490
<h3>Cursor</h3>
476491
<p class="config-path">~/.cursor/mcp.json</p>

0 commit comments

Comments
 (0)