Auto-approve Codex title MCP tool

This commit is contained in:
weishu
2026-06-08 13:44:26 +08:00
parent fa363c2f6c
commit deb05bb783
7 changed files with 84 additions and 5 deletions
+2 -1
View File
@@ -61,7 +61,8 @@ function buildMcpServerConfig(mcpServers: McpServersConfig): Record<string, unkn
for (const [name, server] of Object.entries(mcpServers)) {
config[`mcp_servers.${name}`] = {
command: server.command,
args: server.args
args: server.args,
...(server.tools ? { tools: server.tools } : {})
};
}