summaryrefslogtreecommitdiffhomepage
path: root/opencode.json
diff options
context:
space:
mode:
Diffstat (limited to 'opencode.json')
-rw-r--r--opencode.json15
1 files changed, 14 insertions, 1 deletions
diff --git a/opencode.json b/opencode.json
index aa640e8d4..3404b141f 100644
--- a/opencode.json
+++ b/opencode.json
@@ -1,3 +1,16 @@
{
- "$schema": "http://opencode.ai/config.json"
+ "$schema": "http://opencode.ai/config.json",
+ "mcp": {
+ "localmcp": {
+ "type": "local",
+ "command": ["bun", "x", "my-mcp-command"],
+ "environment": {
+ "MY_ENV_VAR": "my_env_var_value"
+ }
+ },
+ "remotemcp": {
+ "type": "remote",
+ "url": "https://my-mcp-server.com"
+ }
+ }
}