Skip to main content
Glama

MCP Enhanced Data Retrieval System

by kalpalathika
settings.py1.3 kB
"""Configuration settings for MCP Enhanced Data Retrieval System""" from pydantic_settings import BaseSettings from typing import Optional class Settings(BaseSettings): """Application settings loaded from environment variables""" # Server Configuration server_host: str = "0.0.0.0" server_port: int = 8000 server_reload: bool = True log_level: str = "INFO" # GitHub OAuth 2.1 github_client_id: Optional[str] = None github_client_secret: Optional[str] = None github_redirect_uri: str = "http://localhost:8000/auth/callback" # GitHub API github_token: Optional[str] = None # MCP Configuration mcp_server_name: str = "github-data-retrieval" mcp_version: str = "1.0.0" max_token_chunk_size: int = 1500 retrieval_timeout_seconds: int = 2 # Vector Database chroma_persist_directory: str = "./data/chroma" embedding_model: str = "all-MiniLM-L6-v2" # Security secret_key: str = "your-secret-key-change-this-in-production" algorithm: str = "HS256" access_token_expire_minutes: int = 30 # Performance parallel_retrieval_workers: int = 4 cache_ttl_seconds: int = 300 class Config: env_file = ".env" case_sensitive = False # Global settings instance settings = Settings()

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/kalpalathika/MCP-Enhanced-Data-Retrieval-System'

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