trackmcp
Back to directory

Swift Package Manager MCP Server written in Swift

7 stars SwiftOthers Updated Apr 11, 2026

Documentation

SPM-MCP

A Model Context Protocol (MCP) server that provides automation capabilities using Swift Package Manager (SPM).

Config

Mise

json
{
  "mcpServers": {
    "spm": {
      "command": "mise",
      "args": ["x", "ubi:simpleswift/spm-mcp@latest", "--", "spm-mcp"]
    }
  }
}

Development

Swift Package Manager

bash
swift package resolve
swift build
swift run

Generate `.xcworkspace`

1. Install Tuist

bash
mise install tuist

2. Generate the workspace

bash
tuist generate

License

MIT License. See LICENSE for details.

Frequently asked questions

What is spm-mcp?

spm-mcp is Swift Package Manager MCP Server written in Swift

How do I install spm-mcp?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is spm-mcp open source?

Yes — it is hosted on GitHub at https://github.com/simpleswift/spm-mcp and has 7 stars.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP