mirror of
https://github.com/Monadical-SAS/cubbi.git
synced 2026-02-04 09:56:48 +00:00
fix(goose): mcp configuration for stdio now use cmd instead of command
This commit is contained in:
@@ -207,13 +207,13 @@ class GoosePlugin(ToolPlugin):
|
|||||||
self.status.log(
|
self.status.log(
|
||||||
f"Adding local MCP extension: {mcp.name} - {mcp.command}"
|
f"Adding local MCP extension: {mcp.name} - {mcp.command}"
|
||||||
)
|
)
|
||||||
# Goose uses stdio type for local MCPs
|
# Goose uses stdio type for local MCPs with "cmd" field
|
||||||
config_data["extensions"][mcp.name] = {
|
config_data["extensions"][mcp.name] = {
|
||||||
"enabled": True,
|
"enabled": True,
|
||||||
"name": mcp.name,
|
"name": mcp.name,
|
||||||
"timeout": 60,
|
"timeout": 300,
|
||||||
"type": "stdio",
|
"type": "stdio",
|
||||||
"command": mcp.command,
|
"cmd": mcp.command,
|
||||||
"args": mcp.args if mcp.args else [],
|
"args": mcp.args if mcp.args else [],
|
||||||
"envs": mcp.env if mcp.env else {},
|
"envs": mcp.env if mcp.env else {},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user