Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NODE_ENV | No | Node environment (production, development, etc.) | |
| HTTP_HOST | No | HTTP server host (restrict to localhost unless external access needed) | 127.0.0.1 |
| HTTP_PORT | No | HTTP server port (only used when TRANSPORT_TYPE=http) | 3000 |
| PF_SCOPES | No | API scopes (space-separated list of required OAuth scopes) | |
| PF_API_URL | No | Practice Fusion API Base URL | https://qa-api.practicefusion.com |
| PF_CLIENT_ID | Yes | Practice Fusion API Client ID (required, get from Practice Fusion Developer Support) | |
| PF_TOKEN_PATH | No | OAuth token endpoint path | /ehr/oauth2/token |
| TRANSPORT_TYPE | No | Transport Type: 'stdio' (default) or 'http' | stdio |
| PF_CALLBACK_URL | No | OAuth callback URL for local development | http://localhost:3456/oauth/callback |
| HTTP_ENABLE_CORS | No | Enable CORS support | true |
| PF_CALLBACK_PORT | No | OAuth callback port | 3456 |
| PF_CLIENT_SECRET | Yes | Practice Fusion API Client Secret (required, get from Practice Fusion Developer Support) | |
| PF_AUTHORIZE_PATH | No | OAuth authorization endpoint path | /ehr/oauth2/auth |
| HTTP_ALLOWED_ORIGINS | No | Comma-separated list of allowed origins for CORS | http://localhost:*,https://localhost:* |
| HTTP_SESSION_TIMEOUT_MS | No | Session timeout in milliseconds | 1800000 |
| HTTP_REQUIRE_ORIGIN_VALIDATION | No | Enable origin validation for security | true |
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 | |