You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add XCODEBUILDMCP_ENABLED_WORKFLOWS environment variable for selective workflow loading
- Added registerSelectedWorkflows() function to load only specified workflows
- Modified main server initialization to check for XCODEBUILDMCP_ENABLED_WORKFLOWS in static mode
- Updated documentation with usage examples and available workflows
- Allows clients without MCP sampling to reduce context window usage
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,9 @@
1
1
# Changelog
2
2
3
+
## [Unreleased]
4
+
### Added
5
+
-**Selective Workflow Loading**: New `XCODEBUILDMCP_ENABLED_WORKFLOWS` environment variable allows loading only specific workflow groups in static mode, reducing context window usage for clients that don't support MCP sampling
6
+
3
7
## [v1.11.2] - 2025-08-08
4
8
- Fixed "registerTools is not a function" errors during package upgrades
Copy file name to clipboardExpand all lines: README.md
+38Lines changed: 38 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -261,6 +261,44 @@ Example MCP client configuration:
261
261
}
262
262
```
263
263
264
+
### Selective Workflow Loading (Static Mode)
265
+
266
+
For clients that don't support MCP Sampling but still want to reduce context window usage, you can selectively load only specific workflows using the `XCODEBUILDMCP_ENABLED_WORKFLOWS` environment variable:
> The `XCODEBUILDMCP_ENABLED_WORKFLOWS` setting only works in Static Mode. If `XCODEBUILDMCP_DYNAMIC_TOOLS=true` is set, the selective workflow setting will be ignored.
301
+
264
302
### Usage Example
265
303
266
304
Once enabled, AI agents automatically discover and load relevant tools based on context. For example, when you mention working on an iOS app or the agent detects iOS development tasks in your workspace, it will automatically use the `discover_tools` tool to load the appropriate simulator and project tools needed for your workflow.
0 commit comments