Skip to main content
Glama

Model Context Protocol Server

session_schema.py464 B
# Dosya: schemas/session_schema.py from pydantic import BaseModel class SessionResponse(BaseModel): """Yeni bir oturum oluşturulduğunda dönülecek yanıt modeli.""" session_id: str # YENİ EKLENDİ class UserMessage(BaseModel): """Kullanıcının /chat endpoint'ine göndereceği mesaj modeli.""" message: str # YENİ EKLENDİ class AIResponse(BaseModel): """/chat endpoint'inden yapay zeka yanıtını içeren model.""" response: str

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/BilgisayarKavramlari/MCP-Server'

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