Skip to content

Commit a384098

Browse files
committed
Make simulator tools default instead of loading all tools
Users will now need to opt-in to using other workflows.
1 parent dfd2797 commit a384098

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/server/bootstrap.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@ export async function bootstrapServer(
2727
return {};
2828
});
2929

30+
const defaultEnabledWorkflows = ['simulator'];
31+
3032
const enabledWorkflows = options.enabledWorkflows?.length
3133
? options.enabledWorkflows
3234
: process.env.XCODEBUILDMCP_ENABLED_WORKFLOWS
3335
? parseEnabledWorkflows(process.env.XCODEBUILDMCP_ENABLED_WORKFLOWS)
34-
: [];
36+
: defaultEnabledWorkflows;
3537

3638
if (enabledWorkflows.length > 0) {
3739
log('info', `🚀 Initializing server with selected workflows: ${enabledWorkflows.join(', ')}`);

0 commit comments

Comments
 (0)