Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CODEMEM_DBNoSQLite database path
CODEMEM_VIEWERNoSet to '0' to disable viewer autostart for MCP server
CODEMEM_VIEWER_AUTONoSet to '0' to disable auto-starting the viewer
CODEMEM_VIEWER_HOSTNoHost the plugin-managed viewer should start, probe, and restart
CODEMEM_VIEWER_PORTNoPort the plugin-managed viewer should start, probe, and restart
CODEMEM_MCP_HTTP_HOSTNoHost for codemem mcp http
CODEMEM_MCP_HTTP_PORTNoPort for codemem mcp http
CODEMEM_INJECT_CONTEXTNoSet to '0' to disable automatic context injection
CODEMEM_PACK_COMPRESSIONNoCompression mode for memory packs (off, compact, ids)
CODEMEM_MCP_OIDC_CLIENT_IDNoOIDC client ID
CODEMEM_MCP_HTTP_PUBLIC_URLNoPublic /mcp URL advertised in MCP OAuth metadata
CODEMEM_MCP_OIDC_ISSUER_URLNoUpstream OIDC provider used before MCP OAuth code issuance
CODEMEM_MCP_HTTP_UNSAFE_PUBLICNoSet to '1', 'true', or 'yes' to allow non-loopback MCP HTTP binds
CODEMEM_MCP_OIDC_CLIENT_SECRETNoOIDC client secret
CODEMEM_MCP_OAUTH_ALLOWED_EMAILNoSingle-user allowlist for upstream OIDC identity (email)
CODEMEM_MCP_OAUTH_ALLOWED_SUBJECTNoSingle-user allowlist for upstream OIDC identity (subject)

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kunickiaj/codemem'

If you have feedback or need assistance with the MCP directory API, please join our Discord server