# MCP Teams & IR Server - Environment Configuration
#----------------------------------------
# Microsoft Teams / Graph API Configuration
#----------------------------------------
# Microsoft Azure AD / Graph API credentials
AZURE_CLIENT_ID=
AZURE_CLIENT_SECRET=
AZURE_TENANT_ID=
AZURE_APP_OBJECT_ID=
# DuckDB database file location (for Teams MCP Server)
DUCKDB_PATH=db/teams_mcp.duckdb
# Token storage location
TOKEN_PATH=db/token_cache.json
# Polling interval for new messages (seconds)
POLL_INTERVAL=10
# Demo mode (set to 'true' to enable mock/demo mode with no real API calls)
DEMO_MODE=false
#----------------------------------------
# PostgreSQL Configuration (for IR Server)
#----------------------------------------
POSTGRES_HOST=postgres
POSTGRES_PORT=5432
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=mcp_ir
# Database connection pool settings
PG_MIN_CONN=1
PG_MAX_CONN=10
#----------------------------------------
# OpenAI API Configuration (for embeddings)
#----------------------------------------
OPENAI_API_KEY=your_openai_api_key
EMBEDDING_MODEL=text-embedding-3-large
EMBEDDING_DIMENSIONS=1536
#----------------------------------------
# Server Configuration
#----------------------------------------
# MCP IR Server port
IR_SERVER_PORT=8090
# Teams MCP Server port
TEAMS_SERVER_PORT=8000
#----------------------------------------
# Search Configuration
#----------------------------------------
DEFAULT_SEARCH_TYPE=hybrid
HYBRID_WEIGHT_SEMANTIC=0.7
HYBRID_WEIGHT_FULLTEXT=0.3
DEFAULT_SEARCH_LIMIT=10
# Chunking configuration for document processing
DEFAULT_CHUNK_SIZE=1000
DEFAULT_CHUNK_OVERLAP=200
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/aech-ai/mcp-teams'
If you have feedback or need assistance with the MCP directory API, please join our Discord server