summaryrefslogtreecommitdiffhomepage
path: root/opencode.json
blob: 12a82643f3505969866e3115f1b85ea709e2a19f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "oc-frank": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "OC-Frank",
      "options": {
        "baseURL": "https://api.gateway.frank.dev.opencode.ai/v1"
      },
      "models": {
        "anthropic/claude-sonnet-4": {
          "name": "Claude Sonnet 4"
        },
        "openai/gpt-4.1": {
          "name": "GPT-4.1"
        },
        "zhipuai/glm-4.5-flash": {
          "name": "GLM-4.5 Flash"
        }
      }
    }
  },
  "mcp": {
    "context7": {
      "type": "remote",
      "url": "https://mcp.context7.com/sse"
    },
    "weather": {
      "type": "local",
      "command": ["opencode", "x", "@h1deya/mcp-server-weather"]
    }
  }
}