Spaces:
Sleeping
Sleeping
Download scribe_python_client/mcp_app/app.py from dn-scribe/scribe-mcp: direct link, hf CLI and curl.
- Browser
- Download file 290 Bytes
-
https://huggingface.co/spaces/dn-scribe/scribe-mcp/resolve/main/scribe_python_client/mcp_app/app.py
- Command line
-
hf download hf://spaces/dn-scribe/scribe-mcp/scribe_python_client/mcp_app/app.py
-
curl -L -o app.py https://huggingface.co/spaces/dn-scribe/scribe-mcp/resolve/main/scribe_python_client/mcp_app/app.py
290 Bytes
| #This is used for hosting on HuggingFace | |
| from fastapi_mcp import FastApiMCP | |
| from .endpointsAPI import app | |
| mcp = FastApiMCP( | |
| app, | |
| name="MCPEndpoints", | |
| description="Tools for querying data from Scribe database using FastAPI endpoints with MCP", | |
| ) | |
| mcp.mount() | |
| mcp.setup_server() | |