guohanghui commited on
Commit
3714d60
·
verified ·
1 Parent(s): 321fdd6

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -0
app.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from fastapi import FastAPI
2
+ import os
3
+
4
+ app = FastAPI()
5
+
6
+
7
+ @app.get("/")
8
+ async def root():
9
+ return {
10
+ "status": "ok",
11
+ "service": "practical_astronomy",
12
+ "transport": os.environ.get("MCP_TRANSPORT", "stdio"),
13
+ }