v0.2.36

yamadashy/repomixv0.2.36Mar 9, 2025by yamadashy

AI Summary

This release adds MCP server support, improves ignore pattern handling on the website, and includes dependency updates.

Key Highlights

  • Initial MCP server implementation for AI assistants
  • pack_codebase tool for local code directories
  • pack_remote_repository tool for GitHub repositories
  • Enhanced ignore pattern support on website with special characters

New Features

  • MCP server support with pack_codebase tool
  • MCP server support with pack_remote_repository tool
  • Enhanced ignore pattern support on website
  • MCP marketplace submission

Full Release Notes

This release adds MCP server support, improves ignore pattern handling on the website, and includes dependency updates.

## What's New 🚀

### MCP Server Support (#399)
* Added initial implementation of the [Model Context Protocol (MCP)](https://modelcontextprotocol.io) server
  * Allows AI assistants to directly interact with your codebase without manual file preparation
  * Provides two powerful tools:
    * `pack_codebase`: Package local code directories for AI analysis
    * `pack_remote_repository`: Fetch, clone and package GitHub repositories

We've also submitted Repomix to the MCP marketplace:
- https://github.com/cline/mcp-marketplace/issues/64

To use Repomix as an MCP server with Cline (VS Code extension), edit the `cline_mcp_settings.json` file:
```json
{
  "mcpServers": {
    "repomix": {
      "command": "npx",
      "args": [
        "-y",
        "repomix",
        "--mcp"
      ]
    }
  }
}
```

<img width="520" alt="image" src="https://github.com/user-attachments/assets/c698e8ba-91bb-4207-b0fe-ba0a56871975" />

For more details, please refer to the documentation:
https://github.com/yamadashy/repomix#mcp-integration

## Improvements ⚡️

### Enhanced Ignore Pattern Support (#396)
* Now allows special characters like `!` `(` `)` in ignore patterns via the website

**Known Issue**: There's currently an issue where negation patterns (`!`) don't work correctly. See [Issue #400](https://github.com/yamadashy/repomix/issues/400) for details.

Thank you @eastlondoner for your first contribution to the project!

## How to Update

```
npm update -g repomix
```

--------

As always if you encounter any issues or have suggestions please let us know through our GitHub issues or join our Discord community https://discord.gg/wNYzTwZFku for support.