
swift coder
Swifty make code changes
Repository Info
About This Server
Swifty make code changes
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Swift-Coder
A ready-to-use MCP (Machine Control Protocol) server designed to enhance your AI development workflow with Claude. Swift-Coder enables experienced software engineers to leverage the power of AI without the steep learning curve or high costs typically associated with specialized AI coding tools.
Overview
Swift-Coder provides a lightweight, customizable environment that connects Claude's AI capabilities directly to your local development environment. For just $20 per month (the cost of a Claude membership), you get a powerful AI coding assistant that adapts to your workflow rather than forcing you to adapt to someone else's system.
Key Features
- Cost-effective: Only requires a standard Claude membership ($20/month)
- Privacy-focused: All code and data remain on your local machine
- Customizable: Adapt to your existing workflow and repositories
- Docker-based: Simple setup with minimal dependencies
Local Setup Instructions
Prerequisites
- Docker Desktop
- Claude membership
- Git
Installation Steps
-
Clone the repository:
git clone https://github.com/your-username/swift-coder.git cd swift-coder/mcp-server -
Build the Docker image:
./build.shThis will create a Docker image named
swift-coderthat you can see in Docker Desktop.
Connecting Claude to Swift-Coder
-
Open Claude Desktop application
-
Go to Settings → Developer → Edit Config
-
Add the following configuration block:
{ "mcpServers": { "swift-coder": { "command": "docker", "args": [ "run", "-i", "--rm", "-v", "/path/to/your/repo1:/repo1", "-v", "/path/to/your/repo2:/repo2", "-w", "/", "swift-coder" ] } } } -
Replace the paths in the
-varguments with the absolute paths to your local repositories:- The format is:
/your/local/path:/mounted/path - For simplicity, the right side (mounted path) should be a simple name at the root level
- Example:
"-v", "/Users/username/projects/my-app:/my-app",
- The format is:
-
Save and restart Claude
Now Claude is connected to your MCP server and can access your local repositories!
Usage Examples
Check Available Repositories
Ask Claude:
What repositories do you have access to?
Analyze Code Files
Ask Claude to comment on specific files:
Can you analyze the file at /repo1/src/main.js and suggest improvements?
Make Code Changes
Ask Claude to modify or create files in your repositories:
Create a new React component for a login form in /repo1/src/components/LoginForm.jsx
Important Notes
- File paths must be specified relative to how they're mounted in the Docker container
- All repositories are accessible at the root level (e.g.,
/repo1,/swift-coder) - For security, everything stays on your local machine
- Remember that the path on the right side of each
-vargument is how Claude will reference the files
Troubleshooting
If you experience issues:
- Make sure Docker Desktop is running
- Verify that the Docker image was built successfully
- Check that the paths in your Claude configuration are correct and absolute
- Ensure Claude's configuration has been saved properly
Contact & Support
If you have questions or run into issues while setting up Swift-Coder, please:
- Open an issue on GitHub
- Contact me on Twitter: @ashwani_48
- Contact me on LinkedIn: @karoriwal
Happy coding!
Quick Start
Clone the repository
git clone https://github.com/lumix-labs/swift-coderInstall dependencies
cd swift-coder
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.