FOFA 搜索引擎 MCP 工具服务器,让 AI 助手直接调用 FOFA API 进行网络资产搜索
Connect Fofa to Claude, Cursor or any other MCP client and it stops being a tab you switch to. FOFA 搜索引擎 MCP 工具服务器,让 AI 助手直接调用 FOFA API 进行网络资产搜索. The fofa mcp server is what makes that connection.
FOFA 搜索引擎的 MCP (Model Context Protocol) 工具服务器,让 AI 助手能够直接调用 FOFA API 进行网络资产搜索。
Because this one is hosted, setup is mostly authentication — you point your client at the endpoint and approve access. Nothing runs on your machine, so there is no runtime to keep patched.
The toolset is worth reading before you wire it up, because it tells you what the integration is really for:
query — stringfields — stringhost — stringdetail — booleanCursor — The Cursor tool exposed by this serverfofa_search — The fofa_search tool exposed by this serverfofa_export — The fofa_export tool exposed by this serverConfiguration is passed through the environment: FOFA_API_KEY, FOFA_BASE_URL, SERVER_URL. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Fofa's toolset — query, fields, host and 4 more — is a fair guide to whether it matches your workflow. It is maintained by lulaide; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| query | string |
| fields | string |
| host | string |
| detail | boolean |
| Cursor | The Cursor tool exposed by this server. |
| fofa_search | The fofa_search tool exposed by this server. |
| fofa_export | The fofa_export tool exposed by this 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.
| Variable | Description | Required |
|---|---|---|
| FOFA_API_KEY | Credential the server authenticates with. | Yes |
| FOFA_BASE_URL | Endpoint or connection string the server talks to. | Yes |
| SERVER_URL | Endpoint or connection string the server talks to. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.