MCP Server Installation
This guide will help you install and configure the Renamify MCP Server for use with AI assistants.
Prerequisites
Section titled “Prerequisites”Before installing the MCP Server, you need:
Renamify CLI
Section titled “Renamify CLI”The core Renamify command-line tool must be installed and accessible
Node.js 18+
Section titled “Node.js 18+”Required to run the MCP Server (check with node --version
)
Step 1: Install Renamify CLI
Section titled “Step 1: Install Renamify CLI”Quick Install (Recommended)
Section titled “Quick Install (Recommended)”The easiest way to install Renamify:
curl -fsSL https://docspring.github.io/renamify/install.sh | bash
Manual Installation by Platform
Section titled “Manual Installation by Platform”x86_64 / amd64
Section titled “x86_64 / amd64”curl -L https://github.com/DocSpring/renamify/releases/latest/download/renamify-linux-amd64.tar.gz | tar xzsudo mv renamify /usr/local/bin/renamifysudo chmod 755 /usr/local/bin/renamifyrenamify --version
curl -L https://github.com/DocSpring/renamify/releases/latest/download/renamify-linux-arm64.tar.gz | tar xzsudo mv renamify /usr/local/bin/renamifysudo chmod 755 /usr/local/bin/renamifyrenamify --version
Intel (x86_64)
Section titled “Intel (x86_64)”curl -L https://github.com/DocSpring/renamify/releases/latest/download/renamify-macos-amd64.tar.gz | tar xzsudo mv renamify /usr/local/bin/renamifysudo chmod 755 /usr/local/bin/renamifyrenamify --version
Apple Silicon (arm64)
Section titled “Apple Silicon (arm64)”curl -L https://github.com/DocSpring/renamify/releases/latest/download/renamify-macos-arm64.tar.gz | tar xzsudo mv renamify /usr/local/bin/renamifysudo chmod 755 /usr/local/bin/renamifyrenamify --version
x86_64 / amd64
Section titled “x86_64 / amd64”# Download the latest releaseInvoke-WebRequest -Uri "https://github.com/DocSpring/renamify/releases/latest/download/renamify-windows-amd64.zip" -OutFile "renamify.zip"
# Extract to Program FilesExpand-Archive -Path "renamify.zip" -DestinationPath "$env:ProgramFiles\renamify"
# Add to PATH (requires admin privileges)[Environment]::SetEnvironmentVariable("Path", "$env:Path;$env:ProgramFiles\renamify", [EnvironmentVariableTarget]::Machine)
# Verify installation (open new terminal)renamify --version
# Download the latest releaseInvoke-WebRequest -Uri "https://github.com/DocSpring/renamify/releases/latest/download/renamify-windows-arm64.zip" -OutFile "renamify.zip"
# Extract to Program FilesExpand-Archive -Path "renamify.zip" -DestinationPath "$env:ProgramFiles\renamify"
# Add to PATH (requires admin privileges)[Environment]::SetEnvironmentVariable("Path", "$env:Path;$env:ProgramFiles\renamify", [EnvironmentVariableTarget]::Machine)
# Verify installation (open new terminal)renamify --version
Build from Source (Alternative)
Section titled “Build from Source (Alternative)”# Install Rust for Windows from https://win.rustup.rs/# Clone and build from sourcegit clone https://github.com/DocSpring/renamify.gitcd renamifycargo build --release# Copy target/release/renamify.exe to your PATH
Step 2: Configure the MCP Server
Section titled “Step 2: Configure the MCP Server”Recommended: Use with npx (No Installation Required)
Section titled “Recommended: Use with npx (No Installation Required)”The simplest way to use the MCP Server is with npx, which requires no installation:
# This command will be used in your MCP configurationnpx @renamify/mcp-server
This approach ensures you always use the latest version and avoids global package management issues.
Alternative: Global Installation
Section titled “Alternative: Global Installation”If you prefer a global installation:
# Install globally with npmnpm install -g @renamify/mcp-server
Step 3: Configure Your AI Assistant
Section titled “Step 3: Configure Your AI Assistant”Claude Desktop Configuration
Section titled “Claude Desktop Configuration”- Open Claude Desktop settings
- Navigate to the Developer section
- Add the following to your MCP servers configuration:
{ "mcpServers": { "renamify": { "command": "npx", "args": ["-y", "@renamify/mcp-server"] } }}
- Restart Claude Desktop for the changes to take effect
Cursor Configuration
Section titled “Cursor Configuration”- Open Cursor settings (Cmd/Ctrl + ,)
- Search for “MCP” in settings
- Edit the MCP configuration file
- Add the Renamify server:
{ "mcpServers": { "renamify": { "command": "npx", "args": ["-y", "@renamify/mcp-server"] } }}
- Reload Cursor window (Cmd/Ctrl + R)
Continue Configuration
Section titled “Continue Configuration”- Open your Continue configuration file (
~/.continue/config.json
) - Add the MCP server to the
mcpServers
section:
{ "mcpServers": [ { "name": "renamify", "command": "npx", "args": ["-y", "@renamify/mcp-server"] } ]}
- Restart Continue or reload the configuration
Generic MCP Client Configuration
Section titled “Generic MCP Client Configuration”For any MCP-compatible client, use these connection details:
Command: npx
Arguments: ["-y", "@renamify/mcp-server"]
Or if installed globally:
Command: renamify-mcp
Arguments: []
The server communicates via standard input/output (stdio) following the MCP protocol.
Step 4: Verify Installation
Section titled “Step 4: Verify Installation”-
Check Renamify CLI
Terminal window renamify --version# Should output: renamify x.y.z -
Check Node.js version
Terminal window node --version# Should output: v18.x.x or higher -
Test MCP Server directly (optional)
Terminal window # This should start the server (Ctrl+C to exit)npx @renamify/mcp-server -
Test in your AI assistant Ask your AI assistant: “Can you check if the Renamify MCP tools are available?”
The assistant should list the 7 available Renamify tools:
- renamify_plan
- renamify_apply
- renamify_undo
- renamify_redo
- renamify_history
- renamify_status
- renamify_preview
Troubleshooting
Section titled “Troubleshooting””Renamify CLI is not available”
Section titled “”Renamify CLI is not available””This error means the MCP Server cannot find the renamify
binary:
-
Verify installation:
Terminal window which renamify # On macOS/Linuxwhere renamify # On Windows -
Check PATH environment variable:
Terminal window echo $PATH # On macOS/Linuxecho %PATH% # On Windows -
Ensure the renamify binary is in a PATH directory
”Command not found: renamify-mcp”
Section titled “”Command not found: renamify-mcp””If you see this error with global installation:
-
Check global npm/pnpm bin directory is in PATH:
Terminal window npm config get prefix# Add <prefix>/bin to your PATH -
Try using npx instead:
{"command": "npx","args": ["-y", "@renamify/mcp-server"]}
MCP Server not appearing in AI assistant
Section titled “MCP Server not appearing in AI assistant”- Restart your AI assistant application
- Check the configuration file location
- Verify JSON syntax is correct
- Check application logs for MCP errors
Permission errors on macOS/Linux
Section titled “Permission errors on macOS/Linux”If you get permission errors when moving the binary:
# Use sudo for system directoriessudo mv renamify /usr/local/bin/
# Or use a user directory insteadmkdir -p ~/.local/binmv renamify ~/.local/bin/# Add ~/.local/bin to your PATH in ~/.bashrc or ~/.zshrc
Platform-Specific Notes
Section titled “Platform-Specific Notes”- If you use Homebrew, you can create a custom formula for easier updates
- Apple Silicon (M1/M2) users should download the
aarch64
version - Intel Mac users should download the
x86_64
version
- Most distributions work with the standard Linux binary
- For Alpine Linux or musl-based systems, build from source
- Add to
/usr/local/bin
or~/.local/bin
depending on your preference
Windows
Section titled “Windows”- Run terminals as Administrator if installing to system directories
- Use PowerShell or Windows Terminal for best compatibility
- Consider using WSL2 for a more Unix-like experience
Next Steps
Section titled “Next Steps”Now that you have the MCP Server configured:
- Configuration - Customize the MCP Server settings
- Tools Reference - Learn about each available tool
- Usage Examples - See real-world renaming examples