Skip to main content
Glama

Code Execution Server

models.py401 B
# 定义请求体的模型 from matplotlib.pyplot import cla from pydantic import BaseModel class SearchRequest(BaseModel): query: str serper_api_key: str = "" top_k: int = 10 region: str = "us" lang: str = "en" depth: int = 0 class SearchPaperInfo(BaseModel): query:str class ReadPdfInfo(BaseModel): url:str class FetchWebContent(BaseModel): url: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/sjtu-sai-agents/mcp_sandbox'

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