Spaces:
Sleeping
Sleeping
Create entrypoint.sh
Browse files- entrypoint.sh +14 -0
entrypoint.sh
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
|
| 3 |
+
cat cat cat cat <<EOF > /home/node/config.jsoncat <<EOF > /home/node/config.json
|
| 4 |
+
{{
|
| 5 |
+
"mcpServers": { "mcpServers": {
|
| 6 |
+
"edgeone-pages-mcp-server": { "edgeone-pages-mcp-server": {
|
| 7 |
+
"command": "npx", "command": "npx",
|
| 8 |
+
"args": ["edgeone-pages-mcp"] "args": ["edgeone-pages-mcp"]
|
| 9 |
+
} }
|
| 10 |
+
} }
|
| 11 |
+
}}
|
| 12 |
+
EOFEOF
|
| 13 |
+
|
| 14 |
+
exec mcp-superassistant-proxy --config /home/node/config.json --host 0.0.0.0 --port 7860 --cors trueexec mcp-superassistant-proxy --config /home/node/config.json --host 0.0.0.0 --port 7860 --cors true
|