Repomix MCP Server

Repository codebases packed into AI-friendly files for context windows.

Data last scanned 2 days ago · Reviewed 2 days ago

102 tools0JavaScript

Overview

Repomix MCP Server acts as an interface for the repomix tool, allowing AI assistants to consolidate repository contents into single, processed files. It supports local directory packing and remote repository URL processing, with options for output style, glob-based file inclusion or exclusion, and compression to manage token usage.

Our verdict

This server receives a high-risk rating with a security score of 10/100. The project lacks a defined software license and has not seen a code update in over a year, leaving it in an unmaintained state. Due to the lack of community vetting and the absence of any recent development activity, users should exercise extreme caution and consider auditing the code themselves before deployment.

  • Includes a specific estimate tool to preview token costs
  • Restricts file access to the server's starting directory
  • Features only two direct dependencies for lower supply-chain surface
  • Provides documented guidance for usage with Claude Desktop
  • No license detected for legal usage
  • Last commit occurred 398 days ago
  • Lacks any GitHub stars or active community verification

Setup

Claude Desktop
{
  "mcpServers": {
    "repomix-mcp": {
      "args": [
        "-y",
        "repomix-mcp-server"
      ],
      "command": "npx"
    }
  }
}

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows), then restart Claude Desktop. Some servers require API keys or tokens as environment variables — check the project's README and add an "env" object if needed.

  • No read-only mode — running this grants full read/write access.
  • No built-in authentication — anyone with access to this config can invoke every tool it exposes.

Tools

ToolDescriptionRisk
repomix-estimateEstimate the size of repomix output without retrieving the content.low
repomixPack a repository into a single, AI-friendly file.low

Compatibility

ClientLocalDockerRemoteRead-only
ChatGPT
Claude Desktop
Cursor
VS Code
Windsurf

Frequently asked questions

What security measures are in place regarding file access?

The server restricts access to the directory from which it was started, explicitly denying any attempts to read files outside of that location.

Where are the output files stored?

All output files are written to the system's temporary directory and are automatically cleaned up after their contents are returned to the client.

Why should I use the repomix-estimate tool before the main repomix tool?

Using repomix-estimate allows you to check the repository size and estimated token count beforehand to ensure the output will fit within your AI model's context window.

Does this MCP server support remote repositories?

Yes, you can provide a remote repository URL using the remote parameter to process code directly from a URL.

Can I filter which files are included or excluded when packing a repository?

Yes, you can use the include and ignore parameters to pass glob patterns for filtering the files processed during packing.

Alternatives

Badge

Repomix MCP Server security score, rated on RepoAI

Maintain this server? Add the live badge to your README.