Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoListening address.0.0.0.0
PORTNoListening port inside the container.8000
DATA_DIRNoDirectory for the SQLite databases mya.db (data) and oauth.db (clients and tokens). Mount on a persistent volume./data
LOG_LEVELNoLog level: DEBUG, INFO, WARNING, or ERROR.INFO
PUBLIC_URLNoRequired unless ALLOW_NO_AUTH=1. Public server URL in https, without path or trailing slash (e.g. https://mya-mcp.example.org). Used as the OAuth issuer and MCP resource base. http is accepted only for localhost.
MCP_PASSWORDNoRequired unless ALLOW_NO_AUTH=1. Minimum 12 characters. Password requested on the OAuth login page (/consent); it is not a static bearer token.
MYA_API_BASENoBase URL of the MYA API (useful for tests).https://mya.epitech.eu/api
ALLOW_NO_AUTHNoSet to 1 to disable all authentication and make MCP_PASSWORD and PUBLIC_URL optional. Intended for local testing only, never in production.0
MAX_AGE_HOURSNoAge in hours beyond which data is considered stale and refreshed at startup.24
MYA_SITE_BASENoBase URL for public destination pages.https://mya.epitech.eu
MAX_DROP_PERCENTNoA scrape that would reduce the number of destinations by more than this percentage is rejected.30
REFRESH_HOUR_UTCNoUTC hour (0-23) of the daily refresh.3
MAX_FAILED_PERCENTNoMaximum tolerated percentage of failed detailed records; beyond this the scrape is rejected.5
SCRAPE_CONCURRENCYNoNumber of simultaneous requests to the MYA API.8
FORWARDED_ALLOW_IPSNoIPs of reverse proxies from which X-Forwarded-For and X-Forwarded-Proto are accepted (comma-separated list, or *).*
RETRY_DELAY_MINUTESNoDelay before retrying after a failed scrape.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