rclon commited on
Commit
b4aa678
·
verified ·
1 Parent(s): 0234229

Create entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +37 -0
entrypoint.sh ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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=Asia/Shanghai"
17
+ ],
18
+ "alwaysAllow": [
19
+ "get_current_time",
20
+ "convert_time"
21
+ ]
22
+ },
23
+ "tavily-mcp": {
24
+ "command": "npx",
25
+ "args": [
26
+ "-y",
27
28
+ ],
29
+ "env": {
30
+ "TAVILY_API_KEY": "tvly-dev-xxxxx"
31
+ }
32
+ }
33
+ }
34
+ }
35
+ EOF
36
+
37
+ exec mcpo --config /app/config.json