Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
JMCP_TLS_KEYNoPEM-encoded TLS private key for the streamable-http transport. Must be paired with JMCP_TLS_CERT. Command-line equivalent: --tls-key.
JMCP_TLS_CERTNoPEM-encoded TLS certificate for the streamable-http transport. Must be paired with JMCP_TLS_KEY. Command-line equivalent: --tls-cert.
JMCP_HTTP_HOSTNoBind host for the streamable-http transport. Command-line equivalent: --host / -H. Default: 127.0.0.1
JMCP_HTTP_PORTNoBind port for the streamable-http transport. Command-line equivalent: --port / -p. Default: 30030
JMCP_TOKENS_PATHNoBearer-token store file. Required for streamable-http transport unless --allow-no-auth is used. Command-line equivalent: --tokens-file.
JMCP_AUDIT_FORMATNoAudit output format: text or json. Default: text. Command-line equivalent: --audit-format.
JMCP_AUDIT_REDACTNoAudit redaction configuration (e.g. devices=hmac). Command-line equivalent: --audit-redact.
JMCP_DEVICES_PATHNoJSON file with device mapping (inventory). Juniper junos-mcp-server compatible. Command-line equivalent: --device-mapping / -f. Default: devices.json
JMCP_MAX_SESSIONSNoSession count cap; over-limit returns 503. Default: 128. Command-line equivalent: --max-sessions.
JMCP_AUDIT_JOURNALDNoEnable native journald fan-out for structured audit fields; fails startup when explicitly enabled but unavailable. Default: false. Command-line equivalent: --audit-journald.
JMCP_AUDIT_LOG_FILENoOptional file path to append JSON audit events to (in addition to stderr). Command-line equivalent: --audit-log-file.
JMCP_ENABLE_METRICSNoEnable the unauthenticated Prometheus GET /metrics endpoint beside /mcp. Command-line equivalent: --enable-metrics.
JMCP_DEVICE_LEASE_DIRNoShared directory for cross-process destructive-operation leases. Default: /var/lib/jmcp/device-leases. Command-line equivalent: --device-lease-dir.
JMCP_AUDIT_HMAC_KEY_FILENoHMAC key file used for audit redaction. Command-line equivalent: --audit-hmac-key-file.
JMCP_MAX_INFLIGHT_REQUESTSNoGlobal in-flight request concurrency cap; over-limit returns 503. Default: 64. Command-line equivalent: --max-inflight-requests.
JMCP_MAX_REQUEST_BODY_BYTESNoReject larger request bodies with 413 before buffering. Default: 10 MiB. Command-line equivalent: --max-request-body-bytes.
JMCP_MAX_SESSIONS_PER_TOKENNoPer-bearer-token session count cap; over-limit returns 503. Default: 16. Command-line equivalent: --max-sessions-per-token.
JMCP_SESSION_IDLE_TIMEOUT_SECSNoIdle session reaping timeout in seconds. Default: 300. Command-line equivalent: --session-idle-timeout-secs.
JMCP_SESSION_MAX_LIFETIME_SECSNoMaximum session lifetime in seconds before reaping. Default: 3600. Command-line equivalent: --session-max-lifetime-secs.
JMCP_SUPPORT_BUNDLE_STAGING_DIRNoSupport-bundle staging directory. Command-line equivalent: --support-bundle-staging-dir.
JMCP_MAX_REQUEST_BURST_PER_TOKENNoPer-token immediate request burst. Must be paired with JMCP_MAX_REQUESTS_PER_SECOND_PER_TOKEN; both at 0 disables rate limiting. Default: 0. Command-line equivalent: --max-request-burst-per-token.
JMCP_MAX_INFLIGHT_REQUESTS_PER_TOKENNoPer-token in-flight request concurrency cap; over-limit returns 503. Default: 16. Command-line equivalent: --max-inflight-requests-per-token.
JMCP_MAX_INFLIGHT_REQUESTS_PER_ROUTERNoPer-router in-flight request concurrency cap; over-limit returns 503. Default: 4. Command-line equivalent: --max-inflight-requests-per-router.
JMCP_SUPPORT_BUNDLE_STAGING_MAX_BYTESNoMaximum size in bytes for support-bundle staging. Command-line equivalent: --support-bundle-staging-max-bytes.
JMCP_MAX_REQUESTS_PER_SECOND_PER_TOKENNoPer-token request refill rate. Must be paired with JMCP_MAX_REQUEST_BURST_PER_TOKEN; both at 0 disables rate limiting. Default: 0. Command-line equivalent: --max-requests-per-second-per-token.

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