| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Minimal MCP server for discovering Xcode Cloud products, inspecting and editing workflows, monitoring build runs, and retrieving build issues, logs, test summaries, and UI test artifacts through the App Store Connect API.
| Feature | Tool(s) | Example use | Example return |
|---|---|---|---|
| Discover products | list_products | "Show me the Xcode Cloud products available in this account." | Demo App, productType: APP, createdDate: 2026-03-30T10:00:00Z |
| Discover workflows | list_workflows | "List the workflows for product def456." | Feature Branch, description, isEnabled: true, containerFilePath: Chauffeur.xcodeproj |
| Inspect workflow configuration | get_workflow_details | "Show me the full workflow details for abc123, including environment and actions." | general, environment, startConditions, actions, postActions |
| Monitor running or recent builds | list_build_runs | "Show me the running builds for workflow abc123 so I can monitor them." | number: 93, executionProgress: RUNNING, completionStatus: null, startedDate: ... |
| Enable or disable a workflow | set_workflow_enabled | "Disable workflow abc123 while we are testing new settings." | operation.type: set_workflow_enabled, workflow.general.isEnabled: false |
| Update name, description, or clean mode | update_workflow_general | "Rename workflow abc123 to Feature Branch v2 and adjust its description." | changedFields: [name, description], updated workflow.general |
| Update start conditions explicitly | update_workflow_start_conditions | "Change workflow abc123 so pull-request builds no longer auto-cancel." | updated workflow.startConditions.pullRequest.autoCancel: false |
| Replace the workflow action list | update_workflow_actions | "Remove the archive action from workflow abc123, then add it back once the experiment is done." | actionCount: 4 after removal, then actionCount: 5 after restore |
| See build health quickly | get_build_issues | "What went wrong in the latest failing build for workflow abc123?" | issueCounts: { errors: 1, testFailures: 3, warnings: 2 } |
| Read compact build log summaries | get_build_logs | "Retrieve logs of build 81 and summarize the failure." | failedTests, highlights, excerpt, savedLogsDirectory |
| Materialize logs for local grep | materialize_build_logs | "Download the logs for build 81 so I can grep them locally." | savedLogsDirectory: /var/folders/..., savedLogs: [...] |
| Summarize test outcomes | get_test_results | "Summarize the test results for the latest failing build." | testFailures, issueCounts, summary |
| Jump straight to failed tests | get_failed_tests | "What tests failed in build 81?" | displayExpiryDateReturnsFormattedDateWhenExpiryDateExists(), assertion message, saved log paths |
| Retrieve UI test artifacts | get_test_artifacts | "Show me the screenshots and videos from the latest failing UI test run." | screenshots, videos, resultBundles, downloadUrl |
| Clean up local temp files | cleanup_saved_logs | "Remove saved logs older than 24 hours." | removedDirectories: [...], retainedDirectories: [...] |
Build lookup is workflow-scoped. Retrieval tools accept a direct buildRunId, or a workflowId plus buildNumber, or a workflowId plus buildSelector: "latest" | "latestFailing".
list_products and list_workflows automatically paginate through all results.
list_build_runs supports status: "all" | "failed" | "succeeded" | "running" | "pending" and an optional limit, which defaults to 20, so agents can poll active workflows without post-processing every run locally or inflating MCP response size.
Primary names:
Compatibility aliases:
The private key can be passed as literal multi-line PEM content or as a string with escaped \n.
claude mcp add xcode-cloud \
--env APPSTORE_CONNECT_API_KEY_ID="$APPSTORE_CONNECT_API_KEY_ID" \
--env APPSTORE_CONNECT_API_ISSUER_ID="$APPSTORE_CONNECT_API_ISSUER_ID" \
--env APPSTORE_CONNECT_API_KEY_CONTENT="$APPSTORE_CONNECT_API_KEY_CONTENT" \
-- npx -y @thatfactory/xcode-cloud-mcpcodex mcp add xcode-cloud \
--env APPSTORE_CONNECT_API_KEY_ID="$APPSTORE_CONNECT_API_KEY_ID" \
--env APPSTORE_CONNECT_API_ISSUER_ID="$APPSTORE_CONNECT_API_ISSUER_ID" \
--env APPSTORE_CONNECT_API_KEY_CONTENT="$APPSTORE_CONNECT_API_KEY_CONTENT" \
-- npx -y @thatfactory/xcode-cloud-mcpget_build_logs keeps the MCP response compact on purpose:
Recommended agent workflow:
Temporary logs are written under the system temp directory in a path like:
/tmp/xcode-cloud-mcp/build-logs/<buildRunId>
On macOS this typically resolves to a path under /var/folders/.../T/.
Cleanup policy:
Retrieve logs of the latest failing build for workflow abc123.
Retrieve logs of build 81, then inspect the returned savedLogsDirectory and grep for Expectation failed.
Get the failed tests for build 81, then open the saved logs directory and inspect the failing test in context.
Retrieve logs of build number 42 for workflow abc123.
Show me the latest failing UI test artifacts for workflow abc123.
List the workflows for product def456 and then summarize the latest build.
Show me the full workflow details for workflow abc123, including environment, start conditions, actions, and whether it is enabled.
Disable workflow abc123, remove the archive action, then restore the original action list after the experiment.
get_workflow_details returns the live workflow configuration exposed by App Store Connect, grouped into:
Notes:
The workflow update tools are intentionally explicit:
Important restriction:
Install dependencies:
npm installRun tests:
npm testBuild the package:
npm run build| Back | FazBrowse Home | New Git URL |