Skip to main content
Glama

MCP Xcode

by Stefan-Nitu
main.swift621 B
import Foundation // Simple executable for testing print("TestSwiftPackageSwiftTesting Executable Running") print("Arguments: \(CommandLine.arguments)") print("Current Date: \(Date())") // Test argument handling if CommandLine.arguments.count > 1 { print("Received \(CommandLine.arguments.count - 1) arguments:") for (index, arg) in CommandLine.arguments.dropFirst().enumerated() { print(" Arg \(index + 1): \(arg)") } } // Test exit codes if CommandLine.arguments.contains("--fail") { print("Error: Requested failure via --fail flag") exit(1) } print("Execution completed successfully")

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Stefan-Nitu/mcp-xcode'

If you have feedback or need assistance with the MCP directory API, please join our Discord server