Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoListen address.0.0.0.0
MCP_PORTNoListen port.8000
MCP_DB_PATHNoSQLite database path; uploads and the key file go next to it./data/mcp.sqlite3
MCP_PROVENANCENoWhether to add a dc.description.provenance note to edited items.true
MCP_PUBLIC_URLNoPublic URL of the MCP endpoint; also the OAuth issuer. Must have a path.${DSPACE_PUBLIC_URL}/mcp
MCP_RATE_TOKENNoToken requests (code exchange, refresh) per client address, in N/SECONDS format.600/600
MCP_SECRET_KEYNoEncryption key for stored DSpace tokens and source of the CSRF key (openssl rand -base64 32, at least 16 chars).key file in /data
DSPACE_REST_URLYesDSpace REST API URL as reachable from the container, e.g. http://dspace:8080/server.
MCP_CONFIRM_TTLNoValidity of a preview's confirm_token in seconds.900
MCP_MAX_CLIENTSNoCap on registered OAuth clients (0 = no cap); over it, registration gets HTTP 503.10000
MCP_MAX_FILE_MBNoLimit for file_url downloads and browser uploads in MB.100
MCP_LOGIN_WINDOWNoWindow for counting login failures in seconds.900
DSPACE_PUBLIC_URLYesPublic URL of the DSpace UI (login link and links in results).
MCP_GRANT_MAX_AGENoMaximum age of a connection regardless of refreshes, in seconds (90 days).7776000
MCP_LOGIN_LOCKOUTNoFirst login lockout in seconds; doubles with each further lockout.300
MCP_MAX_BASE64_MBNoLimit for file_base64 in MB; also sets the request body limit.10
MCP_RATE_REGISTERNoClient registrations per client address, in N/SECONDS format (0 = off).60/3600
MCP_RATE_AUTHORIZENoAuthorization requests per client address, in N/SECONDS format.60/600
MCP_UPLOAD_LINK_TTLNoValidity of a one-time upload link in seconds.1800
MCP_ACCESS_TOKEN_TTLNoOAuth access token lifetime in seconds.3600
MCP_CLIENT_IDLE_DAYSNoClients without an active connection are removed after this many idle days.30
MCP_DEFAULT_LANGUAGENoPage language (en or pl) when the browser prefers neither.en
MCP_CLIENT_UNUSED_TTLNoRegistered clients never used for a login are removed after this many seconds.86400
MCP_LOGIN_LOCKOUT_MAXNoLongest login lockout in seconds.86400
MCP_REFRESH_TOKEN_TTLNoRefresh token lifetime in seconds (30 days).2592000
MCP_FETCH_ALLOW_PRIVATENoAllow file_url to private addresses. Tests only; disables the SSRF guard.false
MCP_FORWARDED_ALLOW_IPSNoProxies whose X-Forwarded-For/X-Forwarded-Proto headers are trusted (addresses or networks).*
MCP_SECRET_KEY_PREVIOUSNoComma-separated old keys; values are re-encrypted with the current key at startup.
MCP_LOGIN_MAX_FAILURES_PER_IPNoFailed logins per client address within the window (0 = off).20
MCP_LOGIN_MAX_FAILURES_PER_EMAILNoFailed logins per e-mail within the window (0 = off).5

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