Skip to main content
Glama
petsan

mcp-code-analysis

by petsan

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort to listen on. Defaults to 8000 if not set; some platforms inject a different port.
ALLOWED_HOSTSNoComma-separated allow-list of Host headers to enable host/origin validation (mitigates DNS rebinding).
ALLOW_NO_AUTHNoSet to '1' for local development to bypass bearer token authentication. Do not use in production.
BEARER_TOKENSNoComma-separated list of bearer tokens for authentication. Required for production; if unset and ALLOW_NO_AUTH is not set, the server returns 503 on all routes except /healthz.
MAX_REPO_BYTESNoMaximum total size (in bytes) allowed for a repository scan. Default is 200MB.200
MAX_REPO_FILESNoMaximum number of files allowed in a repository scan. Default is 2000.2000
SEMGREP_CONFIGNoOptional semgrep registry configuration to use instead of the bundled offline ruleset (e.g. 'auto', 'p/ci', 'p/security-audit'). Requires outbound network access.
CLONE_TIMEOUT_SECONDSNoHard timeout (in seconds) for git clone operations. Default is 30.30
SUBPROCESS_TIMEOUT_SECONDSNoHard timeout (in seconds) for ruff and semgrep subprocesses. Default is 30.30

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