schemaVersion: "1.0.0"
name: "ripgrep-mcp"
displayName: "BurntSushi/ripgrep MCP Server"
description: "Recursively searches directories for regex patterns while respecting gitignore."
homepage: "https://github.com/BurntSushi/ripgrep"
repository: "https://github.com/BurntSushi/ripgrep"
license: "MIT"
startCommand:
  type: stdio
  command: python3
  args:
    - "server.py"
    - "--stdio"
  configSchema:
    type: object
    properties:
      allowExec:
        type: boolean
        title: "Allow Local Execution"
        description: "Set true to execute local CLI commands instead of dry-run plans."
        default: false
  env:
    MCP_ALLOW_EXEC: "${config.allowExec}"
tools:
  - name: repo_overview
    description: "Return architecture, install commands, and tool catalog for BurntSushi/ripgrep."
  - name: cli_search
    description: "Search files for a regex pattern with JSON line match metadata"
  - name: cli_files
    description: "List indexed repository files respecting ignore rules"
  - name: cli_stats
    description: "Count pattern matches grouped by file path"
