pm3-mcp-server
pm3-mcp-server
WindowsファーストのModel Context Protocolサーバーで、MIFARE Classic ワークフロー向けにProxmark3 Iceman/RRG CLIをラップします。
生の1:1 CLIパススルーではありません。コアパスはマジックセーフ書き込みです — カード世代の検出 → 適切な書き込みコマンドのルーティング → 検証 → サイレント失敗時のフォールバック。
許可を得た用途のみ。 自分が所有する、または明示的にテスト許可を得たカードとシステムにのみ使用してください。マジックカードの書き込みやUID変更には、取り返しのつかない失敗モードがあります(例: Gen3フリーズ)。
要件
Windows + Proxmark3 Icemanクライアント(
proxmark3.exe)がインストール済みでフラッシュ済みであることPython 3.10+
デバイスへのシリアルアクセス(同じCOMポートで公式Proxmark GUIを同時に実行しないこと)
Related MCP server: PCILeech MCP Server
設定
変数 | 説明 |
|
|
| 辞書/相対パス用の作業ディレクトリ(デフォルトはexeの親ディレクトリ) |
| シリアルポート(デフォルト:COM3) |
| コマンドタイムアウト(デフォルト:30、上限:120) |
|
|
keys.local.json.example を keys.local.json にコピーしてサイトキーを設定します(gitignore対象)。サーバーはLLMにキーの件数のみを報告し、キーリストそのものは報告しません。
ベンダーバンドルフォルダのタグ(例:V9.0.6.7)はラベルに過ぎません。実際のクライアントバージョンは pm3_info または proxmark3.exe --version(例:Iceman v4.20142)から取得します。このサーバーはファームウェアを書き込みません。
セットアップ
git clone https://github.com/wocessade/pm3-mcp-server.git
cd pm3-mcp-server
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -r requirements.txt
pytest -qクライアントを確認します(カード不要):
& $env:PM3_EXE_PATH --version実行
$env:PM3_EXE_PATH = "C:\path\to\proxmark3.exe"
$env:PM3_CWD = "C:\path\to\proxmark3"
$env:PM3_PORT = "COM3"
python server.pyCursor / Claude MCP スニペット
{
"mcpServers": {
"pm3": {
"command": "python",
"args": ["C:\\path\\to\\pm3-mcp-server\\server.py"],
"env": {
"PM3_EXE_PATH": "C:\\path\\to\\proxmark3.exe",
"PM3_CWD": "C:\\path\\to\\proxmark3",
"PM3_PORT": "COM3"
}
}
}
}venvに依存関係をインストールした場合は、そちらのインタープリタを優先します:
"command": "C:\\path\\to\\pm3-mcp-server\\.venv\\Scripts\\python.exe"ツールサーフェス
プライマリ(最初に使用)
ツール | 役割 |
|
|
| セクターダンプ + キー概要 |
| 自動書き込みルート + 書き込み後のマジック検証 |
| ローカルトレーラー / |
| コンテキスト用のマジック分類スニペット |
詳細(プライマリが不十分な場合のみ): pm3_detect_magic、pm3_try_keys、pm3_read_block、pm3_read_sector、pm3_write_block、pm3_set_uid。
マジック書き込み分類
世代 | 書き込み | 検証 | 自動実行しない |
Gen1a/1b |
|
|
|
Gen2 / CUID |
|
| 同左 |
Gen3 |
| gen3/info パス |
|
Gen4 GDM |
| マジック読み取り |
|
デバイス応答には _raw(切り詰め済み)が含まれ、パース失敗時にも対応します。
テスト
pytest -qパーサーフィクスチャ、アクセスビット(FF078069)、書き込みルーター(Gen3 ≠ --gdm)、クライアント検証(インジェクション/ホワイトリスト/バッチサイズ)をカバーします。
実機ハードウェアに関する注意
pm3_info/ 書き込みツールを使用する前に、カードをアンテナに置いてください。カードなし →
ok: false、reason: "no_card"(リトライループなし)。Gen4 GDM:トレーラーへの
wrblは成功を報告してもデータを飲み込むことがあります —pm3_write_magic_safeが検証してフォールバックします。ファームウェアのフラッシュは対象外です。
ライセンス
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides tools for AI assistants to interact with smart home devices through Home Assistant, allowing operations like checking entity states and calling services.31073MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to perform DMA-based memory operations through PCILeech hardware using natural language commands, supporting memory reading, writing, and multi-format visualization for debugging and security research.20
- AlicenseAqualityDmaintenanceEnables AI agents to interact with OrcaSlicer to manage profiles, adjust printing settings, and perform slicing operations. It allows users to search settings, slice STL/3MF files, and analyze G-code metadata through natural language assistants.7AGPL 3.0
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to communicate with UART/serial devices, offering tools for port management, data read/write, and protocol handling.MIT
Related MCP Connectors
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Agentic Finance: 500+ tools for AI agents over x402 or MPP, free via PoW, or prepaid card credits
Real-time Amazon, WIPO & PACER data for AI agents — 19 tools via the MCP protocol.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/wocessade/pm3-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server