Skip to content

MCP Server Installation

This guide will help you install and configure the Renamify MCP Server for use with AI assistants.

Before installing the MCP Server, you need:

The core Renamify command-line tool must be installed and accessible

Required to run the MCP Server (check with node --version)

The easiest way to install Renamify:

Terminal window
curl -fsSL https://docspring.github.io/renamify/install.sh | bash
Terminal window
curl -L https://github.com/DocSpring/renamify/releases/latest/download/renamify-linux-amd64.tar.gz | tar xz
sudo mv renamify /usr/local/bin/renamify
sudo chmod 755 /usr/local/bin/renamify
renamify --version
Terminal window
curl -L https://github.com/DocSpring/renamify/releases/latest/download/renamify-linux-arm64.tar.gz | tar xz
sudo mv renamify /usr/local/bin/renamify
sudo chmod 755 /usr/local/bin/renamify
renamify --version
Section titled “Recommended: Use with npx (No Installation Required)”

The simplest way to use the MCP Server is with npx, which requires no installation:

Terminal window
# This command will be used in your MCP configuration
npx @renamify/mcp-server

This approach ensures you always use the latest version and avoids global package management issues.

If you prefer a global installation:

Terminal window
# Install globally with npm
npm install -g @renamify/mcp-server
  1. Open Claude Desktop settings
  2. Navigate to the Developer section
  3. Add the following to your MCP servers configuration:
{
"mcpServers": {
"renamify": {
"command": "npx",
"args": ["-y", "@renamify/mcp-server"]
}
}
}
  1. Restart Claude Desktop for the changes to take effect
  1. Check Renamify CLI

    Terminal window
    renamify --version
    # Should output: renamify x.y.z
  2. Check Node.js version

    Terminal window
    node --version
    # Should output: v18.x.x or higher
  3. Test MCP Server directly (optional)

    Terminal window
    # This should start the server (Ctrl+C to exit)
    npx @renamify/mcp-server
  4. 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

This error means the MCP Server cannot find the renamify binary:

  1. Verify installation:

    Terminal window
    which renamify # On macOS/Linux
    where renamify # On Windows
  2. Check PATH environment variable:

    Terminal window
    echo $PATH # On macOS/Linux
    echo %PATH% # On Windows
  3. Ensure the renamify binary is in a PATH directory

If you see this error with global installation:

  1. Check global npm/pnpm bin directory is in PATH:

    Terminal window
    npm config get prefix
    # Add <prefix>/bin to your PATH
  2. Try using npx instead:

    {
    "command": "npx",
    "args": ["-y", "@renamify/mcp-server"]
    }
  1. Restart your AI assistant application
  2. Check the configuration file location
  3. Verify JSON syntax is correct
  4. Check application logs for MCP errors

If you get permission errors when moving the binary:

Terminal window
# Use sudo for system directories
sudo mv renamify /usr/local/bin/
# Or use a user directory instead
mkdir -p ~/.local/bin
mv renamify ~/.local/bin/
# Add ~/.local/bin to your PATH in ~/.bashrc or ~/.zshrc
  • 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
  • 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

Now that you have the MCP Server configured: