fix readme
Browse files
README.md
CHANGED
|
@@ -12,4 +12,36 @@ short_description: Transform website screenshots into functional HTML code,
|
|
| 12 |
tags:
|
| 13 |
- mcp-server-track
|
| 14 |
Video_URL: https://youtu.be/3GxNtBQRIUE
|
| 15 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
tags:
|
| 13 |
- mcp-server-track
|
| 14 |
Video_URL: https://youtu.be/3GxNtBQRIUE
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
## Usage Instructions
|
| 18 |
+
|
| 19 |
+
### Local Setup
|
| 20 |
+
1. Install dependencies:
|
| 21 |
+
```bash
|
| 22 |
+
pip install -r requirements.txt
|
| 23 |
+
```
|
| 24 |
+
|
| 25 |
+
2. Run the application:
|
| 26 |
+
```bash
|
| 27 |
+
python app.py
|
| 28 |
+
```
|
| 29 |
+
|
| 30 |
+
### MCP Configuration
|
| 31 |
+
If you want to use this tool with MCP (Model Context Protocol), copy the following configuration:
|
| 32 |
+
|
| 33 |
+
```json
|
| 34 |
+
{
|
| 35 |
+
"mcpServers": {
|
| 36 |
+
"gradio": {
|
| 37 |
+
"command": "npx",
|
| 38 |
+
"args": [
|
| 39 |
+
"mcp-remote",
|
| 40 |
+
"https://agents-mcp-hackathon-website-generator.hf.space/gradio_api/mcp/sse",
|
| 41 |
+
"--transport",
|
| 42 |
+
"sse-only"
|
| 43 |
+
]
|
| 44 |
+
}
|
| 45 |
+
}
|
| 46 |
+
}
|
| 47 |
+
```
|