Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Spend limits for AI agents that pay with x402: every paywall is policy-checked before a cent moves.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
REIN_AGENT_FILE, REIN_ENGINE_URL, REIN_AGENT_ID, REIN_ENGINE_API_KEY, REIN_PAYER_PRIVATE_KEY, REIN_NETWORK_PROFILEค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"rein": {
"command": "npx",
"args": [
"-y",
"@reinconsole/mcp"
],
"env": {
"REIN_AGENT_FILE": "ใส่ค่าของคุณ",
"REIN_ENGINE_URL": "ใส่ค่าของคุณ",
"REIN_AGENT_ID": "ใส่ค่าของคุณ",
"REIN_ENGINE_API_KEY": "ใส่ค่าของคุณ",
"REIN_PAYER_PRIVATE_KEY": "ใส่ค่าของคุณ",
"REIN_NETWORK_PROFILE": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add rein --env REIN_AGENT_FILE='ใส่ค่าของคุณ' --env REIN_ENGINE_URL='ใส่ค่าของคุณ' --env REIN_AGENT_ID='ใส่ค่าของคุณ' --env REIN_ENGINE_API_KEY='ใส่ค่าของคุณ' --env REIN_PAYER_PRIVATE_KEY='ใส่ค่าของคุณ' --env REIN_NETWORK_PROFILE='ใส่ค่าของคุณ' -- npx -y @reinconsole/mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"rein": {
"command": "npx",
"args": [
"-y",
"@reinconsole/mcp"
],
"env": {
"REIN_AGENT_FILE": "ใส่ค่าของคุณ",
"REIN_ENGINE_URL": "ใส่ค่าของคุณ",
"REIN_AGENT_ID": "ใส่ค่าของคุณ",
"REIN_ENGINE_API_KEY": "ใส่ค่าของคุณ",
"REIN_PAYER_PRIVATE_KEY": "ใส่ค่าของคุณ",
"REIN_NETWORK_PROFILE": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"rein": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@reinconsole/mcp"
],
"env": {
"REIN_AGENT_FILE": "ใส่ค่าของคุณ",
"REIN_ENGINE_URL": "ใส่ค่าของคุณ",
"REIN_AGENT_ID": "ใส่ค่าของคุณ",
"REIN_ENGINE_API_KEY": "ใส่ค่าของคุณ",
"REIN_PAYER_PRIVATE_KEY": "ใส่ค่าของคุณ",
"REIN_NETWORK_PROFILE": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
REIN_AGENT_FILE envREIN_ENGINE_URL envREIN_AGENT_ID envREIN_NETWORK_PROFILE envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub bugiiiii11 ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: REIN_ENGINE_API_KEY, REIN_PAYER_PRIVATE_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.8.0) เข้า registry 19 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Zendesk
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Zendesk MCP Pack — tickets, users, organizations via OAuth.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
The Rein guard, as an MCP server. Point any MCP-capable harness at it and its agent gets a spend-governed fetch: every x402 paywall is policy-checked, receipted and observable before a cent moves.
Rein is non-custodial. It governs an agent's authority to spend, not the funds.
The fastest start is a free testnet sandbox -- no account, no signup:
npx @reinconsole/init
It creates an agent on the hosted engine with a starter policy (Base Sepolia, $0.004 per-call cap), a test wallet with a little test USDC, and rein-agent.json, then prints this config with the path filled in:
{
"mcpServers": { "rein": { "command": "npx", "args": ["-y", "@reinconsole/mcp"], "env": { "REIN_AGENT_FILE": "/path/to/rein-agent.json" } } } }
The file supplies the engine URL, agent id, API key and wallet, so keys never sit on a command line or in the config. The sandbox lasts 7 days; npx @reinconsole/init --claim keeps it by signing in with GitHub or an Ethereum wallet.
Point it at any policy engine with variables instead of the file:
{
"mcpServers": { "rein": { "command": "npx", "args": ["-y", "@reinconsole/mcp"], "env": { "REIN_ENGINE_URL": "http://127.0.0.1:8787", "REIN_AGENT_ID": "agt_01J..." } } } }
That is advisory mode: paywalls are evaluated against policy and reported, and nothing is ever paid. Add REIN_PAYER_PRIVATE_KEY to settle allowed payments.
npx -p @reinconsole/policy-engine rein-policy-engine runs an engine locally on 127.0.0.1:8787; see @reinconsole/policy-engine for registering an agent and writing a policy.
When the server is up it prints exactly one line to stderr. A harness shows nothing else, so if this line is missing the server is not running, and whatever preceded it is why:
[rein-mcp] 0.2.0 ready on stdio for agt_01J... via http://127.0.0.1:8787 (advisory -- no payer configured)
| Variable | Required | Meaning |
|---|---|---|
REIN_AGENT_FILE | no | Path to the rein-agent.json that npx @reinconsole/init writes. Supplies the four values below; any variable set explicitly overrides its field. |
REIN_ENGINE_URL | yes, unless the file | Policy engine base URL. |
REIN_AGENT_ID | yes, unless the file | The one agent this server speaks for. Never a tool argument. |
REIN_ENGINE_API_KEY | if the engine has auth | Bearer secret for the engine. |
REIN_PAYER_PRIVATE_KEY | no | Agent wallet key. Omit for advisory mode: policy is checked, nothing is paid. |
REIN_NETWORK_PROFILE | no | testnet (default) or mainnet. Which network's 402s this server will pay; the other is refused before a signature exists. An unknown value refuses to boot. |
REIN_MCP_TASK_ID | no | Default task attribution, so per-task budgets can cap this agent's work. |
REIN_MCP_ESCALATION_WAIT_MS | no | Hold a tool call open this long waiting for a signed approval. Default 0. |
REIN_MCP_MAX_BODY_BYTES | no | Cap on the response body returned to the model. Default 65536. |
Everything is fixed at startup. Nothing here is reachable from a tool call.
REIN_NETWORK_PROFILE exists because the engine cannot draw this line: it maps Base and Base Sepolia onto the same chain, so a policy that allows one allows both, and the vendor's 402 would otherwise choose which network the agent's key spends on. The default is testnet, which means a 0.1.x install that paid mainnet 402s will refuse them until the profile is set to mainnet on purpose.
On a HOSTED engine, REIN_ENGINE_API_KEY should be an evaluate key issued with the org and narrowed to this one agent:
POST /v1/keys
{ "name": "claude-desktop", "scopes": ["evaluate"], "orgId": "org_01J...", "agentIds": ["agt_01J..."] }
That is the whole blast radius of the secret sitting in a desktop config file: it can submit intents for this agent and nothing else — not another agent in the same org, not policy, not keys, not other tenants' anything. Against a self-hosted single-tenant engine, omit both fields and the key behaves exactly as it always has.
| Tool | Read-only | What it answers |
|---|---|---|
rein_fetch | no | Fetch a URL, paying for it only if policy allows. |
rein_status | yes | What rules govern this agent, and where it stands against them. |
rein_receipts | yes | What it has paid, and whether those payments settled. |
rein_escalations | yes | Which of its payments are parked awaiting a human. |
rein_heartbeat | no | Report the agent alive, for dead-man monitoring. |
rein_fetch is the only tool that can move money, and it is the only one without readOnlyHint.
The client on the other end of this pipe is the agent -- the thing being governed. So a tool may do anything the agent could already do with its own fetch, and nothing that widens the agent's own authority.
There is deliberately no tool to approve an escalation, edit a policy, freeze or unfreeze an agent, mint an API key, or register an approver. An approval in Rein is an ed25519 signature over the decision by a registered approver key; a tool call is not a signature, and one that stood in for one would put the authority to move money behind whatever process holds the pipe. rein_escalations is read-only by construction, and a test asserts the whole tool surface rather than a sample of it, so adding an authority tool has to break a test first.
One server also speaks for exactly one agent. An agent id the caller could choose would turn an agent-scoped tool surface into a cross-agent admin API.
A policy refusal comes back as a tool error -- the fetch did not happen, and a model that read it as an ordinary result would treat the explanation of a refusal as the data it asked for. The detail rides along, because the useful next move depends on which refusal it was:
DENIED -- final. The same request will be refused the same way.ESCALATED -- parked for a human to sign. Poll rein_escalations, or move on. Nothing the agent can call will approve it.ALLOWED_BUT_UNPAID -- not an error: policy said yes, but this server runs in advisory mode, so the 402 is returned unpaid.import { createReinMcpServer } from '@reinconsole/mcp';
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
const server = createReinMcpServer({ engineUrl, agentId, payer }); await server.connect(new StdioServerTransport());
createToolContext and reinTools are exported too, for embedding the same tools in a server that carries others.
MIT