Skip to main content
Glama
dataverse_config.example.py1.1 kB
"""Dataverse configuration template - copy to dataverse_config.py and fill in your values.""" import os # WORKAROUND: Databricks Apps may not properly load app.yaml environment variables # # INSTRUCTIONS: # 1. Copy this file to dataverse_config.py (it's in .gitignore) # 2. Fill in your actual credentials below # 3. Run the app locally or deploy to Databricks Apps # # SECURITY NOTE: Never commit actual secrets to git! # The dataverse_config.py file is gitignored to prevent accidental commits. DATAVERSE_CONFIG = { 'DATAVERSE_HOST': 'https://your-org.api.crm.dynamics.com', 'DATAVERSE_TENANT_ID': 'your-azure-tenant-id-here', 'DATAVERSE_CLIENT_ID': 'your-app-registration-client-id-here', 'DATAVERSE_CLIENT_SECRET': 'your-app-registration-client-secret-here', } def apply_dataverse_config(): """Apply Dataverse config to environment if not already set.""" for key, value in DATAVERSE_CONFIG.items(): if value and (key not in os.environ or not os.environ[key]): os.environ[key] = value print(f"✅ Set {key} from dataverse_config.py")

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/lucamilletti99/dataverse_mcp_server'

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