AF_MCP
デバイス連携ブロックエージェント
これは、AFデバイス連携ブロック機能に接続するために、FastMCPの最新バージョンに基づいて構築されたAiPy拡張用スキャフォールドです。
プロジェクト構造
device_block_agent/:コアPythonソースコードおよびMCPツール実装。docs/:API整理ドキュメント、計画書、および元のPDF。assets/:アイコンなどの静的リソース。examples/:ホワイトリストのサンプルおよび参考資料。ルートディレクトリ:
main.py、manifest.json、requirements.txt、README.mdなどのプロジェクトエントリーファイルを保持。
Related MCP server: NHN Server MCP
現在のステータス
FastMCP 3.2.4を統合済み。
Streamable HTTP MCPサービスエントリーを提供済み。デフォルトの公開パスは
/mcp。AiPyが必要とする
addition-system-instructionプロンプトを提供済み。auth_login、auth_keepalive、auth_logoutの3つの認証ツールを提供済み。block_list_temp、block_list_business、block_get_total_count、block_get_block_timeの4つの読み取り専用クエリツールを提供済み。ホワイトリストルールの読み込みおよび手動確認判定モジュールを提供済み。後続の書き込み操作ツールで直接再利用可能。
block_add_business、block_delete_temp、block_delete_business、block_clear_attackers、block_clear_temp、block_clear_business、block_set_block_timeの7つの書き込み操作ツールを提供済み。ローカルJSONL監査ログおよび操作タイプ別に詳細化された再チェック結果を提供済み。
ローカルJSONファイルによるログインセッションの永続化をサポートし、プロセス間でのログイン状態の再利用が可能。
ローカルセッションのタイムアウト判定および期限切れ間近の自動keepaliveをサポート。
デフォルトのAFアカウントおよび接続設定をサポートし、認証およびブロックツールで直接再利用可能。
AiPyからMCPサービスへの検出リンクを検証するための最小限のツール
agent_infoを提供済み。初版のビジネスレベル再チェック戦略を統合済み。
block_clear_attackersは前後ベースライン比較判定にアップグレード済み。
ローカル実行
依存関係のインストール:
pip install -r requirements.txtサービスの起動:
python main.pyサービス起動後、標準出力にランダムなポート番号が表示されます。
リスク管理設定
examples/whitelist.sample.jsonにローカルホワイトリストのサンプルを提供。confirm_modeはmanualとautoの2つのモードをサポート。WHITELIST_FILEおよびCONFIRM_MODEはmanifest.jsonのuser_configを通じて実行環境に注入可能。クリア系の操作は常に明示的な確認を要求。一括追加、一括削除は
manualモードで明示的な確認を要求。LOG_FILEはローカルJSONL監査ログのパスを指定するために使用可能。SESSION_FILEはローカルJSONセッション永続化パスを指定するために使用可能。SESSION_TIMEOUT_SECONDSおよびSESSION_REFRESH_WINDOW_SECONDSは、ローカルセッションのタイムアウトおよび自動キープアライブウィンドウを制御するために使用可能。
アカウント設定
af_hostはデフォルトのAFホストアドレスを設定するために使用。af_namespaceはデフォルトの名前空間を設定するために使用(デフォルトはpublic)。af_usernameおよびaf_passwordはデフォルトのログインアカウントを設定するために使用。af_verify_tlsはデフォルトのHTTPS証明書検証スイッチを設定するために使用。設定完了後、
auth_login、auth_keepalive、auth_logoutおよびブロック関連ツールはこれらのデフォルト値を直接再利用可能。
現在実装済みのツール
agent_infoauth_loginauth_keepaliveauth_logoutaccount_config_statusblock_list_tempblock_list_businessblock_get_total_countblock_get_block_timeblock_add_businessblock_delete_tempblock_delete_businessblock_clear_attackersblock_clear_tempblock_clear_businessblock_set_block_time
次のステップ
本番環境への導入が必要な場合、ログローテーションおよび機密フィールドの階層化マスキングを追加する。
より強力な再チェック能力が必要な場合、ビジネスレコードIDまたは操作結果オブジェクトに基づく正確な比較を追加する。
長期運用が必要な場合、トークン失効後の自動再認証戦略を追加する。
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
- AlicenseBqualityDmaintenanceEnables enterprise-grade authentication management with secure credential handling and support for multi-protocol auth, complete with tools for analyzing, setting up, and testing authentication systems.841AGPL 3.0
- FlicenseAqualityCmaintenanceEnables secure SSH access to servers through a gateway with Kerberos authentication, allowing execution of whitelisted commands with pattern-based security controls and server information retrieval.52
- FlicenseAqualityCmaintenanceEnables secure file system operations (read, write, delete) and simulated command execution with server-enforced permission policies, risk assessment, and human-in-the-loop approval.5
- FlicenseNot gradedqualityBmaintenanceEnables governed agent access to Cortex XSIAM security operations APIs, including XQL log search, issues, cases, endpoints, and assets, with dataset authorization and optional identity-based access control.
Related MCP Connectors
Device intelligence for AI agents: Fingerprint events, smart signals, and API key management.
Remote MCP for AI waiver checks, exception approvals, expiry review, and audit receipts.
An authenticated remote MCP server for user-owned devices and one-shot capability invocation.
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/xiaqijun/AF_MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server