Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | The port the server will listen on. | 3000 |
| NODE_ENV | No | Environment mode (e.g., development, production). | development |
| JWT_SECRET | No | Secret used for signing JWT tokens. Required in production. | |
| DATABASE_TYPE | No | Type of database to use. | sqlite |
| MCP_SERVER_URL | Yes | The URL where your MCP server is running (e.g., http://localhost:3000 or a remote URL). | |
| RATE_LIMIT_MAX | No | Maximum number of requests per window. | 100 |
| MCP_BEARER_TOKEN | Yes | The authentication token generated from the server's web interface used to authorize the adapter. | |
| MCP_TOKEN_EXPIRY | No | MCP token expiry duration in seconds. | 2592000 |
| MCP_TOKEN_SECRET | No | Secret for MCP tokens. Auto-generated if not provided. | |
| MICROSOFT_CLIENT_ID | Yes | Azure App Application (client) ID required to access Microsoft Graph API. | |
| MICROSOFT_TENANT_ID | Yes | Azure Directory (tenant) ID. | common |
| RATE_LIMIT_AUTH_MAX | No | Maximum authentication attempts per window. | 20 |
| CORS_ALLOWED_ORIGINS | No | Comma-separated list of allowed origins for CORS. Default is '*' in development. | * |
| RATE_LIMIT_WINDOW_MS | No | Rate limit window duration in milliseconds. | 900000 |
| MICROSOFT_REDIRECT_URI | No | The OAuth callback URL configured in Azure. | http://localhost:3000/api/auth/callback |
| DEVICE_REGISTRY_ENCRYPTION_KEY | No | A 32-byte key used for encrypting tokens at rest. Required in production. |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |