Files
my-opencode-config/opencode.json
T
hurui200320 793a14e338 Initial commit: OpenCode configuration
Includes agents, skills, scripts, container launch scripts,
and project configuration files (opencode.json, crush.json, Dockerfile).
2026-04-07 08:29:07 +00:00

61 lines
1.4 KiB
JSON

{
"$schema": "https://opencode.ai/config.json",
"permission": "allow",
"mcp": {
"filesystem": {
"type": "local",
"command": ["npx", "@modelcontextprotocol/server-filesystem", "/app"],
"enabled": true
},
"forgejo": {
"type": "local",
"command": ["/usr/local/bin/forgejo-mcp"],
"environment": {
"GITEA_HOST": "https://git.cleverthis.com",
"GITEA_ACCESS_TOKEN": "{env:FORGEJO_PAT}"
},
"enabled": true
},
"test-runner": {
"type": "local",
"command": ["/usr/local/bin/mcp-test-runner"],
"enabled": true
},
"uv": {
"type": "local",
"command": ["uvx", "uv-mcp"],
"enabled": true
},
"ruff": {
"type": "local",
"command": ["ruff-mcp-server"],
"enabled": true
},
"memory": {
"type": "local",
"command": ["npx", "@modelcontextprotocol/server-memory"],
"enabled": true
},
"git": {
"type": "local",
"command": ["uvx", "mcp-server-git", "--repository", "/app"],
"enabled": true
},
"fetch": {
"type": "local",
"command": ["uvx", "mcp-server-fetch"],
"enabled": true
},
"sequential-thinking": {
"type": "local",
"command": ["npx", "@modelcontextprotocol/server-sequential-thinking"],
"enabled": true
},
"pyright-mcp": {
"type": "local",
"command": ["npx", "@treedy/pyright-mcp"],
"enabled": true
}
}
}