# RedlineJS

> RedlineJS is a freemium MCP server for developer tools. MCP server that feeds website review comments to coding agents like Claude Code and Cursor. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** CLI, API, Web, VS Code, Self-hosted
- **Website:** https://redlinejs.com/docs/mcp
- **Repository:** https://github.com/perpetio/redlinejs-mcp
- **MCP Registry name:** com.redlinejs/redline
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-27

## About

Reviewers leave comments on a live page, and this server hands them to the coding agent with the target element attached. The agent can read each comment, reply in the thread, move it to in progress, resolved or won't fix, and reviewers see those replies labelled as coming from the agent.

By default comments stay local in a hidden .annotate folder inside the project, with a review backend on 127.0.0.1:7335. Pointing it at a Redline Cloud review with a review id and agent invite lets a shared review drive the agent instead. Each comment records a readable element label, a stable selector, the nearest heading, styles and, in React, Vue or Svelte development builds, the component chain and source file.

It suits front-end developers who already work in Claude Code, Codex, Cursor or VS Code and want review feedback to turn into code changes without copying notes by hand. Node.js 20 or later is required.

## Features

- **Read pending comments:** Lists open and in-progress comments, oldest first, as Markdown and JSON with an optional page filter.
- **Element context per comment:** Each comment carries a label, stable selector, nearest heading, styles and, where available, the source file of the component.
- **Reply and set status:** The agent can answer in a comment thread and mark it in progress, resolved, won't fix or reopened.
- **Watch for new feedback:** A watch tool waits for new or changed comments and returns them to the agent.
- **Local or cloud review:** Runs against a local folder backend by default, or connects to a Redline Cloud review with an agent invite.
- **Diagnostic command:** A doctor command prints a line per check and exits with an error code if one fails.

## Good for

- Working through visual bug reports left by reviewers on a localhost page
- Letting an agent fix copy or styling changes and reply to each comment
- Connecting a shared client review in Redline Cloud to a coding agent
- Keeping review notes out of git by storing them in an ignored local folder

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add redline --env REDLINE_INVITE='<REDLINE_INVITE>' -- npx -y @perpetio/redline
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "redline": {
      "command": "npx",
      "args": [
        "-y",
        "@perpetio/redline"
      ],
      "env": {
        "REDLINE_INVITE": "<REDLINE_INVITE>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "redline": {
      "command": "npx",
      "args": [
        "-y",
        "@perpetio/redline"
      ],
      "env": {
        "REDLINE_INVITE": "<REDLINE_INVITE>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "redline": {
      "command": "npx",
      "args": [
        "-y",
        "@perpetio/redline"
      ],
      "env": {
        "REDLINE_INVITE": "<REDLINE_INVITE>"
      }
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "redline": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@perpetio/redline"
      ],
      "env": {
        "REDLINE_INVITE": "<REDLINE_INVITE>"
      }
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add redline --env REDLINE_INVITE='<REDLINE_INVITE>' -- npx -y @perpetio/redline
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.redline]
command = "npx"
args = ["-y", "@perpetio/redline"]
env = { REDLINE_INVITE = "<REDLINE_INVITE>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "redline": {
      "command": "npx",
      "args": [
        "-y",
        "@perpetio/redline"
      ],
      "env": {
        "REDLINE_INVITE": "<REDLINE_INVITE>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e REDLINE_INVITE='<REDLINE_INVITE>' redline npx -- -y @perpetio/redline

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "redline": {
      "command": "npx",
      "args": [
        "-y",
        "@perpetio/redline"
      ],
      "env": {
        "REDLINE_INVITE": "<REDLINE_INVITE>"
      }
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "redline": {
      "command": "npx",
      "args": [
        "-y",
        "@perpetio/redline"
      ],
      "env": {
        "REDLINE_INVITE": "<REDLINE_INVITE>"
      }
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "redline": {
      "command": "npx",
      "args": [
        "-y",
        "@perpetio/redline"
      ],
      "env": {
        "REDLINE_INVITE": "<REDLINE_INVITE>"
      }
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "redline": {
      "command": "npx",
      "args": [
        "-y",
        "@perpetio/redline"
      ],
      "env": {
        "REDLINE_INVITE": "<REDLINE_INVITE>"
      }
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "redline": {
      "command": "npx",
      "args": [
        "-y",
        "@perpetio/redline"
      ],
      "env": {
        "REDLINE_INVITE": "<REDLINE_INVITE>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "redline": {
      "command": "npx",
      "args": [
        "-y",
        "@perpetio/redline"
      ],
      "env": {
        "REDLINE_INVITE": "<REDLINE_INVITE>"
      }
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "redline": {
      "command": "npx",
      "args": [
        "-y",
        "@perpetio/redline"
      ],
      "env": {
        "REDLINE_INVITE": "<REDLINE_INVITE>"
      }
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "redline": {
      "command": "npx",
      "args": [
        "-y",
        "@perpetio/redline"
      ],
      "env": {
        "REDLINE_INVITE": "<REDLINE_INVITE>"
      }
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 2 of 5 tools change data; 1 name doesn't say. From the server's own tool labels and tool names; not verified by us.

- `annotate_list_pending` (name suggests: reads): Open and in-progress comments, oldest first, as Markdown plus JSON. Optional page filter.
- `annotate_get_comment` (name suggests: reads): One comment in full: styles, position, replies and activity.
- `annotate_reply` (name suggests: changes): Adds a reply to a comment thread.
- `annotate_set_status` (name suggests: changes): Sets in_progress, resolved, wont_fix or open. A note is posted as a reply first, and wont_fix needs one.
- `annotate_watch`: Waits for new or changed comments, then returns them.

## FAQ

### Does RedlineJS need Node.js?

Yes, Node.js 20 or later is required for both local and remote mode.

### Where are local comments stored?

In a .annotate folder in the project folder, which has its own .gitignore so nothing is committed.

### Can more than one project use local mode at once?

No. The fixed address 127.0.0.1:7335 means one project at a time can use local mode; another project needs a Redline Cloud review.

### Who can write to my agent through a review?

Anyone who can comment on the review can write to the agent, so it should not be paired with an open review on a publicly reachable site.

### Is RedlineJS free?

RedlineJS has a free plan, with paid plans for more usage or features.

### How do I add RedlineJS to Claude Code?

Run this command in your terminal: claude mcp add redline --env REDLINE_INVITE='<REDLINE_INVITE>' -- npx -y @perpetio/redline

### What are the best alternatives to RedlineJS?

The closest alternatives to RedlineJS are Annoty, mdreview, Reado, Marigold and Batch Review.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Annoty](https://ai-powered.com/mcp/annoty): Annoty is an MCP server for developer tools.
- [mdreview](https://ai-powered.com/mcp/mdreview): mdreview is an MCP server for productivity.
- [Reado](https://ai-powered.com/mcp/reado): Reado is an open-source MCP server for developer tools.
- [Marigold](https://ai-powered.com/mcp/marigold): Marigold is an open-source MCP server for developer tools.
- [Batch Review](https://ai-powered.com/mcp/batch-review): Batch Review is an open-source MCP server for developer tools.
- [Notemend](https://ai-powered.com/mcp/notemend): Notemend is an MCP server for developer tools.
- [layernote](https://ai-powered.com/mcp/layernote): layernote is an MCP server for design and media.
- [Codereviewbuddy](https://ai-powered.com/mcp/codereviewbuddy): Codereviewbuddy is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/redlinejs
