Spaces:
Runtime error
Runtime error
Download app.py from layers2024/test-mcp-server: direct link, hf CLI and curl.
- Browser
- Download file 275 Bytes
-
https://huggingface.co/spaces/layers2024/test-mcp-server/resolve/main/app.py
- Command line
-
hf download hf://spaces/layers2024/test-mcp-server/app.py
-
curl -L -o app.py https://huggingface.co/spaces/layers2024/test-mcp-server/resolve/main/app.py
275 Bytes
| import gradio as gr | |
| gr.load_openapi( | |
| openapi_spec="https://raw.githubusercontent.com/stripe/openapi/refs/heads/master/openapi/spec3.json", | |
| base_url="https://api.stripe.com/v1", | |
| paths=None, | |
| methods=['GET', 'POST', 'PUT', 'DELETE'], | |
| ).launch(mcp_server=True) | |