alan5543 commited on
Commit
dce6125
·
1 Parent(s): da6f17a

add smithery api key

Browse files
Files changed (2) hide show
  1. .env +1 -0
  2. mcp_server_config.py +46 -40
.env CHANGED
@@ -3,4 +3,5 @@ TELEGRAM_BOT_TOKEN="7702282252:AAEGHQQpi7Bxkd7EQVXvKxDkCFjzfVAnIBw"
3
  GEMINI_API_KEY="AIzaSyBIto6q5lhkP021g32F2GOA4wR68pLfMWw"
4
  CURRENCYFREAKS_API_KEY="5eac297d6e8144bf940f38a6a038e502"
5
  SERP_API_KEY="1c283f5976c4f462d92d6ff81463a50f9614b8d05702c33dfad5549bb2beab2a"
 
6
 
 
3
  GEMINI_API_KEY="AIzaSyBIto6q5lhkP021g32F2GOA4wR68pLfMWw"
4
  CURRENCYFREAKS_API_KEY="5eac297d6e8144bf940f38a6a038e502"
5
  SERP_API_KEY="1c283f5976c4f462d92d6ff81463a50f9614b8d05702c33dfad5549bb2beab2a"
6
+ SMITHERY_API_KEY="67fb6904-152d-4682-9d6c-2024b713cbc3"
7
 
mcp_server_config.py CHANGED
@@ -12,49 +12,55 @@ mcp_server_configs = [
12
  "run",
13
  "@alan5543/calculator-mcp",
14
  "--key",
15
- "67fb6904-152d-4682-9d6c-2024b713cbc3"
16
  ],
17
  "env": None
18
  },
19
- # {
20
- # # MCP tool to search for airbnbs in the destination
21
- # "name": "airbnb-mcp-server",
22
- # "command": "npx",
23
- # "args": [
24
- # "-y",
25
- # "@smithery/cli@latest",
26
- # "run",
27
- # "@alan5543/airbnb-mcp-server",
28
- # ],
29
- # "env": None
30
- # },
31
- # {
32
- # # MCP tool to search for flights to the destination
33
- # "name": "flight-search-mcp",
34
- # "command": "npx",
35
- # "args": [
36
- # "-y",
37
- # "@smithery/cli@latest",
38
- # "run",
39
- # "@alan5543/flight-search-mcp",
40
- # ],
41
- # "env": None
42
- # },
43
- # {
44
- # # MCP tool to plan, discover and book the trip and hotel
45
- # "name": "travel-agent-mcp-server",
46
- # "command": "npx",
47
- # "args": [
48
- # "-y",
49
- # "@smithery/cli@latest",
50
- # "run",
51
- # "@alan5543/travel-agent-mcp-server",
52
- # ],
53
- # "env": {
54
- # "SERP_API_KEY": os.getenv("SERP_API_KEY"),
55
- # "CURRENCYFREAKS_API_KEY": os.getenv("CURRENCYFREAKS_API_KEY")
56
- # }
57
- # },
 
 
 
 
 
 
58
  {
59
  # MCP tool to fetch the information from the web
60
  "name": "fetch_server",
 
12
  "run",
13
  "@alan5543/calculator-mcp",
14
  "--key",
15
+ os.getenv("SMITHERY_API_KEY")
16
  ],
17
  "env": None
18
  },
19
+ {
20
+ # MCP tool to search for airbnbs in the destination
21
+ "name": "airbnb-mcp-server",
22
+ "command": "npx",
23
+ "args": [
24
+ "-y",
25
+ "@smithery/cli@latest",
26
+ "run",
27
+ "@alan5543/airbnb-mcp-server",
28
+ "--key",
29
+ os.getenv("SMITHERY_API_KEY")
30
+ ],
31
+ "env": None
32
+ },
33
+ {
34
+ # MCP tool to search for flights to the destination
35
+ "name": "flight-search-mcp",
36
+ "command": "npx",
37
+ "args": [
38
+ "-y",
39
+ "@smithery/cli@latest",
40
+ "run",
41
+ "@alan5543/flight-search-mcp",
42
+ "--key",
43
+ os.getenv("SMITHERY_API_KEY")
44
+ ],
45
+ "env": None
46
+ },
47
+ {
48
+ # MCP tool to plan, discover and book the trip and hotel
49
+ "name": "travel-agent-mcp-server",
50
+ "command": "npx",
51
+ "args": [
52
+ "-y",
53
+ "@smithery/cli@latest",
54
+ "run",
55
+ "@alan5543/travel-agent-mcp-server",
56
+ "--key",
57
+ os.getenv("SMITHERY_API_KEY")
58
+ ],
59
+ "env": {
60
+ "SERP_API_KEY": os.getenv("SERP_API_KEY"),
61
+ "CURRENCYFREAKS_API_KEY": os.getenv("CURRENCYFREAKS_API_KEY")
62
+ }
63
+ },
64
  {
65
  # MCP tool to fetch the information from the web
66
  "name": "fetch_server",