roeel0 commited on
Commit
8bee55c
·
verified ·
1 Parent(s): 9a4dd7c

Create entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +48 -0
entrypoint.sh ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ cat <<EOF > /app/config.json
4
+ {
5
+ "mcpServers": {
6
+ "fetch": {
7
+ "command": "uvx",
8
+ "args": [
9
+ "mcp-server-fetch"
10
+ ]
11
+ },
12
+ "mcp-server-time": {
13
+ "command": "uvx",
14
+ "args": [
15
+ "mcp-server-time",
16
+ "--local-timezone=${TZ}"
17
+ ],
18
+ "alwaysAllow": [
19
+ "get_current_time",
20
+ "convert_time"
21
+ ]
22
+ },
23
+ "grok2_images": {
24
+ "command": "npx",
25
+ "args": [
26
+ "-y",
27
+ "grok2-image-mcp-server@0.1.3"
28
+ ],
29
+ "env": {
30
+ "XAIAPI_KEY": "${XAIAPI_KEY}",
31
+ "XAIAPI_BASE_URL": "${XAIAPI_BASE_URL}"
32
+ }
33
+ },
34
+ "tavily-mcp": {
35
+ "command": "npx",
36
+ "args": [
37
+ "-y",
38
+ "tavily-mcp@0.1.2"
39
+ ],
40
+ "env": {
41
+ "TAVILY_API_KEY": "${TAVILY_API_KEY}"
42
+ }
43
+ }
44
+ }
45
+ }
46
+ EOF
47
+
48
+ exec mcpo --config /app/config.json