A simple MCP server that wraps the flyctl
CLI to provide Fly.io capabilities to Claude Desktop.
- Go 1.21 or later
flyctl
CLI installed and available in PATH- Claude Desktop installed
# Clone the repository
git clone https://github.com/superfly/flymcp.git
cd flymcp
# Install dependencies
go mod download
# Build the binary
go build -o flymcp
- Open Claude Desktop
- Go to the Claude menu and select "Settings..."
- Click on "Developer" in the left-hand bar
- Click on "Edit Config"
This will create or open a configuration file at:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
- Add the following configuration to the file:
{
"mcpServers": {
"flymcp": {
"command": "/full/path/to/your/flymcp",
"args": []
}
}
}
Make sure to replace /full/path/to/your/flymcp
with the absolute path to your flymcp binary.
- Save the file and restart Claude Desktop
Before using the tools, make sure you're authenticated with Fly.io:
flyctl auth login
If you encounter issues with the MCP server:
-
Check the logs in:
- macOS:
~/Library/Logs/Claude/mcp-server-flymcp.log
- Windows:
%APPDATA%\Claude\logs\mcp-server-flymcp.log
- macOS:
-
Make sure the path to the flymcp binary is correct and absolute
-
Ensure you have the necessary permissions to execute the binary
-
Verify that flyctl is installed and accessible in your PATH
The server is built using the MCP Go library and communicates with Claude Desktop through standard input/output streams.
MIT