# ThinkRun MCP server

> Lets AI coding agents record, browse, and analyze real Chrome sessions with structured context including clicks, console logs, and network requests.

- Repository: https://github.com/dundas/thinkrun
- Page: https://hostedmcp.org/servers/dundas/thinkrun
- Transport: stdio
- Stars: 2
- License: MIT
- Latest version: 0.3.14

## Install

### Claude Code

```sh
claude mcp add thinkrun -- npx -y @thinkrun/mcp
```

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

```json
{
  "mcpServers": {
    "thinkrun": {
      "command": "npx",
      "args": [
        "-y",
        "@thinkrun/mcp"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "thinkrun": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@thinkrun/mcp"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"thinkrun","type":"stdio","command":"npx","args":["-y","@thinkrun/mcp"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "thinkrun": {
      "command": "npx",
      "args": [
        "-y",
        "@thinkrun/mcp"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add thinkrun -- npx -y @thinkrun/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.thinkrun]
command = "npx"
args = ["-y", "@thinkrun/mcp"]
```

### Gemini CLI

```sh
gemini mcp add -s user thinkrun npx -- -y @thinkrun/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "thinkrun": {
      "command": "npx",
      "args": [
        "-y",
        "@thinkrun/mcp"
      ]
    }
  }
}
```

## FAQ

### How do I give Claude Code (or Cursor) access to my browser?

Add ThinkRun as an MCP server using `npx @thinkrun/mcp` to allow your agent to drive and read a real Chrome session, including your cookies and logins.

### How do I show Cursor a UI bug instead of pasting a screenshot?

Record the bug with ThinkRun to provide the agent with a structured artifact containing steps taken, console errors, failing network requests, and DOM state.

### Is there an MCP server that uses my real Chrome cookies and sessions?

Yes, ThinkRun runs against your real Chrome via a native host, allowing authenticated pages to work without headless re-login or profile conflicts.

### How do I record a browser session for an AI coding agent?

Run `npx @thinkrun/mcp` or install the CLI globally, then record a session to generate an AI-ready report with time-synced clicks, console, and network data.
