/**
 * 生成 Trae IDE 的 MCP 服务器配置。
 * @param projectPath - 项目路径（必传，与 Codex 配置保持一致）
 * @returns MCP 服务器配置对象
 */
import { debug } from "../../engine/core/logger.js";
export function generateTraeMcpConfig(projectPath) {
    debug("Trae配置", "生成 MCP 配置 —", projectPath);
    return {
        mcpServers: {
            soloforge: {
                command: "soloforge",
                args: ["mcp"],
                env: {
                    SOLOFORGE_PROJECT: projectPath,
                },
            },
            playwright: {
                command: "npx",
                args: ["@playwright/mcp@latest", "--headless"],
            },
        },
    };
}
//# sourceMappingURL=trae_config.js.map