daiwei114 commited on
Commit
d3e56e3
·
verified ·
1 Parent(s): 037501a

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +17 -35
entrypoint.sh CHANGED
@@ -5,62 +5,44 @@ cat <<EOF > /app/config.json
5
  "mcpServers": {
6
  "tavily-mcp": {
7
  "command": "npx",
8
- "args": [
9
- "-y",
10
- "tavily-mcp@0.1.3"
11
- ],
12
  "env": {
13
  "TAVILY_API_KEY": "${TAVILY_API_KEY}"
14
  }
15
  },
16
- "calculator": {
17
- "command": "uvx",
18
- "args": ["mcp-server-calculator"]
19
  },
20
- "context7": {
21
  "command": "npx",
22
  "args": ["-y", "@upstash/context7-mcp"]
23
- },
24
- "fetch": {
25
- "command": "uvx",
26
- "args": ["mcp-server-fetch"]
27
- },
28
- "jina-mcp-tools": {
29
  "command": "npx",
30
  "args": ["jina-mcp-tools"],
31
  "env": {
32
  "JINA_API_KEY": "${JINA_API_KEY}"
33
  }
34
  },
35
- "arxiv-mcp-server": {
36
- "command": "uv",
37
- "args": [
38
- "tool",
39
- "run",
40
- "arxiv-mcp-server",
41
- "--storage-path", "/path/to/paper/storage"
42
- ]
43
- }
44
- "env": {
45
- "PERPLEXITY_API_KEY": "${PPLX_API_KEY}",
46
- "SEARCH_CONTEXT_SIZE": "high",
47
- "PERPLEXITY_MODEL": "sonar-pro"
48
- }
49
  },
50
- "time-mcp": {
51
  "command": "npx",
52
  "args": ["-y", "time-mcp"]
53
  },
54
  "exa": {
55
  "command": "npx",
56
- "args": [
57
- "-y",
58
- "mcp-remote",
59
- "https://mcp.exa.ai/mcp?exaApiKey=e863f6d4-b768-41d7-bc48-d5e43ec92e89"
60
- ]
61
  }
62
  }
63
  }
64
  EOF
65
 
66
- exec mcpo --config /app/config.json
 
5
  "mcpServers": {
6
  "tavily-mcp": {
7
  "command": "npx",
8
+ "args": ["-y", "tavily-mcp@0.1.3"],
 
 
 
9
  "env": {
10
  "TAVILY_API_KEY": "${TAVILY_API_KEY}"
11
  }
12
  },
13
+ "calculator": {
14
+ "command": "uvx",
15
+ "args": ["mcp-server-calculator"]
16
  },
17
+ "context7": {
18
  "command": "npx",
19
  "args": ["-y", "@upstash/context7-mcp"]
20
+ },
21
+ "fetch": {
22
+ "command": "uvx",
23
+ "args": ["mcp-server-fetch"]
24
+ },
25
+ "jina-mcp-tools": {
26
  "command": "npx",
27
  "args": ["jina-mcp-tools"],
28
  "env": {
29
  "JINA_API_KEY": "${JINA_API_KEY}"
30
  }
31
  },
32
+ "arxiv-mcp-server": {
33
+ "command": "uv",
34
+ "args": ["tool", "run", "arxiv-mcp-server", "--storage-path", "/path/to/paper/storage"]
 
 
 
 
 
 
 
 
 
 
 
35
  },
36
+ "time-mcp": {
37
  "command": "npx",
38
  "args": ["-y", "time-mcp"]
39
  },
40
  "exa": {
41
  "command": "npx",
42
+ "args": ["-y", "mcp-remote", "https://mcp.exa.ai/mcp?exaApiKey=${EXA_API_KEY}"]
 
 
 
 
43
  }
44
  }
45
  }
46
  EOF
47
 
48
+ exec mcpo --config /app/config.json