Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 6 additions & 15 deletions presets/mcp-intellij.conf
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
// @name: mcp-intellij
// @description: Connects opencode to a running JetBrains IDE
// (IntelliJ IDEA, PyCharm, WebStorm, GoLand, RustRover, etc.) via
// the official "MCP Server" plugin. Once enabled, opencode can see
// what you're doing in the IDE in real time — the currently open
// file, caret position, selected text, list of open editors, recent
// files, project structure, and diagnostics — and can drive the IDE
// back: open files, jump to symbols, run/debug configurations, and
// apply edits through the IDE's own refactoring engine. This makes
// "fix the thing I'm looking at" prompts work without copy-paste.
// Wired up as a remote HTTP MCP server at
// http://127.0.0.1:<port>/stream. IMPORTANT: the "MCP Server"
// plugin MUST be installed AND switched on in the IDE — opencode
// cannot reach the endpoint otherwise. Press Enter to accept the
// default port 64342. To remove:
// `opencode-presets remove mcp-intellij`.
// @description: Connects opencode to a running JetBrains IDE via the
// official "MCP Server" plugin. Lets opencode see IDE state (open
// file, selection, diagnostics) and drive it (open files, run
// configs, apply refactors). Wired as a remote HTTP MCP server at
// http://127.0.0.1:<port>/stream. REQUIRES the "MCP Server" plugin
// to be installed and enabled in the IDE. Default port 64342.
// @author: Jan <jan@trick77.com>
// @version: 0.1.0
// @path: mcp.intellij
Expand Down
3 changes: 1 addition & 2 deletions presets/mcp-remote-add-noauth.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
// any auth header. Prompts for the server identifier (the key under
// `mcp`, e.g. `my-server`) and the URL. Use this for MCP servers
// that are open or use OAuth (which opencode handles separately).
// For bearer-token auth, use mcp-remote-add instead. To remove a
// server installed this way, use `opencode-config reset mcp.<id>`.
// For bearer-token auth, use mcp-remote-add instead.
// @author: Jan <jan@trick77.com>
// @version: 0.1.0
// @path: mcp.{{prompt:name}}
Expand Down
3 changes: 1 addition & 2 deletions presets/mcp-remote-add.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
// identifier (the key under `mcp`, e.g. `openrag-tom`), the URL,
// and the bearer token. The token is written into opencode.json
// under the server's Authorization header. Re-running with the
// same identifier overwrites that server's entry. To remove a
// server installed this way, use `opencode-config reset mcp.<id>`.
// same identifier overwrites that server's entry.
// @author: Jan <jan@trick77.com>
// @version: 0.1.0
// @path: mcp.{{prompt:name}}
Expand Down
3 changes: 1 addition & 2 deletions presets/mcp-vscode.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
// Marketplace, (2) enabled, and (3) switched on via the command
// palette ("MCP Server: Toggle Active"); opencode cannot reach the
// endpoint otherwise. Press Enter to accept the default port 3000
// (the extension's default). To remove:
// `opencode-presets remove mcp-vscode`.
// (the extension's default).
// @author: Jan <jan@trick77.com>
// @version: 0.1.0
// @path: mcp.vscode
Expand Down