Skip to main content
Glama
config.py663 B
from functools import lru_cache from typing import Annotated from fastapi import Depends from pydantic import Field from pydantic_settings import BaseSettings, SettingsConfigDict # type: ignore class Settings(BaseSettings): openai_api_key: str openai_base_url: str | None = Field(None) model_name: str | None = Field(None) embedding_model_name: str | None = Field(None) neo4j_uri: str neo4j_user: str neo4j_password: str model_config = SettingsConfigDict(env_file='.env', extra='ignore') @lru_cache def get_settings(): return Settings() # type: ignore[call-arg] ZepEnvDep = Annotated[Settings, Depends(get_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/getzep/graphiti'

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