Skip to main content
Glama
api2mcp
by BaoPHP

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
--emitNoGenerate a standalone runnable server into the specified directory.
--nameNoServer name, defaults to info.title from the spec.
--specYesPath to an OpenAPI 3.x JSON file. Required.
--retryNoNumber of retries for 5xx/429/408 and network errors with exponential backoff, default 0.0
--toolsNoList the tools that would be generated from the spec, then exit (for verification).
--headerNoInject a request header in "K: V" form; can be repeated. Use for non-sensitive headers.
--secretNoInject a secret request header from an environment variable in "K=$ENV" form (not persisted to disk).
--timeoutNoHTTP timeout in milliseconds, default 15000.15000
--verboseNoOutput each request to stderr (secrets are not printed).
--base-urlNoAPI root URL; may be omitted if the spec contains an absolute server URL.
--allow-writeNoAllow generating write-operation tools (POST/PUT/DELETE/PATCH). By default only read-only GET/HEAD/OPTIONS tools are exposed.
--retry-delayNoInitial retry backoff in milliseconds, default 500.500

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