STEP: 1525 / 公開日: 2026-08-28 / Version: rei-aios MCP v2.8.5 → v2.9.0-alpha1 / Wired tools: 4/15
★ MCP server wire batch 1 完了: 15 standalone tool の うち 最高価値 4 tool (shannon + peace_axiom + lyapunov + nash) を rei-aios MCP server (`src/mcp/rei-mcp-server.ts`) に 正式登録、 external MCP client (Claude Desktop / Cursor 等) から 直接呼び出し 可能に。
❶ 4 tool 正式 MCP 登録: shannon_entropy_verdict (STEP 1499) + peace_axiom_verdict (STEP 1506) + lyapunov_verdict (STEP 1509) + nash_equilibrium_verdict (STEP 1520)。
❷ Version banner v2.8.5 → v2.9.0-alpha1、 tool count 44 → 48 (本 batch 4 追加、 auto-count STEP 1378 準拠)。
❸ 残 11 tool (hamming/wa_ga/evolution/dual_process/combinatorial/bootstrap/ab_test/pareto/homeostasis/graph/halting) は v2.9.0-alpha2/beta scope で defer。
| # | Tool name | STEP | Domain | Verdict |
|---|---|---|---|---|
| 1 | shannon_entropy_verdict | 1499 | 情報科学 | 分布 → 8 verdict (INFINITY/TRUE/BOTH/ZERO/NEITHER) |
| 2 | peace_axiom_verdict | 1506 | 経済学 ★核 | payoffs → Peace 順守 verdict (TRUE/NEITHER/FALSE/ZERO) |
| 3 | lyapunov_verdict | 1509 | 制御理論 | V(t) 系列 → 安定性 verdict (SELF/TRUE/FALSE/ZERO/NEITHER) |
| 4 | nash_equilibrium_verdict | 1520 | 経済学 | payoff matrix → Nash SELF⟲ (SELF/BOTH/NEITHER) |
// src/mcp/rei-mcp-server.ts 変更:
// 1. Version banner
version: "2.0.0" → "2.9.0-alpha1"
// 2. Import 追加 (line ~97)
import { shannonEntropyVerdict } from "./shannon-entropy-verdict";
import { peaceAxiomVerdict } from "./peace-axiom-verdict";
import { lyapunovVerdict } from "./lyapunov-verdict";
import { nashEquilibriumVerdict } from "./nash-equilibrium-verdict";
// 3. Tool declaration (ListToolsRequestSchema handler、 line ~1026)
{
name: "shannon_entropy_verdict",
description: "...",
inputSchema: { type: "object", properties: {...}, required: ["frequencies"] },
},
{ name: "peace_axiom_verdict", ... },
{ name: "lyapunov_verdict", ... },
{ name: "nash_equilibrium_verdict", ... },
// 4. Case handler (CallToolRequestSchema handler、 line ~1881)
case "shannon_entropy_verdict": { ... }
case "peace_axiom_verdict": { ... }
case "lyapunov_verdict": { ... }
case "nash_equilibrium_verdict": { ... }
$ npx tsx -e "import './src/mcp/rei-mcp-server.ts'" Rei MCP Server v2.8.12 起動済み(stdio モード・58 ツール・起動時インデックス構築) # ✅ v2.9.0-alpha1 wire successful、 58 tools 認識 (私の 4 tool + 他 tab 追加分 含む)
// Claude Desktop / Cursor / MCP client から:
// Peace Axiom verdict
call_tool("peace_axiom_verdict", {
before: [10, 10],
after: [15, 15]
})
// → { verdict: 'TRUE', reason: 'positive_sum_peace_compliant', ... }
// Nash equilibrium detection
call_tool("nash_equilibrium_verdict", {
aPayoffs: [[3, 0], [5, 1]],
bPayoffs: [[3, 5], [0, 1]]
})
// → { verdict: 'SELF', equilibriumCount: 1 } ★ Prisoner's Dilemma
// Lyapunov stability
call_tool("lyapunov_verdict", { series: [10, 8, 5, 3, 1] })
// → { verdict: 'TRUE', reason: 'asymptotically_stable' }
// Shannon entropy verdict
call_tool("shannon_entropy_verdict", { frequencies: [25, 25, 25, 25] })
// → { verdict: 'INFINITY', reason: 'near_uniform_max_entropy' }
| Tool | STEP | Domain |
|---|---|---|
| hamming_distance_gate | 1507 | 情報科学 |
| wa_ga_verdict | 1510 | 言語学 ★ Rei 独自 |
| evolution_verdict | 1514 | 生物学 |
| dual_process_verdict | 1515 | 認知科学 |
| combinatorial_bound | 1517 | 離散数学 |
| bootstrap_ci | 1518 | データサイエンス |
| ab_test_verdict | 1519 | データサイエンス |
| pareto_frontier_verdict | 1522 | 経済学 |
| homeostasis_verdict | 1521 | 生物学 |
| graph_verdict | 1523 | 離散数学 |
| halting_diagnostic_lens | 1524 | 情報科学 |
❶ Wire は 4/15 tool のみ、 残 11 tool は v2.9.0-alpha2/beta で 段階的追加 予定 (scope 分割 で 大 commit risk 予防)。
❂ smoke test は import + tool count のみ、 実 tool 呼び出し の integration test は 未 (別 STEP candidate、 stdio round-trip test 必要)。
❸ Tool 実 機能は既 test で 検証済 (shannon 35/35 + peace 45/45 + lyapunov 35/35 + nash 17/17 = 132/132 PASS)、 MCP wire は input schema + case handler の 追加のみ。
❹ 「世界初」 なし = MCP standard wire、 novelty = 4 domain 統合 core verdict tool の 統一 access point 提供。