
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A Model Context Protocol server that provides Swift development tools, debugging capabilities, and project management features for macOS and Linux environments.
Swift Developer MCP Server is cataloged as an MCP server attributed to edgeengineer. A Model Context Protocol server that provides Swift development tools, debugging capabilities, and project management features for macOS and Linux environments. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Apache 2.0 License. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Swift Developer MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It exposes project information, build status and history, and active debug sessions with breakpoints.
It offers a guided debugging session setup prompt and an intelligent build error analysis prompt.
README.md · 34a68bc60f2d · Fetched 2026-11-13 13:20:07 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
A comprehensive Model Context Protocol (MCP) server that provides Swift development tools, debugging capabilities, and project management features for macOS and Linux environments. This server enables AI assistants to interact with Swift projects, build systems, and development tools.
swift_build - Build Swift projects with configuration options (debug/release, specific targets, verbose output)swift_test - Run Swift tests with filtering, parallel execution control, and verbose outputrun_target - Execute specific Swift targets with custom argumentsdebug_start - Start debugging sessions for Swift targetsdebug_set_breakpoint - Set breakpoints with optional conditionsdebug_step - Step through code (over, into, out)debug_continue - Continue execution until next breakpointdebug_inspect_variable - Inspect variables and evaluate expressionsget_package_info - Get comprehensive Swift package information and dependenciesprint_dependency_public_api - Extract and display the public API of any dependencyswiftly_install - Install Swift toolchains from different channelsswiftly_list - List installed Swift toolchainsswiftly_list_available - List available Swift versions to installswiftly_use - Switch between Swift versions globally or per-projectswiftly_run - Run commands with specific Swift versionsswiftly_uninstall - Remove Swift toolchainsswift://project/info - Current project information and structureswift://build/status - Build status and historyswift://debug/sessions - Active debug sessions and breakpointsswift_debug_session - Guided debugging session setup with target-specific recommendationsswift_build_analysis - Intelligent build error analysis and solution suggestionsClone the repository:
git clone https://github.com/edgeengineer/swift-developer-mcp-server.git
cd swift-developer-mcp-server
Build and get path (copies to clipboard automatically):
make path
This will:
make build # Build the server in release mode
make clean # Clean build artifacts
make install # Install to /usr/local/bin
make help # Show all available targets
Add to your Cursor settings (.cursor-settings/settings.json):
{
"mcp": {
"servers": {
"swift-developer": {
"command": "PASTE_PATH_FROM_CLIPBOARD_HERE",
"args": [],
"env": {}
}
}
}
}
Add to your Windsurf configuration (.windsurf/mcp_servers.json):
{
"servers": {
"swift-developer": {
"command": "PASTE_PATH_FROM_CLIPBOARD_HERE",
"args": [],
"env": {}
}
}
}
Add to your Claude Desktop configuration:
~/Library/Application Support/Claude/claude_desktop_config.json~/.config/claude/claude_desktop_config.json{
"mcpServers": {
"swift-developer": {
"command": "PASTE_PATH_FROM_CLIPBOARD_HERE",
"args": [],
"env": {}
}
}
}
Add to your Claude Code configuration (in the terminal application):
claude mcp add swift-developer PASTE_PATH_FROM_CLIPBOARD_HERE
Add to your VS Code settings (.vscode/settings.json):
{
"claude-dev.mcpServers": {
"swift-developer": {
"command": "PASTE_PATH_FROM_CLIPBOARD_HERE",
"args": [],
"env": {}
}
}
}
💡 Pro Tip: Run
make pathto get ready-to-copy configuration examples for each client!
Use the swift_build tool to build the current project in release mode with verbose output.
Use the swift_test tool to run all tests in parallel with verbose output.
Use the swift_debug_session prompt to set up debugging for the "MyApp" target, focusing on the "ViewController.swift" file.
Use swiftly_list to see installed Swift versions, then swiftly_use to switch to Swift 5.9.
Use print_dependency_public_api with dependency_name "Alamofire" to see the public API of the Alamofire dependency.
Access the swift://project/info resource to see the current project structure and Package.swift contents.
swift-developer-mcp-server/
├── Package.swift # Swift Package Manager configuration
├── Makefile # Build automation and convenience targets
├── Sources/
│ ├── main.swift # Server entry point and MCP handler setup
│ ├── Utilities.swift # Common types and helper functions
│ ├── BuildTestTools.swift # Swift build and test tools
│ ├── DebugTools.swift # Debug session management and tools
│ ├── PackageInfoTools.swift # Swift package information tools
│ ├── SwiftlyTools.swift # Swiftly toolchain management
│ ├── Resources.swift # MCP resources (project info, build status, etc.)
│ └── Prompts.swift # MCP prompts (debug session, build analysis)
└── README.md # This file
BuildTestTools.swift for build and test functionalityDebugTools.swift for debugging featuresPackageInfoTools.swift for package managementSwiftlyTools.swift for toolchain managementListTools handler in main.swiftCallTool switch statementYou can test the server manually by running it and sending JSON-RPC messages:
swift run SwiftDeveloperMCPServer
Then send initialization and tool call messages via stdin.
This project is licensed under the Apache 2.0 License. See the LICENSE file for details.
"Command not found":
make path to rebuild and get the correct path"Permission denied": Make sure the executable has proper permissions:
chmod +x .build/release/SwiftDeveloperMCPServer
# Or simply run 'make path' which handles this automatically
Swift version conflicts: Use swiftly to manage Swift versions if you have multiple installations.
Build failures:
xcode-select --install
make path command will show detailed build errors if they occurConfiguration issues: The make path command provides ready-to-copy configuration examples for all supported AI clients.
To debug the server itself, you can add logging to the main.swift file or run it with verbose Swift output:
swift run -v SwiftDeveloperMCPServer
The repository includes ExampleLib/, a complete Swift package with async Fibonacci calculations, perfect for testing the MCP server's debugging capabilities.
Navigate to the ExampleLib directory and use standard Swift commands:
cd ExampleLib
# Build the library and executable
swift build
# Run the demo application
swift run ExampleApp
# Run tests
swift test
The ExampleLib project provides an excellent testing ground for the MCP server's debugging functionality. Here's how to test the complete debugging workflow:
Use the MCP server tools to build and test:
Use swift_build tool with:
- target: "ExampleApp"
- project_path: "/path/to/swift-developer-mcp-server/ExampleLib"
- configuration: "debug"
- verbose: true
Use swift_test tool with:
- project_path: "/path/to/swift-developer-mcp-server/ExampleLib"
- verbose: true
Start a debugging session for the ExampleApp:
Use debug_start tool with:
- target: "ExampleApp"
- project_path: "/path/to/swift-developer-mcp-server/ExampleLib"
- arguments: [] (optional)
This will:
Set strategic breakpoints to inspect the Fibonacci calculation:
Use debug_set_breakpoint tool with:
- file_path: "/path/to/ExampleLib/Sources/ExampleApp/main.swift"
- line_number: 89 (in performanceTest function)
- session_id: "your_session_id"
Use debug_set_breakpoint tool with:
- file_path: "/path/to/ExampleLib/Sources/ExampleLib/FibonacciCalculator.swift"
- line_number: 37 (inside calculate method)
- session_id: "your_session_id"
# Start execution
Use debug_continue tool with:
- session_id: "your_session_id"
# Step through code when breakpoint hits
Use debug_step tool with:
- session_id: "your_session_id"
- step_type: "over" (or "into", "out")
The FibonacciCalculator is an actor, making it perfect for testing async debugging:
# Inspect the calculator actor
Use debug_inspect_variable tool with:
- session_id: "your_session_id"
- variable_name: "calculator"
# Inspect specific values
Use debug_inspect_variable tool with:
- session_id: "your_session_id"
- variable_name: "result"
# Evaluate expressions
Use debug_inspect_variable tool with:
- session_id: "your_session_id"
- expression: "await calculator.getCalculationCount()"
The ExampleLib includes concurrent Fibonacci calculations that are excellent for testing debugging of async operations:
# Set breakpoint in concurrent calculation method
Use debug_set_breakpoint tool with:
- file_path: "/path/to/ExampleLib/Sources/ExampleLib/FibonacciCalculator.swift"
- line_number: 57 (in calculateMultiple method)
- session_id: "your_session_id"
# Inspect concurrent task state
Use debug_inspect_variable tool with:
- session_id: "your_session_id"
- variable_name: "tasks"
Test debugging cache behavior in the async actor:
# Set conditional breakpoint for cache hits
Use debug_set_breakpoint tool with:
- file_path: "/path/to/ExampleLib/Sources/ExampleLib/FibonacciCalculator.swift"
- line_number: 19 (cache hit check)
- condition: "cached != nil"
- session_id: "your_session_id"
# Inspect cache state
Use debug_inspect_variable tool with:
- session_id: "your_session_id"
- expression: "await calculator.getCacheState()"
The ExampleLib uses Swift Testing framework. Test debugging test execution:
# Build and run tests with debugging
Use debug_start tool with:
- target: "ExampleLibTests"
- project_path: "/path/to/ExampleLib"
# Set breakpoints in test methods
Use debug_set_breakpoint tool with:
- file_path: "/path/to/ExampleLib/Tests/ExampleLibTests/FibonacciCalculatorTests.swift"
- line_number: 15 (in testBasicCalculations)
- session_id: "your_session_id"
Test the performance test function with debugging:
# Set breakpoint in performance test
Use debug_set_breakpoint tool with:
- file_path: "/path/to/ExampleLib/Sources/ExampleApp/main.swift"
- line_number: 95 (inside performanceTest)
- session_id: "your_session_id"
# Inspect timing variables
Use debug_inspect_variable tool with:
- session_id: "your_session_id"
- variable_name: "totalTime"
Always clean up debug sessions when done:
Use debug_terminate tool with:
- session_id: "your_session_id"
The ExampleLib provides these debugging scenarios:
When debugging ExampleLib, you should see:
Debug session started successfully.
Session ID: debug_12345678-1234-1234-1234-123456789abc
Target: ExampleApp
Executable: /path/to/ExampleLib/.build/debug/ExampleApp
Breakpoint set successfully.
File: /path/to/ExampleLib/Sources/ExampleApp/main.swift
Line: 89
Debug execution continued.
Session: debug_12345678-1234-1234-1234-123456789abc
Command: process launch
Running: true
Variable inspection results.
Session: debug_12345678-1234-1234-1234-123456789abc
Target: calculator
This comprehensive testing approach validates:
For issues and feature requests, please open an issue on the GitHub repository.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Swift Developer MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/swift-developer-mcp-server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.