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
34
35
36
37
38
39
40
41
42{
"$schema": "https://opencode.ai/config.json",
// MCP Server Configuration
"mcp": {
"context7": {
"type": "remote",
"url": "https://mcp.context7.com/mcp"
},
"github": {
"type": "local",
"command": ["bunx", "@modelcontextprotocol/server-github"],
"environment": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "{env:GITHUB_PERSONAL_ACCESS_TOKEN}",
"GITHUB_TOOLSETS": "repos,issues,pull_requests,actions,code_security"
}
}
},
// Tool Configuration
"tools": {
// Enable the skill loading tool
"skill": true
},
// Permission Configuration
"permission": {
// Skill permissions - allow all project skills by default
"skill": {
// Project-specific skills
"write-concept": "allow",
"fact-check": "allow",
"seo-review": "allow",
"test-writer": "allow",
"resource-curator": "allow",
"concept-workflow": "allow",
// Default behavior for other skills
"*": "ask"
}
}
}