MCP server for Swift and SwiftUI practices
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add swift -- npx swift-mcp~/.codex/config.toml
[mcp_servers.swift]
command = "npx"
args = ["swift-mcp"]
# codex mcp add swift -- npx swift-mcp~/.cursor/mcp.json
{
"mcpServers": {
"swift": {
"command": "npx",
"args": [
"swift-mcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"swift": {
"type": "stdio",
"command": "npx",
"args": [
"swift-mcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"swift": {
"command": "npx",
"args": [
"swift-mcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"swift": {
"command": "npx",
"args": [
"swift-mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"swift": {
"command": "npx",
"args": [
"swift-mcp"
]
}
}
}