Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoAlternative to MCP_PORT for HTTP listen port.
FOFA_KEYNoFOFA API Key (32 hex); can be omitted if only using cache tools.
MCP_HOSTNoHTTP listen address.0.0.0.0
MCP_PATHNoMCP path on HTTP./mcp
MCP_PORTNoHTTP listen port (compatible with PORT).8080
FOFA_DB_PATHNoSQLite cache path (default is container path)./data/fofa_cache.db
FOFA_BASE_URLNoAPI base URL.https://fofa.info/api/v1
MCP_TRANSPORTNoTransport mode: stdio / http / both.stdio
MCP_AUTH_TOKENNoHTTP static Bearer Token; no verification if empty.
MCP_ALLOWED_HOSTSNoComma-separated HTTP Host header whitelist; no restriction if empty.
FOFA_ALLOW_FPOINTSNoGlobally allow pagination (still consumes F-points).false
FOFA_FPOINTS_STATENoF-point budget persistence state path (default is container path)./data/fpoints_state.json
FOFA_FPOINTS_BUDGETNoSession 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

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources