-
Notifications
You must be signed in to change notification settings - Fork 350
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
132 lines (132 loc) · 2.91 KB
/
wrangler.jsonc
File metadata and controls
132 lines (132 loc) · 2.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
/**
* For more details on how to configure Wrangler, refer to:
* https://developers.cloudflare.com/workers/wrangler/configuration/
*/
{
"$schema": "node_modules/wrangler/config-schema.json",
"main": "src/browser.app.ts",
"compatibility_date": "2025-03-10",
"compatibility_flags": ["nodejs_compat"],
"name": "mcp-cloudflare-browser-dev",
"migrations": [
{
"new_sqlite_classes": ["BrowserMCP"],
"tag": "v1"
}
],
"observability": {
"enabled": true,
"traces": {
"enabled": true,
"head_sampling_rate": 0.1
}
},
"durable_objects": {
"bindings": [
{
"class_name": "BrowserMCP",
"name": "MCP_OBJECT"
},
{
"class_name": "UserDetails",
"name": "USER_DETAILS"
}
]
},
"kv_namespaces": [
{
"binding": "OAUTH_KV",
"id": "DEV_KV"
}
],
"vars": {
"ENVIRONMENT": "development",
"MCP_SERVER_NAME": "<PLACEHOLDER>",
"MCP_SERVER_VERSION": "<PLACEHOLDER>",
"CLOUDFLARE_CLIENT_ID": "<PLACEHOLDER>",
"CLOUDFLARE_CLIENT_SECRET": "<PLACEHOLDER>"
},
"dev": {
"port": 8976
},
"workers_dev": false,
"preview_urls": false,
"analytics_engine_datasets": [
{
"binding": "MCP_METRICS",
"dataset": "mcp-metrics-dev"
}
],
"env": {
"staging": {
"name": "mcp-cloudflare-browser-staging",
"account_id": "6702657b6aa048cf3081ff3ff3c9c52f",
"routes": [{ "pattern": "browser-staging.mcp.cloudflare.com", "custom_domain": true }],
"durable_objects": {
"bindings": [
{
"class_name": "BrowserMCP",
"name": "MCP_OBJECT"
},
{
"class_name": "UserDetails",
"name": "USER_DETAILS",
"script_name": "mcp-cloudflare-workers-observability-staging"
}
]
},
"kv_namespaces": [
{
"binding": "OAUTH_KV",
"id": "4a12227b37064c28b677750b7a68f5ea"
}
],
"vars": {
"ENVIRONMENT": "staging",
"MCP_SERVER_NAME": "Cloudflare Browser Rendering Remote MCP Server - Staging",
"MCP_SERVER_VERSION": "1.0.0"
},
"analytics_engine_datasets": [
{
"binding": "MCP_METRICS",
"dataset": "mcp-metrics-staging"
}
]
},
"production": {
"name": "mcp-cloudflare-browser-production",
"account_id": "6702657b6aa048cf3081ff3ff3c9c52f",
"routes": [{ "pattern": "browser.mcp.cloudflare.com", "custom_domain": true }],
"durable_objects": {
"bindings": [
{
"class_name": "BrowserMCP",
"name": "MCP_OBJECT"
},
{
"class_name": "UserDetails",
"name": "USER_DETAILS",
"script_name": "mcp-cloudflare-workers-observability-production"
}
]
},
"kv_namespaces": [
{
"binding": "OAUTH_KV",
"id": "91cd23ee16f74c2c8772d967431bdd6c"
}
],
"vars": {
"ENVIRONMENT": "production",
"MCP_SERVER_NAME": "Cloudflare Browser Rendering Remote MCP Server",
"MCP_SERVER_VERSION": "1.0.0"
},
"analytics_engine_datasets": [
{
"binding": "MCP_METRICS",
"dataset": "mcp-metrics-production"
}
]
}
}
}