Skip to main content
Glama

Python MCP Sandbox

by JohanLi233
user.py673 B
from datetime import datetime from pydantic import BaseModel, EmailStr from typing import Optional class UserBase(BaseModel): email: EmailStr username: str class UserCreate(UserBase): password: str class UserInDB(UserBase): id: str hashed_password: str created_at: datetime is_active: bool = True api_key: Optional[str] = None class User(UserBase): id: str created_at: datetime is_active: bool api_key: Optional[str] = None model_config = { "from_attributes": True } class Token(BaseModel): access_token: str token_type: str class TokenData(BaseModel): username: 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