"""
This file generates the OpenAPI schema of our FastAPI app and saves it to file.
"""
import json
from fastapi.openapi.utils import get_openapi
from chat.app import app
with open("../frontend/schema.json", "w") as f:
json.dump(
get_openapi(
title="Chat Service Schema",
version="1.0.0",
description="API schema for chat-service",
routes=app.routes,
),
f,
indent=4,
)
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/Arize-ai/phoenix'
If you have feedback or need assistance with the MCP directory API, please join our Discord server