Back to Apps

FoFaX
by xiecat
Command-line query tool for fofa.info with extended Fx syntax and MCP SSE support.
0 stars
Works in:Cursor
Exposes:Tools
What it does
FoFaX is a powerful command-line interface for querying fofa.info, an asset search engine for cyberspace. It enhances standard FoFa queries with a custom 'Fx' syntax, making it easier to manage and execute complex search rules for security research and asset discovery.
Tools
fofa_search: Executes FoFa queries and returns structured JSON results. Supports fields, sizing, and pagination.fofax_mcp_info: Provides current server configuration and capability metadata.
Installation
To use FoFaX as an MCP server, run it with the -ms flag:
{
"mcpServers": {
"fofax": {
"command": "fofax",
"args": ["-ms"],
"env": {
"FOFA_KEY": "your-fofa-key",
"MCP_AUTH_TOKEN": "your-token"
}
}
}
}
Supported hosts
- claude
- cursor
Choose your AI client and follow the steps below.
Cursor
Add fofax -ms to MCP settings with FOFA_KEY env varClaude Desktop
{"mcpServers": {"fofax": {"command": "fofax", "args": ["-ms"], "env": {"FOFA_KEY": "your-key"}}}}





