AF_MCP
Click on "Install 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., "@AF_MCPBlock attacker IP 10.0.0.1"
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.
Device Linkage Blocking Agent
This is an AiPy extension scaffold built on the latest version of FastMCP, designed for subsequent integration with AF device linkage blocking capabilities.
Project Structure
device_block_agent/: Core Python source code and MCP tool implementation.docs/: API documentation, solution documents, and original PDFs.assets/: Static resources such as icons.examples/: Whitelist samples and reference materials.Root directory: Contains project entry files such as
main.py,manifest.json,requirements.txt, andREADME.md.
Related MCP server: NHN Server MCP
Current Status
Integrated FastMCP 3.2.4.
Provided a Streamable HTTP MCP service entry point, with the default exposure path at
/mcp.Provided the
addition-system-instructionprompt required by AiPy.Provided three authentication tools:
auth_login,auth_keepalive, andauth_logout.Provided four read-only query tools:
block_list_temp,block_list_business,block_get_total_count, andblock_get_block_time.Provided a whitelist rule loading and manual confirmation judgment module, which can be directly reused by subsequent write operation tools.
Provided seven write operation tools:
block_add_business,block_delete_temp,block_delete_business,block_clear_attackers,block_clear_temp,block_clear_business, andblock_set_block_time.Provided local JSONL audit logs and check-back results refined by operation type.
Supported persistence of login sessions via local JSON files for cross-process login state reuse.
Supported local session timeout judgment and automatic keepalive when nearing expiration.
Supported default AF account and connection configuration, which can be directly reused by authentication and blocking tools.
Provided a minimal tool
agent_infoto verify the discovery link from AiPy to the MCP service.Integrated the first version of business-level check-back policy;
block_clear_attackershas been upgraded to include pre- and post-baseline comparison judgment.
Local Execution
Install dependencies:
pip install -r requirements.txtStart the service:
python main.pyAfter the service starts, a random port number will be printed to standard output.
Risk Control Configuration
examples/whitelist.sample.jsonprovides a local whitelist example.confirm_modesupports two modes:manualandauto.WHITELIST_FILEandCONFIRM_MODEcan be injected into the runtime environment viamanifest.json'suser_config.Clearing operations always require explicit confirmation; bulk additions and deletions require explicit confirmation in
manualmode.LOG_FILEcan be used to specify the local JSONL audit log path.SESSION_FILEcan be used to specify the local JSON session persistence path.SESSION_TIMEOUT_SECONDSandSESSION_REFRESH_WINDOW_SECONDScan be used to control local session timeout and automatic keepalive windows.
Account Configuration
af_hostis used to configure the default AF host address.af_namespaceis used to configure the default namespace, defaulting topublic.af_usernameandaf_passwordare used to configure the default login account.af_verify_tlsis used to configure the default HTTPS certificate verification switch.Once configured,
auth_login,auth_keepalive,auth_logout, and blocking-related tools can directly reuse these default values.
Currently Implemented Tools
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
Next Steps
For production deployment, add log rotation and sensitive field classification/masking.
For stronger check-back capabilities, add precise comparison based on business record IDs or operation result objects.
For long-term operation, add an automatic re-authentication strategy after token expiration.
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