-
Notifications
You must be signed in to change notification settings - Fork 43
【WIP】MCPサーバーを実装 #190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
kakira9618
wants to merge
39
commits into
master
Choose a base branch
from
feat/mcp-server
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
【WIP】MCPサーバーを実装 #190
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eb0f9f4 to
4a2918c
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
概要
MCP Server を Extensions の一機能として実装しました。
以下の10個のツールを実装しています。
get_history: パケット履歴検索get_packet_detail: パケット詳細取得get_logs: ログ取得get_config: 設定情報取得update_config: 設定変更restore_config: 設定バックアップ復元resend_packet: パケット再送(改ざん・同時送信も可)bulk_send: バルク送信call_vulcheck_helper: VulCheck Helper の実行get_job_status: 送信ジョブ情報を取得詳細は、PacketProxy MCP サーバー仕様書 を確認してください。
これらの操作を、AI Agent が利用できます。
実装・対応内容
パケット内クレデンシャルのマスク利用方法
(詳細は PacketProxy MCP サーバー設定ガイド を参照してください)
設定 (MCP Client)
まず、node 20 以上がインストールされていることを確認します
Claude Code 以外のMCP Clientの場合
以下のような設定を各クライアントの設定ファイル (
.json) に追記します。PACKETPROXY_ACCESS_TOKENの値は、Options > Import / Export configs (Experimental) の値を設定してください。{ "mcpServers": { "packetproxy": { "command": "node", "args": [ "scripts/mcp-http-bridge.jsのフルパスを指定" ], "env": { "PACKETPROXY_ACCESS_TOKEN": "your_packetproxy_access_token" } } } }Claude Code の場合
Claude Code の場合は、以下のコマンドで設定できます。
your_packetproxy_access_tokenと/path/to/mcp-http-bridge.jsを適切に設定してください。利用手順
以下の手順で利用します。
PacketProxy の設定情報を取得して,ID:xx番のパケットについて、SQLi観点の脆弱性診断を行い、レポートを作成してなど)TODO