Skip to main content
Glama

Azure OpenAI

by kimtth
config.py677 B
from fastmcp import FastMCP from pydantic import BaseModel from typing import Optional class LLMConfig(BaseModel): """Configuration for LLM client""" api_key: str model: Optional[str] = None base_url: Optional[str] = None temperature: float = 0.7 max_tokens: int = 2000 # Azure OpenAI specific parameters api_version: Optional[str] = None azure_endpoint: Optional[str] = None deploy_name: Optional[str] = None class BridgeConfig(BaseModel): """Configuration for the MCP-LLM Bridge""" mcp: FastMCP llm_config: LLMConfig system_prompt: Optional[str] = None class Config: arbitrary_types_allowed = True

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/kimtth/mcp-aoai-web-browsing'

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