File size: 225 Bytes
2e38950
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from fastapi import FastAPI
import os

app = FastAPI()


@app.get("/")
async def root():
    return {
        "status": "ok",
        "service": "pyfolio",
        "transport": os.environ.get("MCP_TRANSPORT", "stdio"),
    }