@striderlabs/mcp-booking 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth.d.ts +1 -1
- package/dist/browser.js +2 -1
- package/package.json +12 -8
- package/package.json.bak +39 -0
- package/server.json +2 -2
package/dist/auth.d.ts
CHANGED
package/dist/browser.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Playwright-based browser automation for Booking.com operations.
|
|
5
5
|
*/
|
|
6
|
-
import { chromium } from "
|
|
6
|
+
import { chromium } from "patchright";
|
|
7
7
|
import { saveCookies, loadCookies, saveSessionInfo, } from "./auth.js";
|
|
8
8
|
const BOOKING_BASE_URL = "https://www.booking.com";
|
|
9
9
|
const DEFAULT_TIMEOUT = 30000;
|
|
@@ -27,6 +27,7 @@ async function initBrowser() {
|
|
|
27
27
|
}
|
|
28
28
|
browser = await chromium.launch({
|
|
29
29
|
headless: true,
|
|
30
|
+
channel: "chrome", // Use real Chrome for stealth
|
|
30
31
|
args: [
|
|
31
32
|
"--disable-blink-features=AutomationControlled",
|
|
32
33
|
"--no-sandbox",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@striderlabs/mcp-booking",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "MCP server for Booking.com - let AI agents search hotels, check availability, and manage reservations",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -14,23 +14,27 @@
|
|
|
14
14
|
"keywords": [
|
|
15
15
|
"mcp",
|
|
16
16
|
"booking",
|
|
17
|
-
"hotel",
|
|
18
|
-
"
|
|
17
|
+
"book hotel",
|
|
18
|
+
"hotel reservation",
|
|
19
|
+
"hotel search",
|
|
20
|
+
"travel automation",
|
|
21
|
+
"accommodation",
|
|
19
22
|
"ai-agent",
|
|
20
|
-
"
|
|
23
|
+
"autonomous-agent",
|
|
24
|
+
"travel-agent",
|
|
21
25
|
"model-context-protocol",
|
|
22
|
-
"browser-automation"
|
|
23
|
-
"playwright"
|
|
26
|
+
"browser-automation"
|
|
24
27
|
],
|
|
25
28
|
"author": "Strider Labs <hello@striderlabs.ai>",
|
|
26
29
|
"license": "MIT",
|
|
27
30
|
"homepage": "https://striderlabs.ai",
|
|
28
31
|
"dependencies": {
|
|
29
32
|
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
30
|
-
"
|
|
33
|
+
"patchright": "^1.58.2"
|
|
31
34
|
},
|
|
32
35
|
"devDependencies": {
|
|
33
36
|
"@types/node": "^20.11.0",
|
|
34
37
|
"typescript": "^5.3.3"
|
|
35
|
-
}
|
|
38
|
+
},
|
|
39
|
+
"mcpName": "io.github.markswendsen-code/booking"
|
|
36
40
|
}
|
package/package.json.bak
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@striderlabs/mcp-booking",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "MCP server for Booking.com - let AI agents search hotels, check availability, and manage reservations",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"bin": {
|
|
7
|
+
"striderlabs-mcp-booking": "dist/index.js"
|
|
8
|
+
},
|
|
9
|
+
"type": "module",
|
|
10
|
+
"scripts": {
|
|
11
|
+
"build": "tsc",
|
|
12
|
+
"start": "node dist/index.js"
|
|
13
|
+
},
|
|
14
|
+
"keywords": [
|
|
15
|
+
"mcp",
|
|
16
|
+
"booking",
|
|
17
|
+
"hotel",
|
|
18
|
+
"travel",
|
|
19
|
+
"ai-agent",
|
|
20
|
+
"strider",
|
|
21
|
+
"model-context-protocol",
|
|
22
|
+
"browser-automation",
|
|
23
|
+
"playwright",
|
|
24
|
+
"agent",
|
|
25
|
+
"automation"
|
|
26
|
+
],
|
|
27
|
+
"author": "Strider Labs <hello@striderlabs.ai>",
|
|
28
|
+
"license": "MIT",
|
|
29
|
+
"homepage": "https://striderlabs.ai",
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
32
|
+
"patchright": "^1.58.2"
|
|
33
|
+
},
|
|
34
|
+
"devDependencies": {
|
|
35
|
+
"@types/node": "^20.11.0",
|
|
36
|
+
"typescript": "^5.3.3"
|
|
37
|
+
},
|
|
38
|
+
"mcpName": "io.github.markswendsen-code/booking"
|
|
39
|
+
}
|
package/server.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
3
|
-
"name": "
|
|
4
|
-
"description": "Booking.com MCP server
|
|
3
|
+
"name": "io.github.markswendsen-code/booking",
|
|
4
|
+
"description": "Booking.com MCP server \u2014 search hotels, check availability, and manage reservations.",
|
|
5
5
|
"version": "0.1.0",
|
|
6
6
|
"packages": [
|
|
7
7
|
{
|