Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,21 +8,6 @@ from server import mcp # Importa tu servidor MCP existente
|
|
| 8 |
app = FastAPI(title="MCP Server Dashboard")
|
| 9 |
|
| 10 |
|
| 11 |
-
@app.get("/", response_class=HTMLResponse)
|
| 12 |
-
async def home():
|
| 13 |
-
return """
|
| 14 |
-
<html>
|
| 15 |
-
<body>
|
| 16 |
-
<h1>MCP Server</h1>
|
| 17 |
-
<p>Endpoints:</p>
|
| 18 |
-
<ul>
|
| 19 |
-
<li><a href="/get_document_info">/get_document_info</a></li>
|
| 20 |
-
<li><a href="/sse">/sse</a></li>
|
| 21 |
-
</ul>
|
| 22 |
-
</body>
|
| 23 |
-
</html>
|
| 24 |
-
"""
|
| 25 |
-
|
| 26 |
# Incluye los endpoints de MCP directamente en la aplicaci贸n principal
|
| 27 |
app.include_router(mcp.router)
|
| 28 |
|
|
|
|
| 8 |
app = FastAPI(title="MCP Server Dashboard")
|
| 9 |
|
| 10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
# Incluye los endpoints de MCP directamente en la aplicaci贸n principal
|
| 12 |
app.include_router(mcp.router)
|
| 13 |
|