Poker Task Management MCP
This MCP server lets an AI application build, validate and run POKER shielding inputs and read back the computed doses.
Propose, update and delete 3D bodies (SPH, RCC, RPP, BOX, CMB, TOR, ELL, REC, TRC, WED)
Define and edit material zones, coordinate transforms and buildup factors
Propose, update and delete radiation sources (point or volumetric with grid division and nuclide inventories) and detectors (1D–3D grids)
Inspect, update and validate the unit system (length, angle, density, radioactivity) and analyze unit conversions
Apply pending changes to the YAML with automatic backups and execute calculations via poker_cui, returning dose/summary results
Generates Gantt charts in Mermaid format from task data, enabling visual project timeline representation that can be viewed in Mermaid Live Editor.
Provides task management capabilities using YAML files as the data storage format, allowing creation and management of hierarchical task structures with attributes like status, dependencies, and milestones.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Poker Task Management MCP create a concrete wall for radiation shielding with dimensions 100cm x 50cm x 30cm"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
POKER-MCP
点減衰核法の遮蔽計算コード POKER(光子。POKER 2.3.0 からは中性子も)を、Claude などの AI アプリから 使えるようにする MCP(Model Context Protocol)サーバです。
An MCP server that lets AI applications build, validate and run inputs for POKER, a point-kernel shielding code for gamma rays (and, from POKER 2.3.0, neutrons), and read back the computed doses.
AI アプリへの自然言語の指示から、POKER の入力(YAML)を作成・編集・検証し、計算を実行して線量を返します
線量はすべて POKER の出力ファイル(
.summary・.dose)から抽出します。AI が数値を作ることはありませんFreeCAD のモデルから入力を生成し、CAD 形状の上で透視線を追跡して計算できます(CAD 連携)
最新版 | 1.16.0 |
動作環境 | Windows、Linux(macOS も同じ作りで動く見込み。未確認) |
ツール数 | 45(非同期ジョブを有効にすると 48) |
通信 | 標準入出力( |
変更履歴 |
必要なもの
入手先 | 備考 | |
POKER 本体 | pointkernel.com(v2.1.5 以降。中性子線源は v2.3.0 以降) | Windows 版(GUI 付き)と、v2.3.0 からは計算部( |
Node.js | 18 以降 | |
MCP クライアント | Claude Desktop など | HTTP 版は Claude Code、または Claude Desktop + |
FreeCAD | freecad.org(1.0 以降) | CAD 連携を使う場合だけ |
Related MCP server: Task Planner MCP Server
セットアップ(Claude Desktop)
設定ファイル(Windows では %APPDATA%\Claude\claude_desktop_config.json)に追記し、
Claude Desktop を再起動します。
{
"mcpServers": {
"poker-mcp": {
"command": "npx",
"args": ["poker-mcp"],
"env": {
"POKER_MCP_HOME": "C:\\Users\\<username>\\poker_mcp_workspace",
"POKER_INSTALL_PATH": "C:/Poker"
}
}
}
}cwdは指定しないでください。作業場所はPOKER_MCP_HOMEで決まります版を固定するときは
"args": ["poker-mcp@1.10.0"]のように書きます
動作確認として、Claude に次のように頼んでみてください。
厚さ 30 cm のコンクリート壁の向こう 1 m の位置で、Co-60 点線源 1 GBq による線量を計算してください主な環境変数
変数 | 既定 | 内容 |
|
| 作業ファイル(YAML、バックアップ、ログ)の置き場所 |
| Windows: | POKER のインストール先( |
| PATH 上の | 計算部の実行ファイルを直接指定する |
| 自動探索 | FreeCAD の場所(CAD 連携) |
| 無効 |
|
| 有効 |
|
|
|
|
Linux で使う(v1.14.0)
POKER 2.3.0 の計算部の Linux 版(poker230_linux_x86_64.zip)を Linux の上で展開し、そのフォルダを PATH に加えます
(Windows で展開してから写した場合は、chmod +x poker_cui EquilibriumSheet_CUI で実行権限を付けてください)。
POKER_INSTALL_PATH を書かなければ、PATH 上の poker_cui があるフォルダ(lib を含む)を使います。
unzip poker230_linux_x86_64.zip -d ~/
export PATH=$PATH:~/poker230_linux_x86_64Claude Code では次のように登録します(Claude Desktop の Linux 版はありません)。
claude mcp add --transport stdio --env POKER_MCP_HOME=$HOME/poker_mcp_workspace poker-mcp -- npx -y poker-mcpOpenAI Codex では ~/.codex/config.toml に書きます。
[mcp_servers.poker-mcp]
command = "npx"
args = ["-y", "poker-mcp"]
env = { POKER_MCP_HOME = "/home/<username>/poker_mcp_workspace" }equil_*(崩壊系列・放射平衡)は、同じフォルダの EquilibriumSheet_CUI(Linux 版。.NET のインストール不要)を使います。
Linux で使えないものは poker_openGui(POKER.exe は Windows 専用。自動的に外れます)だけです。
Web GUI(poker-gui)
POKER の GUI をブラウザで使う Web GUI(poker-gui)は、POKER の Linux 版(2.3.3 以降の zip)に同梱しています(./poker-gui。Node.js のインストールは不要)。
MCP のツールではないので、poker-mcp(このリポジトリと npm のパッケージ)には含めていません。
HTTP 版(別の機械から使う)の設定と、非同期実行・リモート公開の詳細は ADMIN_GUIDE(サーバ側)と INTEGRATION_GUIDE(クライアント側)を参照してください。
使い方
Claude に自然言語で指示すると、必要なツールが呼ばれます。
「幅 100 cm、高さ 200 cm、厚さ 30 cm のコンクリート遮蔽壁を作ってください」
「Cs-137 線源 1 TBq を原点に置いてください」 → Ba-137m は自動で追加
「壁から 120 cm の位置に 2 次元の検出器グリッドを置いてください」
「計算して、線量分布を見せてください」編集は「提案」としていったん保留され、poker_applyChanges でまとめて確定します(自動バックアップ付き)。
入力はスキーマ・要求内容・ファイル生成の各段階で検証され、材料名は POKER のライブラリの正式名に限られます。
CAD 連携
FreeCAD のソリッドに材質(PokerMaterial)や線源・検出器をカスタムプロパティで設定しておけば、
3 回の呼び出しで計算まで進みます。CSG で表せない形状(曲がった配管、フィレットなど)も扱えます。
poker_generateInput({ fcstd: "C:/path/to/model.FCStd" }) // 属性から YAML を生成
poker_generatePaths({ fcstd: "C:/path/to/model.FCStd" }) // 透視線を追跡して .paths を生成
poker_executeCalculation({ yaml_file: "poker.yaml", path_input: "poker.paths" })手順と実例は CAD_QUICKSTART、詳細は CAD_RAYTRACE、経路ファイルの書式は PATHS_FORMAT を参照してください。
ツール一覧
分類 | ツール |
立体 |
|
材料ゾーン |
|
座標変換 |
|
ビルドアップ係数 |
|
線源 |
|
検出器 |
|
単位 |
|
サマリー出力量 |
|
確定・計算・結果 |
|
CAD 連携 |
|
粒子(光子・中性子。中性子は POKER 2.3.0 から) |
|
中性子の有限媒質補正(POKER 2.3.2 から) |
|
崩壊系列・放射平衡(EquilibriumSheet) |
|
非同期実行( |
|
各ツールの引数と戻り値は API_COMPLETE にあります。
現状の制約
POKER 本体は次の指定に対応していますが、POKER-MCP にはまだ対応するツールがありません(今後対応する予定です)。
光子の線源のエネルギースペクトルによる指定(光子はツールでは核種と放射能で指定します。中性子はエネルギ線でも指定できます)
多重層(2 層・3 層)のビルドアップ係数の指定(ツールでは単層の材料で指定します)
必要な場合は YAML を直接編集してください。AI アプリが poker_getSchema で書式を読み、
YAML を直接書き換えることもありますが、その部分は POKER-MCP のツールによる検証を受けず、
計算時の poker_cui による検証だけになります。
任意組成のカスタム材料は、lib_material.dat に登録したものだけ使えます(MATERIAL_SYSTEM)。
ドキュメント
文書 | 内容 |
マニュアル一式(基本ガイド、API、CAD 連携、運用、トラブルシューティング) | |
版ごとの変更内容 |
開発者向け
git clone https://github.com/Hirao-Y/poker_mcp.git
cd poker_mcp
npm installコマンド | 内容 |
| ツール定義とマニフェストの整合(POKER 本体は不要) |
| HTTP 版。ツール一覧・計算結果が stdio 版と同一であること |
| 非同期ジョブ。同期実行との全行一致 |
|
|
| 中性子線源( |
|
|
| CAD 連携(FreeCAD が必要) |
check:manifest 以外は POKER 本体が必要です。不具合の報告は
GitHub Issues へお願いします。
ライセンス
MIT License(LICENSE)。対象は本リポジトリの内容だけです。POKER 本体と FreeCAD は
別途入手し、それぞれの利用条件に従ってください。poker-mcp は poker_cui を外部プロセスとして
起動するだけなので、POKER 本体の利用条件には影響しません。
Copyright (c) 2025-2026 Yoshihiro Hirao
Available Tools
26 toolspoker_analyzeUnitConversionC
異なる単位系間の変換係数を分析・計算します
Inputs: targetUnits (required), includePhysicalAnalysis.
poker_applyChangesA
保留中の全変更を実際のYAMLファイルに適用します(自動バックアップ実行)
Inputs: backup_comment, force.
poker_changeOrderBuildupFactorC
ビルドアップ係数の順序を変更します
Inputs: material (required), newIndex (required).
poker_deleteBodyB
立体を削除します(依存関係チェック付き)
Inputs: name (required).
poker_deleteBuildupFactorC
ビルドアップ係数を削除します
Inputs: material (required).
poker_deleteDetectorC
検出器を削除します
Inputs: name (required).
poker_deleteSourceB
放射線源を削除します
Inputs: name (required).
poker_deleteTransformC
変換を削除します
Inputs: name (required).
poker_deleteZoneB
ゾーンを削除します(ATMOSPHERE以外)
Inputs: body_name (required).
poker_executeCalculationC
作成したYAMLファイルを使用してpoker_cuiで放射線遮蔽計算を実行します
Inputs: yaml_file (required), output_files, summary_options.
poker_getUnitB
現在の単位設定を取得します(4つのキーすべてを返却)- 完全性保証
Inputs: no named parameters.
poker_proposeBodyC
新しい3D立体を提案します(自動バックアップ付き)
Inputs: name (required), type (required), bottom_center, bottom_radius, +21 more.
poker_proposeBuildupFactorC
ビルドアップ係数を提案します
Inputs: material (required), use_finite_medium_correction (required), use_slant_correction (required).
poker_proposeDetectorC
新しい検出器を提案します
Inputs: name (required), origin (required), show_path_trace (required), grid, +1 more.
poker_proposeSourceD
新しい線源を提案します
Inputs: cutoff_rate (required), inventory (required), name (required), type (required), +3 more.
poker_proposeTransformC
回転・移動変換を提案します
Inputs: name (required), operations (required).
poker_proposeUnitA
単位設定セクションを提案します(YAMLファイルに未存在の場合のみ)- 4キー完全性保証
Inputs: angle (required), density (required), length (required), radioactivity (required).
poker_proposeZoneC
材料ゾーンを提案します(物理検証付き)
Inputs: body_name (required), material (required), density.
poker_updateBodyC
既存立体のパラメータを更新します
Inputs: name (required), bottom_center, bottom_radius, center, +20 more.
poker_updateBuildupFactorC
既存ビルドアップ係数の設定を更新します
Inputs: material (required), use_finite_medium_correction, use_slant_correction.
poker_updateDetectorC
既存検出器のパラメータを更新します
Inputs: name (required), grid, origin, show_path_trace, +1 more.
poker_updateSourceC
既存放射線源のパラメータを更新します
Inputs: name (required), cutoff_rate, division, geometry, +2 more.
poker_updateTransformC
既存変換の操作を更新します
Inputs: name (required), operations.
poker_updateUnitB
既存単位設定を更新します(部分更新可能だが4つのキーは常に維持)- 完全性保証
Inputs: angle, density, length, radioactivity.
poker_updateZoneC
既存ゾーンの材料や密度を更新します
Inputs: body_name (required), density, material.
poker_validateUnitIntegrityC
単位系の4キー完全性と物理的整合性を包括検証します
Inputs: generateReport, includeSystemAnalysis.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 26 tools
Every tool has a clearly distinct purpose targeting specific resources (Body, BuildupFactor, Detector, Source, Transform, Zone, Unit) and actions (analyze, apply, change, delete, execute, get, propose, update, validate). There is no ambiguity or overlap between tools, as each handles a unique operation on a specific entity in the radiation shielding calculation domain.
All tools follow a consistent verb_noun pattern with the prefix 'poker_' (e.g., poker_deleteBody, poker_proposeDetector, poker_updateUnit). The naming is uniform across all 26 tools, using snake_case and clear action-resource combinations, making it highly predictable and readable.
With 26 tools, the count is too high for typical MCP server scope, which usually benefits from 3-15 tools. While the domain (radiation shielding calculation) is complex, the tool set feels heavy and could overwhelm agents, suggesting potential over-fragmentation of operations.
The tool set provides complete CRUD/lifecycle coverage for the domain, including propose (create), get, update, and delete operations for all key entities (Body, BuildupFactor, Detector, Source, Transform, Zone, Unit), plus analysis, validation, and execution tools. There are no obvious gaps, ensuring agents can handle full workflows without dead ends.
Maintenance
Related MCP Connectors
A graph-based task manager your agent can read and update: tasks, dependencies, blockers.
Read and write your own Microsoft To Do, Google Tasks or Todoist tasks from any AI agent.
1Goal-based task manager for humans and AI. Read goals, add subtasks, report results.
AI-native task management: list, create, update and archive tasks with rich context for AI agents
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to manage tasks through a comprehensive interface with 8 tools for creating, updating, searching, and tracking tasks with priorities, categories, and due dates. Features persistent file-based storage, advanced filtering, and task statistics for complete task management workflow.8MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to create, manage, and break down tasks into subtasks with priorities, and track progress through a hierarchical task list.12ISC
- FlicenseAqualityDmaintenanceEnables AI assistants to manage tasks across multiple projects with structured Markdown files, supporting creation, updates, completion, and organization with metadata and dependencies.7-
- AlicenseAqualityDmaintenanceEnables comprehensive task management with groups, custom statuses, and task relationships, designed for AI assistants to manage tasks during conversations.17ISC