opencode-gitnexusOpenCode plugin for GitNexus integration — auto-registers the MCP server, injects the GitNexus protocol into the system prompt, and keeps the plugin updated
0
301
38 in 7 days
32.8
Multi-signal model
1 month ago
2026-07-01
Install and configure
opencode.jsonWrites to this project's opencode.json — applies to this repository only.
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-gitnexus@0.1.18"]
}Writes to ~/.config/opencode/opencode.json — applies to every project.
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-gitnexus@0.1.18"]
}If you want to modify the plugin locally, install it into the project and reference the local path.
shell
pnpm add -D opencode-gitnexusopencode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.
OpenCode plugin for GitNexus integration.
What it does
- Auto-registers the GitNexus MCP server
- Injects a GitNexus usage protocol into the system prompt
- Runs a fire-and-forget auto-update check on init
- Auto-analyzes source code repos on first open
Install
{
"plugin": ["opencode-gitnexus"]
}
Default MCP command
npx -y gitnexus serve
Plugin options
| Option | Type | Default | Description |
|---|---|---|---|
mcpCommand |
string[] |
npx -y gitnexus serve |
Override the MCP launch command |
disableMcp |
boolean |
false |
Skip auto-registering GitNexus |
disableProtocol |
boolean |
false |
Skip system prompt injection |
disableAutoUpdate |
boolean |
false |
Skip update checks on init |
disableAutoAnalyze |
boolean |
false |
Skip auto-analyzing repos on open |
autoAnalyzeMaxSizeMB |
number |
100 |
Max repo size (MB) for auto-analysis |
Notes
- The plugin uses
configto inject the MCP server. - The plugin uses
experimental.chat.system.transformto add GitNexus guidance. - Auto-update runs in the background and will ask for a restart if it upgrades itself.