opencode riscv mcp

This commit is contained in:
Marc Marcos 2026-08-25 18:02:29 +08:00
parent aa57f34011
commit e64a4c0f86
Signed by: marc
GPG key ID: 30A62DFAC90731E6
3 changed files with 37 additions and 2 deletions

View file

@ -2,6 +2,14 @@
"$schema": "https://opencode.ai/config.json",
"model": "deepseek-v4-pro",
"autoupdate": true,
"mcp": {
"riscv-udb": {
"type": "local",
"command": ["riscv-udb-mcp"],
"enabled": true
}
},
// Activating the full team layer ONLY inside this profile directory
"plugin": [
@ -23,6 +31,13 @@
"**/build/**": "deny",
"*": "allow"
},
"bash": "allow"
"bash": "allow",
"lsp" : "allow"
},
"lsp": {
"clangd": {
"command": ["clangd", "--background-index", "--clang-tidy"],
"extensions": [".c", ".cpp", ".cc", ".cxx", ".h", ".hpp"]
}
}
}

View file

@ -0,0 +1,5 @@
{
"plugin": [
"oh-my-openagent"
]
}

View file

@ -2,6 +2,14 @@
"$schema": "https://opencode.ai/config.json",
"autoupdate": true,
"mcp": {
"riscv-udb": {
"type": "local",
"command": ["riscv-udb-mcp"],
"enabled": true
}
},
"plugin": [],
"permission": {
@ -18,6 +26,13 @@
"**/build/**": "deny",
"*": "allow"
},
"bash": "allow"
"bash": "allow",
"lsp" : "allow"
},
"lsp" : {
"clangd": {
"command": ["clangd", "--background-index", "--clang-tidy"],
"extensions": [".c", ".cpp", ".cc", ".cxx", ".h", ".hpp"]
}
}
}