About Fofamap
Fofamap is an MCP server published by asaotomo in the Developer Tools category: 证据驱动的 AI 资产测绘与安全研判工具。以自然语言串联资产发现、AI 反思、授权验证与报告交付,将 FOFA、Nuclei 与 AI 助手融入同一工作流。原生支持 CLI / MCP / Skill / REST API。. Conduid read 31 tools from its source: fofa_account, fofa_agent_run, fofa_export, fofa_exposure_review, fofa_fields, fofa_host_profile and 25 more. No package is published for it, so it installs from a source checkout.
The repository has 775 stars and 106 forks, is licensed Apache-2.0, and its last commit was on 2 Nov 2026. The latest release is v2.0.2 (2 Nov 2026): !FofaMap 2.0.2 证据驱动的 AI 资产测绘与安全研判工具。 FofaMap 由 Hx0 工作室开发,将 FOFA 资产发现、AI 反思、Nuclei 授权验证与交互式报告融入同一工作流,让查询依据、分析过程与验证结果可追溯、可复核。 安装与开始使用 新用户推荐下载下方的 FofaMap-2.0.2-source.zip 并… It follows v2.0.1 (15 Aug 2026), and the 5 most recent releases go back to v1.1.3 (17 Nov 2022). It passes 2 of the 5 static checks Conduid ran on the repository; it does not pass Tests present, Dependencies pinned and Scoped permissions. Its topics include information-gathering-tools, nuclei-scan, devtools, fofamap, asset-mapping and mcp-protocol.
Install
git clone https://github.com/asaotomo/FofaMapTools (31)
fofa_accountReturn the current FOFA account tier, API capabilities and quota information.fofa_agent_runStart an Agent background job with use_fofamap_model=true; returns immediately.| Parameter | Type | Description |
|---|---|---|
| intent * | string | |
| max_duration | integer | |
| max_pages | integer | |
| max_records | integer | |
| report_language | string | |
| sample | boolean | |
| size | integer | |
| use_fofamap_model | boolean | |
| web_search | boolean |
fofa_exportStart a bounded export job; retrieve status and artifact through MCP resources.| Parameter | Type | Description |
|---|---|---|
| request * | any |
fofa_exposure_reviewReturn the full update-time result, port stats and a simulated scan. Set sample only when the user asked for 抽样.| Parameter | Type | Description |
|---|---|---|
| after | string | |
| city | string | |
| country | string | |
| max_records | integer | |
| product * | string | |
| sample | boolean | |
| size | integer |
fofa_fieldsReturn the versioned FOFA field and membership capability catalogue without using quota.| Parameter | Type | Description |
|---|---|---|
| section | string | |
| tier | string |
fofa_host_profileGet FOFA Host aggregation for one IP or DNS name. One request per second. Registered users have no Host API.| Parameter | Type | Description |
|---|---|---|
| detail | boolean | |
| host * | string |
fofa_icon_searchFetch a public website favicon safely, calculate its FOFA MurmurHash3 value, and search matching assets.| Parameter | Type | Description |
|---|---|---|
| fields | array | |
| full | boolean | |
| size | integer | |
| url * | string |
fofa_job_cancelCancel an active Agent, Nuclei scan or export job in this server and reclaim its worker. Incurred charges are not refunded.| Parameter | Type | Description |
|---|---|---|
| job_id * | string |
fofa_job_statusRead local export, agent or scan job state.| Parameter | Type | Description |
|---|---|---|
| job_id * | string |
fofa_render_reportRender host-agent text without calling FofaMap's model. Omitted report_language follows the saved interface language.| Parameter | Type | Description |
|---|---|---|
| advice | string | |
| assets | array | |
| fields | array | |
| host_model | string | |
| intent * | string | |
| population_size | integer | |
| queries | array | |
| query | string | |
| reflection | string | |
| report_language | string | |
| result_count | integer | |
| sample_stop_reason | string | |
| sampled | boolean | |
| scan_advice | string | |
| scan_job_id | string | |
| scan_selection | object | |
| summary * | string |
fofa_rulesSearch a bounded rule preview; focus by category/keyword and inspect per-rule verification before product searches.| Parameter | Type | Description |
|---|---|---|
| category | string | |
| keyword | string | |
| limit | integer |
fofa_schedule_createSave a passive one-time/interval/hourly/daily/weekly/monthly mapping schedule.| Parameter | Type | Description |
|---|---|---|
| request * | any |
fofa_schedule_deleteDelete a schedule from active management; cancel its run and retain history/reports in the index archive.| Parameter | Type | Description |
|---|---|---|
| schedule_id * | string |
fofa_schedule_historyRead execution history, counts, snapshot changes and MD/HTML/JSON paths.| Parameter | Type | Description |
|---|---|---|
| include_snapshots | boolean | |
| limit | integer | |
| schedule_id * | string |
fofa_schedule_listList durable schedules and the scheduler heartbeat. Does not run due tasks.fofa_schedule_set_enabledPause/resume a schedule; resuming recomputes a future due time.| Parameter | Type | Description |
|---|---|---|
| enabled * | boolean | |
| schedule_id * | string |
fofa_schedule_stopStop future runs and request cancellation of the active run (worker polls every second). Preserve history/reports.| Parameter | Type | Description |
|---|---|---|
| schedule_id * | string |
fofa_schedule_updateReplace a saved schedule's time, task and query specification while retaining history; running tasks cannot be edited.| Parameter | Type | Description |
|---|---|---|
| request * | any | |
| schedule_id * | string |
fofa_searchFetch one exact query. Omitting both caps returns one page of size; read total for the population.| Parameter | Type | Description |
|---|---|---|
| fields | array | |
| full | boolean | |
| max_pages | integer | |
| max_records | integer | |
| observe_cost | boolean | |
| query * | string | |
| size | integer |
fofa_search_nextContinue with the opaque cursor immediately. An expired cursor (40870) is an error; start a new search.| Parameter | Type | Description |
|---|---|---|
| cursor * | string | |
| fields * | array | |
| full | boolean | |
| query * | string | |
| size | integer |
fofa_statsAggregate official dimensions. The published contract is the top 5. product cannot be aggregated. Wait 5 seconds between calls.| Parameter | Type | Description |
|---|---|---|
| fields * | array | |
| query * | string | |
| size | integer |
fofa_syntaxReturn official FOFA query operators and syntax fields from the API appendix.| Parameter | Type | Description |
|---|---|---|
| keyword | string | |
| section | string |
fofa_validate_queryPerform local syntax checks without spending FOFA quota.| Parameter | Type | Description |
|---|---|---|
| query * | string |
nuclei_capabilitiesInspect the local Nuclei executable, supported template types and non-Web target formats. Does not scan.nuclei_customizeAccept CLI flags, e.g. '-rl 10 -c 3', '-pt tcp -id redis-detect -severity info', '-timeout 8 -retries 1'.| Parameter | Type | Description |
|---|---|---|
| base_plan * | any | |
| parameters * | string |
nuclei_executeStart an approved exact scan. install_if_missing=true requires separate user consent for official component downloads.| Parameter | Type | Description |
|---|---|---|
| approval_token * | string | |
| install_if_missing | boolean | |
| plan_id * | string |
nuclei_guideRead/cache the installed Nuclei command guide. Executable changes invalidate it; refresh after updates. Does not scan.| Parameter | Type | Description |
|---|---|---|
| refresh | boolean | |
| section | string |
nuclei_planCreate an exact, expiring Nuclei plan and one-time approval token. Scanning must be enabled.| Parameter | Type | Description |
|---|---|---|
| request * | any |
nuclei_recommendPrepare up to three reasoned, asset-aware commands and typed plans. No plan is approved or executed.| Parameter | Type | Description |
|---|---|---|
| assets | array | |
| intent * | string | |
| targets | array |
nuclei_select_targetsPrepare or validate host-AI target selection. No model/API calls, probing, approval or execution.| Parameter | Type | Description |
|---|---|---|
| assets | array | |
| decisions | array | |
| intent * | string | |
| targets * | array |
nuclei_templatesList installed template IDs, protocol, severity and network ports without scanning. Exact IDs/paths still need an approved plan.| Parameter | Type | Description |
|---|---|---|
| keyword | string | |
| limit | integer | |
| protocol | string |
Security checks
Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 4.3K words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- !Dependencies pinnedNo lockfile anywhere in the repository. Installs can pull different code over time.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
1 check has not been run yet.
Releases
README
The repository's README runs to about 4.3K words, fetched 2 days ago. The original in the repository is authoritative.
Read full README