File tree Expand file tree Collapse file tree 3 files changed +1
-13
lines changed
Expand file tree Collapse file tree 3 files changed +1
-13
lines changed Original file line number Diff line number Diff line change 2020 "*.woff2" ,
2121 "*.ttf" ,
2222 "*.eot" ,
23- "*.otf" ,
24- "/mcp" ,
25- "/mcp/message"
23+ "*.otf"
2624]
2725
2826class WhitelistChecker :
Original file line number Diff line number Diff line change 1414from common .core .response_middleware import ResponseMiddleware , exception_handler
1515from alembic .config import Config
1616from alembic import command
17- from fastapi_mcp import FastApiMCP
1817
1918def run_migrations ():
2019 alembic_cfg = Config ("alembic.ini" )
@@ -39,14 +38,6 @@ def custom_generate_unique_id(route: APIRoute) -> str:
3938 lifespan = lifespan
4039)
4140
42- mcp = FastApiMCP (
43- app ,
44- name = "My API MCP" ,
45- description = "My API description" ,
46- )
47-
48- mcp .mount ()
49-
5041# Set all CORS enabled origins
5142if settings .all_cors_origins :
5243 app .add_middleware (
Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ dependencies = [
3434 " psycopg2-binary (>=2.9.10,<3.0.0)" ,
3535 " oracledb (>=3.1.1,<4.0.0)" ,
3636 " pyyaml (>=6.0.2,<7.0.0)" ,
37- " fastapi-mcp (>=0.3.4,<0.4.0)" ,
3837]
3938[[tool .uv .index ]]
4039url = " https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple"
You can’t perform that action at this time.
0 commit comments