snailyp commited on
Commit
377b9db
·
verified ·
1 Parent(s): b05b69f

Create entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +63 -0
entrypoint.sh ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ cat <<EOF > /app/config.json
4
+ {
5
+ "mcpServers": {
6
+ "grok2_images": {
7
+ "command": "npx",
8
+ "args": [
9
+ "-y",
10
+ "grok2-image-mcp-server@0.1.3"
11
+ ],
12
+ "env": {
13
+ "XAIAPI_KEY": "${XAIAPI_KEY}",
14
+ "XAIAPI_BASE_URL": "${XAIAPI_BASE_URL}"
15
+ }
16
+ },
17
+ "tavily-mcp": {
18
+ "command": "npx",
19
+ "args": [
20
+ "-y",
21
+ "tavily-mcp@0.1.2"
22
+ ],
23
+ "env": {
24
+ "TAVILY_API_KEY": "${TAVILY_API_KEY}"
25
+ }
26
+ },
27
+ "baidu-map": {
28
+ "command": "npx",
29
+ "args": [
30
+ "-y",
31
+ "@baidumap/mcp-server-baidu-map"
32
+ ],
33
+ "env": {
34
+ "BAIDU_MAP_API_KEY": "${BAIDU_MAP_API_KEY}"
35
+ }
36
+ },
37
+ "github": {
38
+ "command": "npx",
39
+ "args": [
40
+ "-y",
41
+ "@modelcontextprotocol/server-github"
42
+ ],
43
+ "env": {
44
+ "GITHUB_PERSONAL_ACCESS_TOKEN": "${GITHUB_PERSONAL_ACCESS_TOKEN}"
45
+ }
46
+ },
47
+ "filesystem": {
48
+ "command": "npx",
49
+ "args": [
50
+ "-y",
51
+ "@modelcontextprotocol/server-filesystem",
52
+ "/home/mcp"
53
+ ]
54
+ },
55
+ "edgeone-pages-mcp-server": {
56
+ "command": "npx",
57
+ "args": ["edgeone-pages-mcp"]
58
+ }
59
+ }
60
+ }
61
+ EOF
62
+
63
+ exec mcpo --config /app/config.json