feat: add opencode configuration with MCP servers and DCP plugin

- Configure context7, gh_grep, and linear MCP servers
- Add DCP plugin for context pruning with detailed summaries
- Symlink AGENTS.md and commit-staged command from claude config
- Add chezmoiignore for opencode ephemeral/generated files
This commit is contained in:
2025-12-20 00:52:46 -06:00
parent 80c4082878
commit 6f3faca5af
6 changed files with 88 additions and 0 deletions
@@ -0,0 +1,26 @@
{
"$schema": "https://opencode.ai/config.json",
"plugin": [
"@tarquinen/opencode-dcp@latest",
"@franlol/opencode-md-table-formatter@0.0.3",
// "file:///home/xevion/projects/opencode-anthropic-websearch/dist/index.js"
],
"mcp": {
"context7": {
"type": "remote",
"url": "https://mcp.context7.com/mcp",
"headers": {
"CONTEXT7_API_KEY": "{{ dopplerProjectJson.CONTEXT7_API_KEY }}"
}
},
"gh_grep": {
"type": "remote",
"url": "https://mcp.grep.app"
},
"linear": {
"type": "remote",
"url": "https://mcp.linear.app/mcp",
"oauth": {}
}
}
}