MCP ExplorerExplorer

Spm Mcp

@simpleswifton a year ago
3 MIT
FreeCommunity
AI Systems
Swift Package Manager MCP Server written in Swift

Overview

What is Spm Mcp

spm-mcp is a Model Context Protocol (MCP) server implemented in Swift, designed to provide automation capabilities using the Swift Package Manager (SPM).

Use cases

Use cases for spm-mcp include automating the setup of Swift projects, managing dependencies efficiently, and generating Xcode workspaces for better project organization.

How to use

To use spm-mcp, configure it in your project by defining the MCP server in a JSON format. You can build and run the server using Swift commands such as ‘swift package resolve’, ‘swift build’, and ‘swift run’. Additionally, you can generate an Xcode workspace using Tuist.

Key features

Key features of spm-mcp include automation capabilities for managing Swift packages, easy integration with Swift Package Manager, and support for workspace generation using Tuist.

Where to use

spm-mcp can be used in software development environments where Swift is the primary programming language, particularly for projects that utilize Swift Package Manager for dependency management.

Content

SPM-MCP

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

Config

Mise

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

Development

Swift Package Manager

swift package resolve
swift build
swift run

Generate .xcworkspace

  1. Install Tuist
mise install tuist 
  1. Generate the workspace
tuist generate

License

MIT License. See LICENSE for details.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers