Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
PORT | No | Server port | 3000 |
NODE_ENV | No | Node environment | production |
LOG_LEVEL | No | Logging level | info |
REDIS_URL | No | Redis connection URL | redis://localhost:6379 |
JWT_SECRET | No | Secret for JWT tokens | |
ENABLE_AUTH | No | Enable authentication | true |
ERPNEXT_URL | Yes | URL of your ERPNext instance | |
OAUTH_ENABLED | No | Enable OAuth authentication | false |
ENCRYPTION_KEY | No | Encryption key for sensitive data | |
REDIS_PASSWORD | No | Redis password | |
ALLOWED_ORIGINS | No | Comma-separated list of allowed origins for CORS | http://localhost,https://your-domain.com |
ERPNEXT_API_KEY | Yes | Your ERPNext API key | |
OAUTH_CLIENT_ID | No | OAuth client ID | |
ERPNEXT_API_SECRET | Yes | Your ERPNext API secret | |
OAUTH_REDIRECT_URI | No | OAuth redirect URI | http://localhost:3000/callback |
RATE_LIMIT_ENABLED | No | Enable rate limiting | true |
OAUTH_CLIENT_SECRET | No | OAuth client secret | |
RATE_LIMIT_WINDOW_MS | No | Time window for rate limiting in milliseconds | 60000 |
RATE_LIMIT_MAX_REQUESTS | No | Maximum number of requests for rate limiting | 100 |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
No tools |