Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NCMCP_HOSTNoBind address inside the container; defaults to 0.0.0.00.0.0.0
NCMCP_PORTNoBind port inside the container; defaults to 80008000
NCMCP_DATA_DIRNoWhere the SQLite token store lives; Compose sets /data (the named volume)
NCMCP_LOG_LEVELNoLog level; defaults to infoinfo
NEXTCLOUD_BASE_URLYesYour Nextcloud instance, no trailing slash
NCMCP_ENCRYPTION_KEYYesFernet key encrypting Nextcloud tokens at rest
NCMCP_PUBLIC_BASE_URLNoThe public URL this server is reachable at; defaults to http://127.0.0.1:8000 for local testinghttp://127.0.0.1:8000
NCMCP_MAX_RENDER_PAGESNoMost pages render_page will rasterize in one call; default 55
NCMCP_DEV_REDIRECT_URISNoExtra redirect URIs DCR may register, comma-separated — only for local test scripts, leave empty in production
NEXTCLOUD_OAUTH_CLIENT_IDYesFrom the OAuth client registered in Setup step 1
NCMCP_ENABLE_PUBLIC_SHARESNoEnables create_share_link (unauthenticated public URLs); false by defaultfalse
NCMCP_EXTRACT_CACHE_TTL_DAYSNoHow long cached extracted text is kept; default 3030
NCMCP_REFRESH_TOKEN_TTL_DAYSNoHow long our issued refresh tokens live before Claude must re-login; default 9090
NCMCP_EXTRACT_TIMEOUT_SECONDSNoTime limit for a single extraction; default 3030
NEXTCLOUD_OAUTH_CLIENT_SECRETYesFrom the OAuth client registered in Setup step 1
NCMCP_MAX_EXTRACT_FILE_SIZE_MBNoLargest file the document-reading tools will download/extract; default 5050
NCMCP_EXTRACT_CACHE_SIZE_CAP_MBNoExtraction cache size before least-recently-used entries are evicted; default 200200
NCMCP_SHARE_DEFAULT_EXPIRE_DAYSNoDefault expiry for links create_share_link makes when a call doesn't specify one; default 77

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/janLo/nextcloud-simple-mcp'

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