File tree Expand file tree Collapse file tree 2 files changed +45
-17
lines changed
apps/workers-observability Expand file tree Collapse file tree 2 files changed +45
-17
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ Replace the content with the following configuration. Once you restart Claude De
2121 "command": "npx",
2222 "args": [
2323 "mcp-remote",
24- "https://mcp- cloudflare-staging.r. workers.dev /sse"
24+ "https://mcp. cloudflare.com/ workers/observability /sse"
2525 ]
2626 }
2727 }
Original file line number Diff line number Diff line change 44 */
55{
66 "$schema" : " node_modules/wrangler/config-schema.json" ,
7- "name" : " mcp-cloudflare-staging" ,
87 "main" : " src/index.ts" ,
98 "compatibility_date" : " 2025-03-10" ,
109 "compatibility_flags" : [" nodejs_compat" ],
1413 "tag" : " v1"
1514 }
1615 ],
17- "durable_objects" : {
18- "bindings" : [
19- {
20- "class_name" : " MyMCP" ,
21- "name" : " MCP_OBJECT"
22- }
23- ]
24- },
25- "kv_namespaces" : [
26- {
27- "binding" : " OAUTH_KV" ,
28- "id" : " 18e839155d00407095d793dcf7e78f25"
29- }
30- ],
3116 "observability" : {
3217 "enabled" : true
3318 },
3419 "dev" : {
3520 "port" : 8976
36- }
21+ },
22+ "workers_dev" : false ,
23+ "preview_urls" : false ,
24+ "env" : {
25+ "staging" : {
26+ "name" : " mcp-cloudflare-staging" ,
27+ "account_id" : " 8995c0f49cdcf57eb54d2c1e52b7d2f3" ,
28+ // enable workers-dev for staging
29+ "workers_dev" : true ,
30+ "durable_objects" : {
31+ "bindings" : [
32+ {
33+ "class_name" : " MyMCP" ,
34+ "name" : " MCP_OBJECT"
35+ }
36+ ]
37+ },
38+ "kv_namespaces" : [
39+ {
40+ "binding" : " OAUTH_KV" ,
41+ "id" : " 18e839155d00407095d793dcf7e78f25"
42+ }
43+ ],
44+ },
45+ "production" : {
46+ "name" : " mcp-cloudflare-production" ,
47+ "account_id" : " 8995c0f49cdcf57eb54d2c1e52b7d2f3" ,
48+ "routes" : [" mcp.cloudflare.com/*" ],
49+ "durable_objects" : {
50+ "bindings" : [
51+ {
52+ "class_name" : " MyMCP" ,
53+ "name" : " MCP_OBJECT"
54+ }
55+ ]
56+ },
57+ "kv_namespaces" : [
58+ {
59+ "binding" : " OAUTH_KV" ,
60+ "id" : " f9782295993747df90c29c45ca89edb1"
61+ }
62+ ],
63+ }
64+ },
3765}
You can’t perform that action at this time.
0 commit comments