swift-version-mcp

cdisdero/swift-version-mcp

3.1

If you are the rightful owner of swift-version-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Swift Version MCP server is a custom implementation of a Model Context Protocol server, designed to facilitate communication and integration with various development tools and platforms.

swift-version-mcp

My first MCP server written in a Swift Package

Depends on: https://github.com/modelcontextprotocol/swift-sdk

This was my implementation from this tutorial: https://www.artemnovichkov.com/blog/creating-mcp-servers-in-swift

In order to use the server in:

VSCode Github Copilot

  1. Edit ~/Library/Application\ Support/Code/User/settings.json in VSCode.
  2. Add this section for the server in the configuration:
    "mcp": {
        "servers": {
            "swift-version-mcp": {
                "type": "stdio",
                "command": "/Volumes/Shared/Code/swift-version-mcp/.build/debug/swift-version-mcp",
                "args": []
            }
        }
    },
  1. VSCode will display a small caption bar above the 'swift-version-mcp' server block you just added. Press the Start button to start the server.
  2. When you open a conversation with copilot, click on the 'Add Context...' button above the prompt line and choose Tools from the menu, then select the 'swift-version' server from the list presented.

Claude Desktop

  1. Edit ~/Library/Application\ Support/Claude/claude_desktop_config.json in VSCode.
  2. Add this section for the server in the configuration:
{
  "mcpServers": {
    "swift-version-server": {
      "type": "stdio",
      "command": "/Volumes/Shared/Code/swift-version-mcp/.build/debug/swift-version-mcp"
    }
  }
}
  1. Restart Claude Desktop.