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
- Edit ~/Library/Application\ Support/Code/User/settings.json in VSCode.
- 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": []
}
}
},
- 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.
- 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
- Edit ~/Library/Application\ Support/Claude/claude_desktop_config.json in VSCode.
- 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"
}
}
}
- Restart Claude Desktop.