fix(opencode): add full MCP path to opencode.json URL
Security Auditor FINDING-1: bare ${MOLECULE_MCP_URL} missing the router path.
Fix adds /workspaces/${WORKSPACE_ID}/mcp so opencode reaches MCPHandler.
Unblocks PR#842 merge.
This commit is contained in:
parent
9342c1c88c
commit
bf80f15619
@ -2,7 +2,7 @@
|
|||||||
"mcpServers": {
|
"mcpServers": {
|
||||||
"molecule": {
|
"molecule": {
|
||||||
"type": "remote",
|
"type": "remote",
|
||||||
"url": "${MOLECULE_MCP_URL}",
|
"url": "${MOLECULE_MCP_URL}/workspaces/${WORKSPACE_ID}/mcp",
|
||||||
"headers": { "Authorization": "Bearer ${MOLECULE_MCP_TOKEN}" },
|
"headers": { "Authorization": "Bearer ${MOLECULE_MCP_TOKEN}" },
|
||||||
"description": "Molecule AI A2A orchestration — delegate_task, list_peers, check_task_status"
|
"description": "Molecule AI A2A orchestration — delegate_task, list_peers, check_task_status"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user