Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoThe port the server will listen on.3000
NODE_ENVNoEnvironment mode (e.g., development, production).development
JWT_SECRETNoSecret used for signing JWT tokens. Required in production.
DATABASE_TYPENoType of database to use.sqlite
MCP_SERVER_URLYesThe URL where your MCP server is running (e.g., http://localhost:3000 or a remote URL).
RATE_LIMIT_MAXNoMaximum number of requests per window.100
MCP_BEARER_TOKENYesThe authentication token generated from the server's web interface used to authorize the adapter.
MCP_TOKEN_EXPIRYNoMCP token expiry duration in seconds.2592000
MCP_TOKEN_SECRETNoSecret for MCP tokens. Auto-generated if not provided.
MICROSOFT_CLIENT_IDYesAzure App Application (client) ID required to access Microsoft Graph API.
MICROSOFT_TENANT_IDYesAzure Directory (tenant) ID.common
RATE_LIMIT_AUTH_MAXNoMaximum authentication attempts per window.20
CORS_ALLOWED_ORIGINSNoComma-separated list of allowed origins for CORS. Default is '*' in development.*
RATE_LIMIT_WINDOW_MSNoRate limit window duration in milliseconds.900000
MICROSOFT_REDIRECT_URINoThe OAuth callback URL configured in Azure.http://localhost:3000/api/auth/callback
DEVICE_REGISTRY_ENCRYPTION_KEYNoA 32-byte key used for encrypting tokens at rest. Required in production.

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/Aanerud/MCP-Microsoft-Office'

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