Skip to main content
Glama

Python MCP Sandbox

by JohanLi233
models.py306 B
from typing import List, Optional from pydantic import BaseModel class FileLink(BaseModel): name: str url: str class CodeExecutionResponse(BaseModel): stdout: str stderr: str exit_code: int files: List[str] = [] file_links: List[FileLink] = [] error: Optional[str] = None

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/JohanLi233/python-mcp-sandbox'

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