MCP Server
With Xcode Chat Proxy, you can use extra MCP tools that are not provided by Xcode yet through the MCP server in Copilot for Xcode.
The server will be hosted locally through a streamable HTTP API, at http://localhost:PORT/mcp, where PORT is the port you set in the Xcode Chat Proxy settings.
Available MCP Tools
SwiftPackageCheckoutsGlob
Searches for files in the Xcode project and its swift package dependency checkouts using a path glob or regex. Use this when you need to find files by name or by path pattern.
SwiftPackageCheckoutsGrep
Searches for text patterns in files within the Xcode project’s swift package dependency checkouts using regex. You can use it for code search in dependencies when you can’t find them inside the project using xcode-tools.
SymbolSearch
Search for code symbols within the Xcode project. Useful when you need the definition of a specific symbol.
DebugAreaRead
Reads the Xcode debug area (console and variables) and returns its content.