MCP wire v2.9.0-alpha1 batch 1

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 等) から 直接呼び出し 可能に。

短答 (3 行)

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。

Wired 4 tool 詳細

#Tool nameSTEPDomainVerdict
1shannon_entropy_verdict1499情報科学分布 → 8 verdict (INFINITY/TRUE/BOTH/ZERO/NEITHER)
2peace_axiom_verdict1506経済学 ★核payoffs → Peace 順守 verdict (TRUE/NEITHER/FALSE/ZERO)
3lyapunov_verdict1509制御理論V(t) 系列 → 安定性 verdict (SELF/TRUE/FALSE/ZERO/NEITHER)
4nash_equilibrium_verdict1520経済学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": { ... }

Smoke test

$ 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 追加分 含む)

External MCP client 使用例

// 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' }

残 11 tool defer (v2.9.0-alpha2/beta scope)

ToolSTEPDomain
hamming_distance_gate1507情報科学
wa_ga_verdict1510言語学 ★ Rei 独自
evolution_verdict1514生物学
dual_process_verdict1515認知科学
combinatorial_bound1517離散数学
bootstrap_ci1518データサイエンス
ab_test_verdict1519データサイエンス
pareto_frontier_verdict1522経済学
homeostasis_verdict1521生物学
graph_verdict1523離散数学
halting_diagnostic_lens1524情報科学

Honest scope

❶ 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 提供。