GitHub

⚡ 実行コマンド

MCPサーバーのスキャン、ツール実行、プロキシ起動など5つの実行コマンド

scan (s) - MCPサーバースキャン

用途: MCPサーバーをスキャンしてJSON-RPCトラフィックをキャプチャ

基本使用法

pfscan scan start --id time    # 特定コネクター
pfscan s start --all           # 全コネクター

主なオプション

オプション説明
--id <connector>コネクターID指定
--all全コネクターをスキャン
--method <name>特定メソッドのみ実行
--session <id>セッションID指定
--timeout <sec>タイムアウト秒数

tool - ツール操作

用途: MCPツールの一覧表示・詳細確認・実行

サブコマンド

# ツール一覧
pfscan tool ls <connector>

# ツール詳細(スキーマ表示)
pfscan tool show <connector> <tool-name>

# ツール実行
pfscan tool call <connector> <tool> --args '{}'

実行例

# 時刻取得
pfscan tool call time get_current_time --args '{}'

# 天気予報取得
pfscan tool call weather get_forecast --args '{"location":"Tokyo"}'

proxy - MCPプロキシサーバー

用途: 複数MCPサーバーを統合プロキシとして起動

基本使用法

pfscan proxy start --all                      # 全コネクター
pfscan proxy start --connectors time,weather  # 特定コネクター
pfscan proxy start --port 3000                # ポート指定

Claude Desktop連携

{
  "mcpServers": {
    "proofscan-proxy": {
      "command": "pfscan",
      "args": ["proxy", "start", "--all"]
    }
  }
}

serve - HTTPゲートウェイ

用途: Protocol Gateway HTTPサーバー起動

pfscan serve --port 8080
pfscan serve --host 0.0.0.0

monitor - Web監視UI

用途: ブラウザベースの監視UI起動

pfscan monitor
pfscan monitor --port 3001