15 lines
292 B
Python
15 lines
292 B
Python
from fastapi import FastAPI
|
|
|
|
from handler.exception import install as exception_install
|
|
from lifespan import lifespan
|
|
from mcps import create_mcp_app
|
|
|
|
app = FastAPI(lifespan=lifespan)
|
|
|
|
exception_install(app)
|
|
|
|
if __name__ == "__main__":
|
|
import uvicorn
|
|
|
|
uvicorn.run(app=app, port=8000)
|