Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NODE_ENVNoNode environment (production, development, etc.)
HTTP_HOSTNoHTTP server host (restrict to localhost unless external access needed)127.0.0.1
HTTP_PORTNoHTTP server port (only used when TRANSPORT_TYPE=http)3000
PF_SCOPESNoAPI scopes (space-separated list of required OAuth scopes)
PF_API_URLNoPractice Fusion API Base URLhttps://qa-api.practicefusion.com
PF_CLIENT_IDYesPractice Fusion API Client ID (required, get from Practice Fusion Developer Support)
PF_TOKEN_PATHNoOAuth token endpoint path/ehr/oauth2/token
TRANSPORT_TYPENoTransport Type: 'stdio' (default) or 'http'stdio
PF_CALLBACK_URLNoOAuth callback URL for local developmenthttp://localhost:3456/oauth/callback
HTTP_ENABLE_CORSNoEnable CORS supporttrue
PF_CALLBACK_PORTNoOAuth callback port3456
PF_CLIENT_SECRETYesPractice Fusion API Client Secret (required, get from Practice Fusion Developer Support)
PF_AUTHORIZE_PATHNoOAuth authorization endpoint path/ehr/oauth2/auth
HTTP_ALLOWED_ORIGINSNoComma-separated list of allowed origins for CORShttp://localhost:*,https://localhost:*
HTTP_SESSION_TIMEOUT_MSNoSession timeout in milliseconds1800000
HTTP_REQUIRE_ORIGIN_VALIDATIONNoEnable origin validation for securitytrue

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/durvester/mcp-scheduler-bot'

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