Fofa MCP Server

FOFA 搜索引擎 MCP 工具服务器,让 AI 助手直接调用 FOFA API 进行网络资产搜索

Remote serverstreamable-http

What is the Fofa MCP Server?

FOFA 搜索引擎 MCP 工具服务器,让 AI 助手直接调用 FOFA API 进行网络资产搜索

What the server does

FOFA 搜索引擎的 MCP (Model Context Protocol) 工具服务器,让 AI 助手能够直接调用 FOFA API 进行网络资产搜索。

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
querystring
fieldsstring
hoststring
detailboolean
fofa_search
fofa_export

How to install the Fofa MCP Server

{
  "mcpServers": {
    "fofa": {
      "command": "npx",
      "args": ["fofa-mcp"],
      "env": {
        "FOFA_API_KEY": "your-api-key",
        "FOFA_BASE_URL": "https://fofa.info"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
FOFA_API_KEYCredential the server authenticates with.Yes
FOFA_BASE_URLEndpoint or connection string the server talks to.Yes
SERVER_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • “Use Fofa to query.”
  • “Use Fofa to fields.”
  • “Use Fofa to host.”

Frequently asked questions

FOFA 搜索引擎 MCP 工具服务器,让 AI 助手直接调用 FOFA API 进行网络资产搜索 Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.