opencode: add mcp module integration

This commit is contained in:
Thierry Delafontaine 2025-10-27 12:15:04 +01:00 committed by Austin Horstman
parent 083b20c1a0
commit c740351870
6 changed files with 202 additions and 8 deletions

View file

@ -0,0 +1,30 @@
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"context7": {
"enabled": true,
"headers": {
"CONTEXT7_API_KEY": "{env:CONTEXT7_API_KEY}"
},
"type": "remote",
"url": "https://mcp.context7.com/mcp"
},
"disabled-server": {
"command": [
"echo",
"test"
],
"enabled": false,
"type": "local"
},
"everything": {
"command": [
"npx",
"-y",
"@modelcontextprotocol/server-everything"
],
"enabled": true,
"type": "local"
}
}
}