Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ENABLE_DOCX | No | Enable DOCX file processing | |
| ND_API_BASE | No | NetDocuments API base URL (US by default) | |
| SERVER_HOST | No | Server host | |
| SERVER_PORT | No | Server port | |
| ND_CLIENT_ID | Yes | NetDocuments client ID | |
| ND_OAUTH_SCOPE | No | OAuth scope for NetDocuments | |
| MAX_FETCH_CHARS | No | Maximum number of characters to fetch from documents | |
| ND_REDIRECT_URI | Yes | OAuth redirect URI (e.g., https://<your-replit-host>.repl.co/oauth/callback) | |
| ND_CLIENT_SECRET | Yes | NetDocuments client secret | |
| ND_AUTH_TOKEN_URL | No | NetDocuments token URL | |
| SEARCH_DEFAULT_TOP | No | Default number of search results to return | |
| SEARCH_DEFAULT_ORDER | No | Default search order | |
| ND_AUTH_AUTHORIZE_URL | No | NetDocuments authorization URL |
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 | |