ropic commited on
Commit
3dc3ed2
·
verified ·
1 Parent(s): cc84d9a

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +27 -44
entrypoint.sh CHANGED
@@ -1,7 +1,19 @@
1
  #!/bin/bash
 
2
  cat <<EOF > /app/config.json
3
  {
4
  "mcpServers": {
 
 
 
 
 
 
 
 
 
 
 
5
  "tavily-mcp": {
6
  "command": "npx",
7
  "args": [
@@ -9,7 +21,17 @@ cat <<EOF > /app/config.json
9
  "tavily-mcp@0.1.2"
10
  ],
11
  "env": {
12
- "TAVILY_API_KEY": "\${TAVILY_API_KEY}"
 
 
 
 
 
 
 
 
 
 
13
  }
14
  },
15
  "github": {
@@ -19,7 +41,7 @@ cat <<EOF > /app/config.json
19
  "@modelcontextprotocol/server-github"
20
  ],
21
  "env": {
22
- "GITHUB_PERSONAL_ACCESS_TOKEN": "\${GITHUB_PERSONAL_ACCESS_TOKEN}"
23
  }
24
  },
25
  "filesystem": {
@@ -31,50 +53,11 @@ cat <<EOF > /app/config.json
31
  ]
32
  },
33
  "edgeone-pages-mcp-server": {
34
- "isActive": true,
35
- "command": "npx",
36
- "args": ["edgeone-pages-mcp"],
37
- "name": "edgeone-pages-mcp-server"
38
- },
39
- "f_01VLe1Ds8Jc8N-iDC4v": {
40
- "isActive": true,
41
- "name": "fetcher-mcp",
42
- "type": "stdio",
43
- "description": "",
44
- "registryUrl": "",
45
  "command": "npx",
46
- "args": [
47
- "-y",
48
- "fetcher-mcp@0.2.6"
49
- ]
50
- },
51
- "jQVMwaGTWVuiD-RVziumx": {
52
- "isActive": true,
53
- "name": "g_search",
54
- "type": "stdio",
55
- "description": "",
56
- "registryUrl": "",
57
- "command": "npx",
58
- "args": [
59
- "-y",
60
- "g-search-mcp"
61
- ]
62
- },
63
- "grok2_image": {
64
- "isActive": true,
65
- "name": "grok2_image",
66
- "type": "stdio",
67
- "registryUrl": "",
68
- "command": "npx",
69
- "args": [
70
- "grok2-image-mcp-server"
71
- ],
72
- "env": {
73
- "XAIAPI_KEY": "\${XAIAPI_KEY}",
74
- "XAIAPI_BASE_URL": "\${XAIAPI_BASE_URL}"
75
- }
76
- }
77
  }
78
  }
79
  EOF
 
80
  exec mcpo --config /app/config.json
 
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": [
 
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": {
 
41
  "@modelcontextprotocol/server-github"
42
  ],
43
  "env": {
44
+ "GITHUB_PERSONAL_ACCESS_TOKEN": "${GITHUB_PERSONAL_ACCESS_TOKEN}"
45
  }
46
  },
47
  "filesystem": {
 
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