fofa-mcp
by fb0sh
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Alternative to MCP_PORT for HTTP listen port. | |
| FOFA_KEY | No | FOFA API Key (32 hex); can be omitted if only using cache tools. | |
| MCP_HOST | No | HTTP listen address. | 0.0.0.0 |
| MCP_PATH | No | MCP path on HTTP. | /mcp |
| MCP_PORT | No | HTTP listen port (compatible with PORT). | 8080 |
| FOFA_DB_PATH | No | SQLite cache path (default is container path). | /data/fofa_cache.db |
| FOFA_BASE_URL | No | API base URL. | https://fofa.info/api/v1 |
| MCP_TRANSPORT | No | Transport mode: stdio / http / both. | stdio |
| MCP_AUTH_TOKEN | No | HTTP static Bearer Token; no verification if empty. | |
| MCP_ALLOWED_HOSTS | No | Comma-separated HTTP Host header whitelist; no restriction if empty. | |
| FOFA_ALLOW_FPOINTS | No | Globally allow pagination (still consumes F-points). | false |
| FOFA_FPOINTS_STATE | No | F-point budget persistence state path (default is container path). | /data/fpoints_state.json |
| FOFA_FPOINTS_BUDGET | No | Session F-point budget; when set, pagination is allowed based on cumulative estimated consumption. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues