ThinkReview

io.github.Thinkode由 GitHub 账号 Thinkode 发布v1.3.0更新于 Oct 24, 2026

Live PR/MR code reviews via review_url_code. OAuth or portal Bearer auth.

发布方自己的服务:Review Expert

已验证Streamable HTTP可网页运行开发者工具AI 与机器学习

概览

AI 生成的概览

托管式 MCP 服务器,让助手针对 GitHub、GitLab、Azure DevOps 或 Bitbucket 的拉取/合并请求 URL 运行 AI 代码审查。

可以做什么
针对拉取请求或合并请求 URL 运行实时代码审查,可指定响应语言、跟踪 ID 并跳过缓存,返回包含摘要、建议、安全提示、最佳实践和后续问题的结构化审查结果。
适用场景
适合希望无需把 diff 粘贴到对话中就能获得结构化 PR/MR 审查的场景,可在支持 Streamable HTTP 的 Cursor、Claude Code、Claude Desktop 或 GitHub Copilot 等客户端中使用。
运行要求
远程端点 Streamable HTTP。需要拥有有效套餐或审查额度的 ThinkReview 账户,并在门户的“设置 → 集成”中为 PR 所在主机保存 git 凭据。认证方式为 OAuth(推荐)或在 Authorization 头中提供门户 Bearer 令牌。在 Claude Desktop 配置文件方式下需 Node.js 运行 mcp-remote 桥接。
安装前请注意
审查会消耗与 ThinkReview 浏览器扩展相同的审查额度,因此使用会产生费用。Bearer 令牌是与扩展共用的长期门户令牌,应避免提交到 git 或写入配置文件,优先使用 OAuth,泄露后应重新生成。变更文件通过你保存的 git 凭据获取,因此 PAT 只应授予读取 PR/MR 和 diff 所需的最小权限。重新生成 Bearer 令牌不会撤销 OAuth 会话。

安装

在 SourceWeft 中

  1. 打开 控制台中的 ThinkReview,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.Thinkode%2Fthinkreview/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "thinkreview": {
      "type": "http",
      "url": "https://mcp.thinkreview.dev/v1"
    }
  }
}

README

ThinkReview MCP

Hosted Model Context Protocol server for AI code reviews on pull request and merge request URLs.

Connect Cursor, Claude Code, Claude Desktop, or GitHub Copilot, paste a PR/MR URL, and get a structured review — without pasting a diff into chat.

Endpointhttps://mcp.thinkreview.dev/v1
TransportStreamable HTTP
AuthOAuth (recommended) or Bearer token
Registryio.github.Thinkode/thinkreview
Productthinkreview.dev/features/mcp
Docsthinkreview.dev/docs/mcp-integration
Setupportal.thinkreview.dev/mcp

This repository is for visibility and client documentation. ThinkReview MCP runs as a remote hosted server. The review engine, auth, billing, and git integrations stay on ThinkReview infrastructure and are not published here.


What it does

ThinkReview MCP exposes one tool:

review_url_code

Run a live code review on a GitHub, GitLab, Azure DevOps, or Bitbucket PR/MR URL.

ThinkReview fetches changed files through your stored git credentials (portal Integrations) and returns a structured review: summary, suggestions, security notes, best practices, and suggested follow-up questions.

ParameterRequiredDescription
prUrlYesFull or domain-style PR/MR URL (e.g. https://github.com/org/repo/pull/42)
languageNoResponse language (default: English)
mrIdNoOptional tracking ID for your workflow
forceRegenerateNotrue to bypass cache and force a new review

URL reviews use the same review credits as the ThinkReview browser extension.


Authentication

Choose one method. Interactive configs for both are on portal.thinkreview.dev/mcp.

MethodHow it worksBest for
OAuth (recommended)URL-only MCP config → Authenticate in the browser on the ThinkReview portalCursor, Claude Code, Claude Desktop, Copilot
Bearer tokenLong-lived portal token in Authorization: Bearer <token> headersExtension, CI, or clients that cannot complete OAuth

OAuth sessions are separate from the extension Bearer token. Regenerating the Bearer token does not revoke OAuth MCP sessions.


Prerequisites

  1. A ThinkReview account with an active plan or available review credits
  2. Git credentials under Settings → Integrations for the host of the PR you want to review
  3. An MCP client that supports Streamable HTTP, plus either:

Quick start — OAuth (recommended)

Add a URL-only config, then Authenticate in your client (browser opens the ThinkReview portal).

Cursor

json
{  "mcpServers": {    "thinkreview": {      "url": "https://mcp.thinkreview.dev/v1"    }  }}

Enable thinkreview, click Authenticate, complete portal consent.
Example: examples/oauth/cursor.mcp.json

Claude Code

CLI:

bash
claude mcp add --transport http thinkreview https://mcp.thinkreview.dev/v1

[Add ThinkReview MCP with Claude Code CLI]

Or config (~/.claude.json / project .mcp.json):

json
{  "mcpServers": {    "thinkreview": {      "type": "http",      "url": "https://mcp.thinkreview.dev/v1"    }  }}

Example: examples/oauth/claude.mcp.json

Authenticate (OAuth)
  1. Start Claude Code and run /mcp.

[Open /mcp in Claude Code]

  1. Select thinkreview — status shows needs authentication.

[thinkreview needs authentication]

  1. Choose Authenticate.

[Select Authenticate]

  1. Claude Code opens the browser OAuth flow (/authorize → portal consent).

[Browser OAuth URL in Claude Code]

[Authorize ThinkReview MCP on the portal]

  1. After you click Allow, return to Claude Code — you should see Authentication successful.

[Authentication successful]

Run a review

Ask Claude Code to review a PR URL (tool: review_url_code):

[Invoke review_url_code]

[Example review result]

Claude Desktop

Preferred: Settings → Connectors → Add custom connector → https://mcp.thinkreview.dev/v1 → Connect → complete portal OAuth.

Claude Desktop’s claude_desktop_config.json does not accept Claude Code’s "type": "http" block. To use the config file instead, bridge with mcp-remote (requires Node.js), then fully quit and reopen Desktop:

json
{  "mcpServers": {    "thinkreview": {      "command": "npx",      "args": ["-y", "mcp-remote", "https://mcp.thinkreview.dev/v1"]    }  }}

[claude_desktop_config.json with mcp-remote]

After restart, Settings → Developer → Local MCP servers should show thinkreview as running. Complete OAuth when prompted (same portal consent as Claude Code).

[thinkreview running in Claude Desktop]

Example: examples/oauth/claude-desktop.mcp.json

GitHub Copilot (VS Code)

.vscode/mcp.json or user MCP config (servers key):

json
{  "servers": {    "thinkreview": {      "type": "http",      "url": "https://mcp.thinkreview.dev/v1"    }  }}

Use Auth / Authenticate on the thinkreview server, then enable it in Copilot Chat.
Example: examples/oauth/vscode-copilot.mcp.json

Example prompt

Call review_url_code for https://github.com/org/repo/pull/123


Alternative — Bearer token

Copy your token from portal.thinkreview.dev/mcp and add it as a header. Same session token as the browser extension. Regenerating invalidates the previous token for extension and Bearer-based MCP clients.

Cursor

json
{  "mcpServers": {    "thinkreview": {      "url": "https://mcp.thinkreview.dev/v1",      "headers": {        "Authorization": "Bearer <your-token>"      }    }  }}

Example: examples/bearer/cursor.mcp.json

Claude Code

bash
claude mcp add --transport http thinkreview https://mcp.thinkreview.dev/v1 \  --header "Authorization: Bearer <your-token>"
json
{  "mcpServers": {    "thinkreview": {      "type": "http",      "url": "https://mcp.thinkreview.dev/v1",      "headers": {        "Authorization": "Bearer <your-token>"      }    }  }}

Example: examples/bearer/claude.mcp.json

Claude Desktop (mcp-remote + header)

json
{  "mcpServers": {    "thinkreview": {      "command": "npx",      "args": [        "-y",        "mcp-remote",        "https://mcp.thinkreview.dev/v1",        "--header",        "Authorization:${AUTH_HEADER}"      ],      "env": {        "AUTH_HEADER": "Bearer <your-token>"      }    }  }}

Example: examples/bearer/claude-desktop.mcp.json

GitHub Copilot (VS Code)

json
{  "servers": {    "thinkreview": {      "type": "http",      "url": "https://mcp.thinkreview.dev/v1",      "headers": {        "Authorization": "Bearer <your-token>"      }    }  }}

Example: examples/bearer/vscode-copilot.mcp.json


Supported platforms

Same hosts as the ThinkReview extension:

  • GitHub.com and GitHub Enterprise Server
  • GitLab.com and self-managed GitLab
  • Azure DevOps Cloud and on-premise
  • Bitbucket Cloud and Bitbucket Data Center

Security

  • Prefer OAuth so long-lived tokens are not stored in MCP config files
  • If you use a Bearer token, treat it like a password — do not commit it to git
  • Store tokens only in local MCP client config or a secrets manager
  • Regenerate the Bearer token from the portal if it is ever exposed
  • Use git PATs with the minimum scopes needed to read PRs/MRs and diffs

Related


License

Documentation and example configs in this repository are licensed under the MIT License.

The ThinkReview hosted MCP service, APIs, and review infrastructure remain proprietary to Thinkode / ThinkReview.

来源:README.md,提交 64c1ade

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

1
  1. v1.3.0最新Sep 16, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Review 集成