Xcode Diagnostics
Summary
The Xcode Diagnostics MCP plugin extracts and parses build errors and warnings from Xcode's DerivedData logs, enabling AI assistants to quickly identify issues in Swift projects without manually searching through build logs. Developed by Mike R. Manzano, it provides tools to list available Xcode projects and extract structured diagnostic information including file paths, line numbers, error messages, and fix-it suggestions. The implementation features enhanced regex patterns optimized for capturing Swift concurrency-related warnings and includes comprehensive error categorization for syntax errors, type errors, protocol conformance issues, and Swift 6 language mode compatibility warnings, making it particularly valuable for developers working with Swift concurrency features.
Available Actions(2)
get_xcode_projects
Lists all Xcode projects with build logs in the DerivedData directory. Parameters: None
get_project_diagnostics
Gets diagnostic information from the latest build log of a specific project. Parameters: project_dir_name (string), include_warnings (boolean, default: True)
社区评论
暂无评论. 成为第一个评论的人!
登录以参与讨论