Edit the file ~/.copilot/mcp-config.json and add Xcode-MCP inside the mcpServers object:
"mcpServers": {
"Xcode-MCP": {
"type": "stdio",
"command": "xcrun",
"tools": [
"*"
],Edit the file ~/.copilot/mcp-config.json and add Xcode-MCP inside the mcpServers object:
"mcpServers": {
"Xcode-MCP": {
"type": "stdio",
"command": "xcrun",
"tools": [
"*"
],| import SwiftUI | |
| struct LavaLamp: View { | |
| @State private var mainPosition: CGPoint = .zero | |
| @State private var positions: [CGPoint] = [] | |
| private let blurRadius = 20.0 | |
| private let alphaThreshold = 0.875 | |
| private let ballCount = 20 | |