MCP.so
登录

Swift Developer MCP Server

@edgeengineer

关于 Swift Developer MCP Server

A Local MCP server useful for Cross Platform Swift Development

基本信息

分类

开发工具

运行时

swift

传输方式

stdio

发布者

edgeengineer

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Swift Developer MCP Server?

A Model Context Protocol (MCP) server that provides Swift development tools, debugging capabilities, and project management features for macOS and Linux environments. It enables AI assistants to interact with Swift projects, build systems, and development tools.

How to use Swift Developer MCP Server?

Clone the repository, then run make path to build the server in release mode and copy the executable path to your clipboard. Configure your AI client (Cursor, Windsurf, Claude Desktop, Claude Code, or Claude Code VS Code Extension) by pasting that path as the server command. The server can also be started manually with swift run SwiftDeveloperMCPServer.

Key features of Swift Developer MCP Server

  • Build, test, and run Swift targets
  • Debug with breakpoints, stepping, and variable inspection
  • Manage Swift packages and extract dependency APIs
  • Install, list, and switch Swift toolchains via Swiftly
  • Access project info, build status, and debug sessions as resources
  • Guided debug session and build analysis prompts

Use cases of Swift Developer MCP Server

  • Building a Swift project in release or debug mode with verbose output
  • Running filtered tests in parallel with detailed results
  • Starting a debugging session, setting breakpoints, and stepping through code
  • Managing multiple Swift toolchain versions and switching between them
  • Inspecting a dependency’s public API and getting package information

FAQ from Swift Developer MCP Server

What are the prerequisites?

Swift 5.9+ installed (or use Swiftly for version management), macOS 13.0+ or Linux (Ubuntu 20.04+), and Make. On macOS, Xcode Command Line Tools are required.

How do I configure an AI client to use this server?

Run make path in the repository root. It builds the server and prints ready-to-copy configuration examples for Cursor, Windsurf, Claude Desktop, Claude Code (terminal and VS Code extension). Paste the executable path into the server command field of your client.

What should I do if I get a "command not found" error?

Run make path again to rebuild and get the correct executable path. Make sure the path in your AI client configuration matches the output.

Does it support Windows?

No. The server supports only macOS 13.0+ and Linux (Ubuntu 20.04+).

How do I manage multiple Swift versions?

Use the toolchain management tools: swiftly_install to install versions, swiftly_list to see installed ones, and swiftly_use to switch globally or per-project.

评论

开发工具 分类下的更多 MCP 服务器