Reason

io.github.reason-machines由 GitHub 账号 reason-machines 发布v1.0.0更新于 Oct 24, 2026

Start and manage Reason cloud coding agents, projects and sessions from any MCP client.

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

概览

AI 生成的概览

Reason 云端编码代理的远程 MCP 服务器:可在任意 MCP 客户端中启动、跟踪和查看编码会话与拉取请求。

可以做什么
  • 针对代码仓库用提示词创建编码会话,并查看其状态、结果、产出和拉取请求链接
  • 列出并跟踪会话,包括分页列表和最近的会话记录
  • 检查当前连接的工作区与身份,并读取每次调用返回的 API 状态和数据
  • 以 base64 请求体上传小文件,并获取结果的授权下载链接
  • 把修复缺陷、审查拉取请求、修复 CI 或解答代码库问题等任务交给 Reason 代理
适用场景
适合希望把编码工作交给 Reason 云端代理(提交拉取请求、审查改动、修复失败的 CI、回答仓库相关问题)并在同一客户端中跟踪这些会话的场景。
运行要求
需要以 OAuth 浏览器登录连接 mcp.reasonmachines.com 的远程 Streamable HTTP 端点;需要一个已连接 GitHub 并含工作区的 Reason 账户。无头集成可改用带作用域的 Reason API 密钥,通过 Authorization bearer 头传递。
安装前请注意
创建会话会启动异步工作并可能提交拉取请求,应查看结果而非假定已完成。OAuth 凭据与受众绑定,不能当作 REST 登录复用。不要把 API 密钥放进提示词、共享配置文件或 URL,也不要将 bearer 令牌转发给返回的下载链接。访问权限受工作区成员身份和作用域限制,不再使用时请撤销连接。

安装

在 SourceWeft 中

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

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

交给智能体安装

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

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

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

其他 MCP 客户端

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

{
  "mcpServers": {
    "reason": {
      "type": "http",
      "url": "https://mcp.reasonmachines.com/mcp"
    }
  }
}

README

Reason plugins for Claude Code, Codex, Cursor and Grok Bot

Connect a coding agent to your Reason workspace at https://mcp.reasonmachines.com/mcp. Sign in through your browser, choose a workspace, review permissions, and connect. The plugin contains no API key, credential, local executable or hook.

Install the Reason plugin

Claude Code

sh
claude plugin marketplace add reason-machines/reason-pluginsclaude plugin install reason@reason

Open /mcp in Claude Code and authenticate Reason when prompted.

Codex

sh
codex plugin marketplace add reason-machines/reason-pluginscodex plugin add reason@reason

Enable Reason and complete the browser authentication prompt. Reload the client if its tool list was already open when you installed the plugin.

These are Reason Machines' publisher-owned plugins. Installation does not depend on acceptance into Anthropic's curated marketplace or OpenAI's public directory; those services review and approve listings separately.

Grok Bot and Cursor

Grok Bot (x.ai/bot) installs plugins from the Cursor Marketplace, so one Cursor plugin serves both. Once the listing is live, open it in either app, choose Add to Grok Bot or Add to Cursor, and complete the browser sign-in when Reason first asks.

The plugin contains:

  • the reason skill: how to hand any coding task to Reason, follow it and return the session link and pull request;
  • slash commands /reason-fix, /reason-build, /reason-review, /reason-fix-ci, /reason-ask and /reason-status;
  • a reason-handoff rule the agent applies when a request touches code;
  • the Reason MCP server, https://mcp.reasonmachines.com/mcp, with OAuth only.

Until the listing is approved, Cursor can connect the MCP server alone: Add Reason to Cursor.

For privacy details, see the Privacy Policy and Terms of Service. For support, contact [email protected].

In the Codex app, open Plugins → Add → Add plugin marketplace, paste https://github.com/reason-machines/reason-plugins, and add the marketplace. Leave Git ref and Sparse paths empty. Select Reason MCP → Install, then complete the browser authentication prompt. No separate MCP configuration is needed.

The marketplace identifier is reason.

Moving from the Ara plugin

Reason was called Ara, and this repository was Aradotso/ara-mcp. The ara plugin (and ara-handoff before it) connected to a server that is now retired: https://api.ara.so/mcp/ara answers HTTP 410. The reason plugin replaces both.

Claude Code

If you added the marketplace under its old name, it is still registered as ara on your machine. Refresh it and install the plugin under its new name:

sh
claude plugin marketplace update araclaude plugin install reason@ara

Then open /mcp and authenticate Reason. After the refresh Claude Code no longer loads the retired server and moves your ara@ara (or ara-handoff@ara) setting to reason@ara; the install fetches the plugin itself.

Codex

Codex keeps serving an installed plugin until you remove it, so remove the old one and add the new one:

sh
codex plugin remove ara@aracodex plugin marketplace remove aracodex plugin marketplace add reason-machines/reason-pluginscodex plugin add reason@reason

Cursor and other clients

Delete the ara entry whose URL ends in /mcp/ara from your MCP configuration (~/.cursor/mcp.json for Cursor) and add the server shown under Other MCP clients.

If you have the Reason CLI, reason mcp uninstall removes the retired registrations from Claude Code, Codex and Cursor in one step.

More from Reason

Connect without a plugin

Claude Code

sh
claude mcp add --transport http reason https://mcp.reasonmachines.com/mcp

Then open /mcp and authenticate Reason.

Codex

sh
codex mcp add reason --url https://mcp.reasonmachines.com/mcpcodex mcp login reason

Other MCP clients

Choose a remote Streamable HTTP server with URL https://mcp.reasonmachines.com/mcp and OAuth authentication. For example:

json
{  "mcpServers": {    "reason": {      "type": "http",      "url": "https://mcp.reasonmachines.com/mcp"    }  }}

For headless integrations, a scoped Reason API key can be provided by your client's secret manager as an Authorization bearer header. Never put a token in this repository, a prompt, a shared configuration file, or a URL. OAuth credentials are audience-bound: a REST login cannot be reused as an MCP login.

Try it

  • “Fix the 500 on /api/orders in acme/web and open a PR.” (or /reason-fix …)
  • “Review https://github.com/acme/web/pull/42.” (or /reason-review …)
  • “CI is red on my PR #57, make it green without skipping tests.”
  • “How does authentication work in acme/api?” (or /reason-ask …)
  • “Every weekday at 9am, triage new issues in acme/web.”
  • “Show my recent Reason sessions.” (or /reason-status)

The tools follow the active public v3 contract and your granted scopes. Start with getSelf to check the connected workspace. Path and query arguments are top-level; JSON request bodies go in body. Workspace selection is automatic and pinned to the connection.

For example, createSession accepts {"body":{"prompt":"…","repo":"acme/web"}} and returns the session url; getSession accepts {"sessionId":"…","fields":"status,outcome,result,pr_url"}.

Creating a session starts asynchronous work; inspect its status before assuming it finished. Follow pagination cursors for complete lists. Tool results preserve API status and data, including permission errors, conflicts and rate limits.

All active v3 operations are represented. Deprecated compatibility aliases and retired routes are omitted. File uploads take body.filename and body.data_base64, limited to 1 MiB; use REST for larger uploads. Downloads return an authorized download_url, never forward your Reason bearer to that URL. Large results are bounded at 2 MiB; request a smaller page or use REST.

Permissions and disconnection

Each connection is bound to the workspace chosen during consent. Tools reuse the API's scope, membership, role, private-project and IP access checks. Stored secrets remain write-only. MCP does not grant arbitrary control of your Mac or bypass a service's OAuth approval. Revoking a connection or removing its workspace membership stops access. Use your client's disconnect/logout controls and Reason's connected-app controls when the integration is no longer needed.

Publishing to Grok Bot and Cursor

Both listings are reviewed by their marketplaces, and submitting accepts the Cursor Marketplace Publisher Terms.

  1. Merge to main and confirm the checks under Validation pass.
  2. Cursor: go to cursor.com/marketplace/publish and submit https://github.com/reason-machines/reason-plugins. Cursor reads .cursor-plugin/marketplace.json and plugins/reason/.cursor-plugin/plugin.json.
  3. Grok Bot: go to x.ai/bot/marketplace/submit-a-plugin and select Grok Bot and Cursor under Where do you want to be listed?
    • Organization: Reason Machines; website https://reasonmachines.com.

    • Logotype URL: https://raw.githubusercontent.com/reason-machines/reason-plugins/main/plugins/reason/assets/reason-logo.png (512×512 PNG on an opaque white plate).

    • MCP Server URL or Public GitHub Repository: https://github.com/reason-machines/reason-plugins.

    • Brief Description: the description in plugins/reason/.cursor-plugin/plugin.json.

    • Testing Instructions:

      Install Reason and sign in when prompted (browser OAuth; a Reason account at reasonmachines.com with GitHub connected, no API key). Ask “Show my recent Reason sessions” to confirm the connection. Then run /reason-ask How is this repository structured? in <owner/repo> with any repository you connected: the agent returns a reasonmachines.com session link at once and, a few minutes later, an answer that cites files. /reason-fix <bug> in <owner/repo> opens a pull request the same way.

Support and validation

Contact Reason Machines. See SECURITY.md for vulnerability reporting.

sh
claude plugin validate --strict plugins/reasonclaude plugin validate --strict .claude-plugin/marketplace.jsoncurl -fsSO https://raw.githubusercontent.com/cursor/plugin-template/main/scripts/validate-template.mjsnode validate-template.mjs   # Cursor's template validator, run from the repository root

tests/test_cursor_plugin.py checks the Cursor package against the submission checklist: valid JSON, unique kebab-case names, relative paths that exist, a square opaque logo, an OAuth-only MCP entry with no undeclared ${VAR}, and frontmatter on every skill, command and rule.

python3 -m unittest discover -s tests installs the package with the Codex CLI and checks the manifests, the renames map for former plugin names, and server.json, the entry for the MCP Registry. Publish that entry by running the Publish to MCP Registry workflow by hand; to publish a change, raise version in server.json first.

Validate the Codex manifest with the Codex plugin validator. Test installations in an isolated client configuration directory, preserving personal installations. Production connection and directory approval are separate from manifest validation.

来源:README.md,提交 a6c511e

工具

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

版本历史

1
  1. v1.0.0最新Oct 12, 2026

评分

已满足适用检查项的 85%

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

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

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

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