Fix bug
This commit is contained in:
parent
7f7b86f70e
commit
992f4db4a0
8 changed files with 73 additions and 9 deletions
|
|
@ -69,4 +69,7 @@ function buildManagedMcpServers(plugins) {
|
|||
return out;
|
||||
}
|
||||
|
||||
module.exports = { DEFAULT_PLUGINS, LOCAL_STDIO_PLUGINS, buildManagedMcpServers };
|
||||
// Allowlist of executables that may be spawned for custom stdio MCP plugins.
|
||||
const ALLOWED_MCP_COMMANDS = new Set(["npx", "node", "uvx", "python", "python3", "bunx", "bun"]);
|
||||
|
||||
module.exports = { DEFAULT_PLUGINS, LOCAL_STDIO_PLUGINS, ALLOWED_MCP_COMMANDS, buildManagedMcpServers };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue