Skip to main content
Glama

MCP Agent - AI Expense Tracker

by dev-muhammad
config.py•753 B
"""Configuration settings for the API""" import os from pathlib import Path class Settings: """Application settings""" # Server settings HOST: str = os.getenv("HOST", "localhost") PORT: int = int(os.getenv("PORT", "8002")) # API settings API_TITLE: str = "Expense Tracker API" API_VERSION: str = "1.0.0" # CORS settings ALLOW_ORIGINS: list = ["*"] ALLOW_CREDENTIALS: bool = True ALLOW_METHODS: list = ["*"] ALLOW_HEADERS: list = ["*"] # Database settings DB_PATH: Path = Path(__file__).parent / "expenses.db" # MCP Server settings MCP_HOST: str = os.getenv("MCP_HOST", "localhost") MCP_PORT: int = int(os.getenv("MCP_PORT", "9002")) 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/dev-muhammad/MCPAgent'

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