mcp-deploy 0.1.2 → 0.1.4
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/.next/standalone/.next/BUILD_ID +1 -1
- package/.next/standalone/.next/app-path-routes-manifest.json +7 -7
- package/.next/standalone/.next/build-manifest.json +2 -2
- package/.next/standalone/.next/prerender-manifest.json +3 -3
- package/.next/standalone/.next/server/app/_global-error/page.js +2 -2
- package/.next/standalone/.next/server/app/_global-error.html +2 -2
- package/.next/standalone/.next/server/app/_global-error.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found/page.js +1 -1
- package/.next/standalone/.next/server/app/_not-found.html +2 -2
- package/.next/standalone/.next/server/app/_not-found.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/api/mcps/[slug]/deploy/route.js +1 -1
- package/.next/standalone/.next/server/app/api/mcps/[slug]/remove/route.js +1 -1
- package/.next/standalone/.next/server/app/api/mcps/[slug]/route.js +1 -1
- package/.next/standalone/.next/server/app/api/mcps/[slug]/secrets/route.js +1 -1
- package/.next/standalone/.next/server/app/api/mcps/[slug]/undeploy/route.js +1 -1
- package/.next/standalone/.next/server/app/api/mcps/add/route.js +1 -1
- package/.next/standalone/.next/server/app/api/mcps/route.js +1 -1
- package/.next/standalone/.next/server/app/index.html +2 -2
- package/.next/standalone/.next/server/app/index.rsc +1 -1
- package/.next/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/index.segments/_full.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/index.segments/_index.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/index.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/mcps/[slug]/page.js +2 -2
- package/.next/standalone/.next/server/app/oauth/authorize/page.js +1 -1
- package/.next/standalone/.next/server/app/oauth/authorize.html +2 -2
- package/.next/standalone/.next/server/app/oauth/authorize.rsc +1 -1
- package/.next/standalone/.next/server/app/oauth/authorize.segments/_full.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/oauth/authorize.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/oauth/authorize.segments/_index.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/oauth/authorize.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/oauth/authorize.segments/oauth/authorize/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/oauth/authorize.segments/oauth/authorize.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/oauth/authorize.segments/oauth.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/page.js +2 -2
- package/.next/standalone/.next/server/app/setup/page.js +3 -3
- package/.next/standalone/.next/server/app/setup.html +2 -2
- package/.next/standalone/.next/server/app/setup.rsc +1 -1
- package/.next/standalone/.next/server/app/setup.segments/_full.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/setup.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/setup.segments/_index.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/setup.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/setup.segments/setup/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/setup.segments/setup.segment.rsc +1 -1
- package/.next/standalone/.next/server/app-paths-manifest.json +7 -7
- package/.next/standalone/.next/server/chunks/142.js +1 -1
- package/.next/standalone/.next/server/chunks/471.js +2 -2
- package/.next/standalone/.next/server/pages/404.html +2 -2
- package/.next/standalone/.next/server/pages/500.html +2 -2
- package/.next/standalone/.next/server/server-reference-manifest.json +1 -1
- package/.next/standalone/package.json +1 -1
- package/package.json +1 -1
- package/src/app/api/mcps/[slug]/route.ts +4 -5
- package/src/app/api/mcps/route.ts +4 -5
- /package/.next/standalone/.next/static/{Om_3YQnRAnBRDZZiygPl7 → umAS_nttM34Bn6AVZor2W}/_buildManifest.js +0 -0
- /package/.next/standalone/.next/static/{Om_3YQnRAnBRDZZiygPl7 → umAS_nttM34Bn6AVZor2W}/_ssgManifest.js +0 -0
- /package/.next/static/{Om_3YQnRAnBRDZZiygPl7 → umAS_nttM34Bn6AVZor2W}/_buildManifest.js +0 -0
- /package/.next/static/{Om_3YQnRAnBRDZZiygPl7 → umAS_nttM34Bn6AVZor2W}/_ssgManifest.js +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
(()=>{var a={};a.id=620,a.ids=[620],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},722:a=>{"use strict";a.exports=require("next/dist/shared/lib/invariant-error")},846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},
|
|
2
|
-
see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:u.CachedRouteKind.APP_PAGE,html:n,headers:q,rscData:o.flightData,postponed:o.postponed,status:o.statusCode,segmentData:o.segmentData},cacheControl:p}},p=async({hasResolved:c,previousCacheEntry:f,isRevalidating:g,span:i,forceStaticRender:j=!1})=>{let k,l=!1===M.isDev,q=c||b.writableEnded;if(ai&&ab&&!f&&!J)return(null==ac?void 0:ac.render404)?await ac.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(aj&&(k=(0,v.parseFallbackField)(aj.fallback)),k===v.FallbackMode.PRERENDER&&(0,t.isBot)(al)&&(!as||an)&&(k=v.FallbackMode.BLOCKING_STATIC_RENDER),(null==f?void 0:f.isStale)===-1&&(ai=!0),ai&&(k!==v.FallbackMode.NOT_FOUND||f)&&(k=v.FallbackMode.BLOCKING_STATIC_RENDER),!J&&k!==v.FallbackMode.BLOCKING_STATIC_RENDER&&aE&&!q&&!_&&T&&(l||!ak)){if((l||aj)&&k===v.FallbackMode.NOT_FOUND){if(ad.experimental.adapterPath)return await aJ();throw new A.NoFallbackError}if(as&&(ad.cacheComponents?!aw:!ap)){let b=l&&"string"==typeof(null==aj?void 0:aj.fallback)?aj.fallback:ah,c=l&&(null==aj?void 0:aj.fallbackRouteParams)?(0,n.createOpaqueFallbackRouteParams)(aj.fallbackRouteParams):au?(0,n.getFallbackRouteParams)(ah,M):null,f=await M.handleResponse({cacheKey:b,req:a,nextConfig:ad,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:$,isRoutePPREnabled:as,responseGenerator:async()=>o({span:i,postponed:void 0,fallbackRouteParams:c,forceStaticRender:!1}),waitUntil:d.waitUntil,isMinimalMode:J});if(null===f)return null;if(f)return delete f.cacheControl,f}}let r=ai||g||!av?void 0:av;if(aA&&!J&&m&&aw&&!j){let b=await m.get(aa,{kind:u.IncrementalCacheKind.APP_PAGE,isRoutePPREnabled:!0,isFallback:!1});b&&b.value&&b.value.kind===u.CachedRouteKind.APP_PAGE&&(r=b.value.postponed,b&&(-1===b.isStale||!0===b.isStale)&&(0,H.scheduleOnNextTick)(async()=>{let b=M.getResponseCache(a);try{await b.revalidate(aa,m,as,!1,a=>p({...a,forceStaticRender:!0}),null,c,d.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}))}if(at&&void 0!==r)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:u.CachedRouteKind.PAGES,html:w.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let s=l&&(null==aj?void 0:aj.fallbackRouteParams)&&(0,h.getRequestMeta)(a,"renderFallbackShell")?(0,n.createOpaqueFallbackRouteParams)(aj.fallbackRouteParams):au?(0,n.getFallbackRouteParams)(ah,M):null;return o({span:i,postponed:r,fallbackRouteParams:s,forceStaticRender:j})},q=async c=>{var f,g,i,j,k;let l,m=await M.handleResponse({cacheKey:aD,responseGenerator:a=>p({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ai,isRoutePPREnabled:as,req:a,nextConfig:ad,prerenderManifest:$,waitUntil:d.waitUntil,isMinimalMode:J});if(_&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),M.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!m){if(aD)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=m.value)?void 0:f.kind)!==u.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=m.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let n="string"==typeof m.value.postponed;az&&!aw&&(!n||ao)&&(J||b.setHeader("x-nextjs-cache",ai?"REVALIDATED":m.isMiss?"MISS":m.isStale?"STALE":"HIT"),b.setHeader(s.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=m;if(av)l={revalidate:0,expire:void 0};else if(aw)l={revalidate:0,expire:void 0};else if(!M.isDev)if(_)l={revalidate:0,expire:void 0};else if(az){if(m.cacheControl)if("number"==typeof m.cacheControl.revalidate){if(m.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${m.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:m.cacheControl.revalidate,expire:(null==(j=m.cacheControl)?void 0:j.expire)??ad.expireTime}}else l={revalidate:x.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(m.cacheControl=l,"string"==typeof ax&&(null==q?void 0:q.kind)===u.CachedRouteKind.APP_PAGE&&q.segmentData){b.setHeader(s.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=q.headers)?void 0:k[x.NEXT_CACHE_TAGS_HEADER];J&&az&&c&&"string"==typeof c&&b.setHeader(x.NEXT_CACHE_TAGS_HEADER,c);let d=q.segmentData.get(ax);return void 0!==d?(0,z.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:w.default.fromStatic(d,s.RSC_CONTENT_TYPE_HEADER),cacheControl:m.cacheControl}):(b.statusCode=204,(0,z.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:w.default.EMPTY,cacheControl:m.cacheControl}))}let r=aA?(0,h.getRequestMeta)(a,"onCacheEntryV2")??(0,h.getRequestMeta)(a,"onCacheEntry"):(0,h.getRequestMeta)(a,"onCacheEntry");if(r&&await r(m,{url:(0,h.getRequestMeta)(a,"initURL")??a.url}))return null;if(q.headers){let a={...q.headers};for(let[c,d]of(J&&az||delete a[x.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let t=null==(g=q.headers)?void 0:g[x.NEXT_CACHE_TAGS_HEADER];if(J&&az&&t&&"string"==typeof t&&b.setHeader(x.NEXT_CACHE_TAGS_HEADER,t),!q.status||ap&&as||(b.statusCode=q.status),!J&&q.status&&F.RedirectStatusCode[q.status]&&ap&&(b.statusCode=200),n&&!aw&&b.setHeader(s.NEXT_DID_POSTPONE_HEADER,"1"),ap&&!_){if(void 0===q.rscData){if(q.html.contentType!==s.RSC_CONTENT_TYPE_HEADER)if(ad.cacheComponents)return b.statusCode=404,(0,z.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:w.default.EMPTY,cacheControl:m.cacheControl});else throw Object.defineProperty(new G.InvariantError(`Expected RSC response, got ${q.html.contentType}`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});return(0,z.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:q.html,cacheControl:m.cacheControl})}return(0,z.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:w.default.fromStatic(q.rscData,s.RSC_CONTENT_TYPE_HEADER),cacheControl:m.cacheControl})}let v=q.html;if(!n||J||ap)return(0,z.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:v,cacheControl:m.cacheControl});if(at)return v.push(new ReadableStream({start(a){a.enqueue(y.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,z.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:v,cacheControl:{revalidate:0,expire:void 0}});let A=new TransformStream;return v.push(A.readable),o({span:c,postponed:q.postponed,fallbackRouteParams:null,forceStaticRender:!1}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==u.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(A.writable)}).catch(a=>{A.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,z.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:v,cacheControl:{revalidate:0,expire:void 0}})};if(!aI)return await aH.withPropagatedContext(a.headers,()=>aH.trace(i.BaseServerSpan.handleRequest,{spanName:`${aG} ${O}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aG,"http.target":a.url}},q));await q(aI)}catch(b){throw b instanceof A.NoFallbackError||await M.onRequestError(a,b,{routerKind:"App Router",routePath:O,routeType:"render",revalidateReason:(0,f.c)({isStaticGeneration:az,isOnDemandRevalidate:ai})},!1,ac),b}}},2392:(a,b,c)=>{"use strict";c.d(b,{CloudflareSetup:()=>f});var d=c(8249),e=c(7484);function f(){let[a,b]=(0,e.useState)(null),[c,f]=(0,e.useState)(!1),[g,h]=(0,e.useState)(null);async function i(){f(!0),h(null);try{let a=await fetch("/api/cloudflare/setup",{method:"POST"}),c=await a.json();if(!a.ok)return void h(c.error??"Login failed");b({configured:!0,accountId:c.account??null})}catch{h("Failed to connect to server")}finally{f(!1)}}return(0,d.jsxs)("div",{className:"border border-edge rounded-xl p-6 bg-surface",children:[(0,d.jsx)("h2",{className:"text-lg font-semibold mb-2",children:"Cloudflare Account"}),(0,d.jsxs)("div",{className:"flex items-center justify-between",children:[(0,d.jsxs)("div",{children:[null===a?(0,d.jsxs)("div",{className:"flex items-center gap-2 text-sm",children:[(0,d.jsx)("span",{className:"w-2 h-2 rounded-full bg-fg-faint animate-pulse"}),(0,d.jsx)("span",{className:"text-fg-faint",children:"Checking..."})]}):a.configured?(0,d.jsxs)("div",{className:"flex items-center gap-2 text-sm",children:[(0,d.jsx)("span",{className:"w-2 h-2 rounded-full bg-success"}),(0,d.jsx)("span",{className:"text-success",children:"Connected"}),a.accountId&&(0,d.jsx)("span",{className:"text-fg-faint",children:a.accountId})]}):(0,d.jsxs)("div",{className:"flex items-center gap-2 text-sm",children:[(0,d.jsx)("span",{className:"w-2 h-2 rounded-full bg-fg-faint"}),(0,d.jsx)("span",{className:"text-fg-muted",children:"Not connected"})]}),(0,d.jsxs)("p",{className:"text-xs text-fg-faint mt-1",children:["Authentication via ",(0,d.jsx)("code",{className:"text-fg-muted",children:"wrangler login"})," (opens browser)"]})]}),(0,d.jsx)("button",{onClick:i,disabled:c||null===a,className:"px-4 py-2 bg-surface-raised hover:bg-surface-overlay border border-edge-subtle rounded-lg text-sm text-fg-secondary transition-colors disabled:opacity-50",children:c?"Connecting...":a?.configured?"Reconnect":"Connect"})]}),g&&(0,d.jsx)("p",{className:"mt-3 text-sm text-danger bg-danger-mid/10 border border-danger-mid/20 rounded-lg px-4 py-2",children:g})]})}},2532:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,5547,23)),Promise.resolve().then(c.t.bind(c,5098,23)),Promise.resolve().then(c.t.bind(c,7644,23)),Promise.resolve().then(c.t.bind(c,3859,23)),Promise.resolve().then(c.t.bind(c,8099,23)),Promise.resolve().then(c.t.bind(c,6237,23)),Promise.resolve().then(c.t.bind(c,8562,23)),Promise.resolve().then(c.t.bind(c,6675,23))},3033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},3681:(a,b,c)=>{Promise.resolve().then(c.bind(c,4662)),Promise.resolve().then(c.bind(c,5029))},3873:a=>{"use strict";a.exports=require("path")},3954:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/interception-routes")},4662:(a,b,c)=>{"use strict";c.d(b,{CloudflareSetup:()=>d});let d=(0,c(7943).registerClientReference)(function(){throw Error("Attempted to call CloudflareSetup() from the server but CloudflareSetup is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/vibes/Documents/Development/Projects/agent-suite/mcp-deploy/src/components/CloudflareSetup.tsx","CloudflareSetup")},5029:(a,b,c)=>{"use strict";c.d(b,{ThemeToggle:()=>d});let d=(0,c(7943).registerClientReference)(function(){throw Error("Attempted to call ThemeToggle() from the server but ThemeToggle is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/vibes/Documents/Development/Projects/agent-suite/mcp-deploy/src/components/ThemeToggle.tsx","ThemeToggle")},5178:(a,b,c)=>{"use strict";c.d(b,{ThemeProvider:()=>e});var d=c(7943);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call ThemeProvider() from the server but ThemeProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/vibes/Documents/Development/Projects/agent-suite/mcp-deploy/src/components/ThemeProvider.tsx","ThemeProvider");(0,d.registerClientReference)(function(){throw Error("Attempted to call useTheme() from the server but useTheme is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/vibes/Documents/Development/Projects/agent-suite/mcp-deploy/src/components/ThemeProvider.tsx","useTheme")},5896:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,3318,23)),Promise.resolve().then(c.bind(c,7086)),Promise.resolve().then(c.bind(c,5178))},6392:(a,b,c)=>{"use strict";c.d(b,{D:()=>h,ThemeProvider:()=>g});var d=c(8249),e=c(7484);let f=(0,e.createContext)(void 0);function g({children:a}){let[b,c]=(0,e.useState)("dark"),[g,h]=(0,e.useState)("dark");return(0,d.jsx)(f.Provider,{value:{theme:b,resolvedTheme:g,setTheme:a=>{c(a),h("system"===a?"dark":a),localStorage.setItem("mcp-deploy-theme",a),document.documentElement.setAttribute("data-theme",a)}},children:a})}function h(){let a=(0,e.useContext)(f);if(!a)throw Error("useTheme must be used within ThemeProvider");return a}},6439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},6481:(a,b,c)=>{Promise.resolve().then(c.bind(c,2392)),Promise.resolve().then(c.bind(c,7847))},6487:()=>{},6537:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>k,metadata:()=>i});var d=c(5735),e=c(3059),f=c.n(e),g=c(5178),h=c(7086);c(1135);let i={title:"MCP Deploy",description:"Deploy and manage MCP servers on Cloudflare Workers"},j=`
|
|
1
|
+
(()=>{var a={};a.id=620,a.ids=[620],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},722:a=>{"use strict";a.exports=require("next/dist/shared/lib/invariant-error")},846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},1135:()=>{},1506:(a,b,c)=>{"use strict";c.r(b),c.d(b,{GlobalError:()=>D.a,__next_app__:()=>L,handler:()=>N,routeModule:()=>M});var d=c(7553),e=c(4006),f=c(7798),g=c(4775),h=c(9373),i=c(3461),j=c(1020),k=c(6349),l=c(4365),m=c(6023),n=c(3747),o=c(4235),p=c(3938),q=c(261),r=c(6758),s=c(7243),t=c(6713),u=c(7527),v=c(2820),w=c(8216),x=c(7929),y=c(9551),z=c(9125),A=c(6439),B=c(7068),C=c(5547),D=c.n(C),E=c(1287),F=c(1494),G=c(722),H=c(753),I=c(3954),J={};for(let a in E)0>["default","GlobalError","__next_app__","routeModule","handler"].indexOf(a)&&(J[a]=()=>E[a]);c.d(b,J);let K={children:["",{children:["setup",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,9668)),"/Users/vibes/Documents/Development/Projects/agent-suite/mcp-deploy/src/app/setup/page.tsx"]}]},{}]},{layout:[()=>Promise.resolve().then(c.bind(c,6537)),"/Users/vibes/Documents/Development/Projects/agent-suite/mcp-deploy/src/app/layout.tsx"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,5547,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,5091,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,5270,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,8193,23)),"next/dist/client/components/builtin/unauthorized.js"]}]}.children,L={require:c,loadChunk:()=>Promise.resolve()},M=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/setup/page",pathname:"/setup",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:K},distDir:".next",relativeProjectDir:""});async function N(a,b,d){var C;M.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let J=!!(0,h.getRequestMeta)(a,"minimalMode"),O="/setup/page";"/index"===O&&(O="/");let P=await M.prepare(a,b,{srcPage:O,multiZoneDraftMode:!1});if(!P)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:Q,query:R,params:S,pageIsDynamic:T,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,serverActionsManifest:X,clientReferenceManifest:Y,subresourceIntegrityManifest:Z,prerenderManifest:$,isDraftMode:_,resolvedPathname:aa,revalidateOnlyGenerated:ab,routerServerContext:ac,nextConfig:ad,parsedUrl:ae,interceptionRoutePatterns:af,deploymentId:ag}=P,ah=(0,q.normalizeAppPath)(O),{isOnDemandRevalidate:ai}=P,aj=ad.experimental.ppr&&!ad.cacheComponents&&(0,I.isInterceptionRouteAppPath)(aa)?null:M.match(aa,$),ak=!!$.routes[aa],al=a.headers["user-agent"]||"",am=(0,t.getBotType)(al),an=(0,p.isHtmlBotRequest)(a),ao=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[s.NEXT_ROUTER_PREFETCH_HEADER],ap=(0,h.getRequestMeta)(a,"isRSCRequest")??!!a.headers[s.RSC_HEADER],aq=(0,r.getIsPossibleServerAction)(a),ar=(0,m.checkIsAppPPREnabled)(ad.experimental.ppr);if(!(0,h.getRequestMeta)(a,"postponed")&&ar&&"1"===a.headers[x.NEXT_RESUME_HEADER]&&"POST"===a.method){let b=[];for await(let c of a)b.push(c);let c=Buffer.concat(b).toString("utf8");(0,h.addRequestMeta)(a,"postponed",c)}let as=ar&&(null==(C=$.routes[ah]??$.dynamicRoutes[ah])?void 0:C.renderingMode)==="PARTIALLY_STATIC",at=!1,au=!1,av=as?(0,h.getRequestMeta)(a,"postponed"):void 0,aw=as&&ap&&!ao;J&&(aw=aw&&!!av);let ax=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ay=(!an||!as)&&(!al||(0,p.shouldServeStreamingMetadata)(al,ad.htmlLimitedBots)),az=!!((aj||ak||$.routes[ah])&&!(an&&as)),aA=as&&!0===ad.cacheComponents,aB=!0===M.isDev||!az||"string"==typeof av||(aA&&(0,h.getRequestMeta)(a,"onCacheEntryV2")?aw&&!J:aw),aC=an&&as,aD=null;_||!az||aB||aq||av||aw||(aD=aa);let aE=aD;!aE&&M.isDev&&(aE=aa),M.isDev||_||!az||!ap||aw||(0,k.d)(a.headers);let aF={...E,tree:K,GlobalError:D(),handler:N,routeModule:M,__next_app__:L};X&&Y&&(0,o.setManifestsSingleton)({page:O,clientReferenceManifest:Y,serverActionsManifest:X});let aG=a.method||"GET",aH=(0,g.getTracer)(),aI=aH.getActiveScopeSpan(),aJ=async()=>((null==ac?void 0:ac.render404)?await ac.render404(a,b,ae,!1):b.end("This page could not be found"),null);try{let f=M.getVaryHeader(aa,af);b.setHeader("Vary",f);let k=async(c,d)=>{let e=new l.NodeNextRequest(a),f=new l.NodeNextResponse(b);return M.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aH.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aG} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aG} ${O}`)})},m=(0,h.getRequestMeta)(a,"incrementalCache"),o=async({span:e,postponed:f,fallbackRouteParams:g,forceStaticRender:i})=>{let l={query:R,params:S,page:ah,sharedContext:{buildId:Q},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aF,Component:(0,j.T)(aF),params:S,routeModule:M,page:O,postponed:f,shouldWaitOnAllReady:aC,serveStreamingMetadata:ay,supportsDynamicResponse:"string"==typeof f||aB,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,subresourceIntegrityManifest:Z,setCacheStatus:null==ac?void 0:ac.setCacheStatus,setIsrStatus:null==ac?void 0:ac.setIsrStatus,setReactDebugChannel:null==ac?void 0:ac.setReactDebugChannel,sendErrorsToBrowser:null==ac?void 0:ac.sendErrorsToBrowser,dir:c(3873).join(process.cwd(),M.relativeProjectDir),isDraftMode:_,botType:am,isOnDemandRevalidate:ai,isPossibleServerAction:aq,assetPrefix:ad.assetPrefix,nextConfigOutput:ad.output,crossOrigin:ad.crossOrigin,trailingSlash:ad.trailingSlash,images:ad.images,previewProps:$.preview,deploymentId:ag,enableTainting:ad.experimental.taint,htmlLimitedBots:ad.htmlLimitedBots,reactMaxHeadersLength:ad.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:m,cacheLifeProfiles:ad.cacheLife,basePath:ad.basePath,serverActions:ad.experimental.serverActions,...at||au?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:at}:{},cacheComponents:!!ad.cacheComponents,experimental:{isRoutePPREnabled:as,expireTime:ad.expireTime,staleTimes:ad.experimental.staleTimes,dynamicOnHover:!!ad.experimental.dynamicOnHover,inlineCss:!!ad.experimental.inlineCss,authInterrupts:!!ad.experimental.authInterrupts,clientTraceMetadata:ad.experimental.clientTraceMetadata||[],clientParamParsingOrigins:ad.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,B.parseMaxPostponedStateSize)(ad.experimental.maxPostponedStateSize)},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>M.onRequestError(a,b,d,e,ac),err:(0,h.getRequestMeta)(a,"invokeError"),dev:M.isDev}};at&&(l.renderOpts.nextExport=!0,l.renderOpts.supportsDynamicResponse=!1,l.renderOpts.isDebugDynamicAccesses=at),i&&(l.renderOpts.supportsDynamicResponse=!1);let n=await k(e,l),{metadata:o}=n,{cacheControl:p,headers:q={},fetchTags:r,fetchMetrics:s}=o;if(r&&(q[x.NEXT_CACHE_TAGS_HEADER]=r),a.fetchMetrics=s,az&&(null==p?void 0:p.revalidate)===0&&!M.isDev&&!as){let a=o.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${aa}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""}
|
|
2
|
+
see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:u.CachedRouteKind.APP_PAGE,html:n,headers:q,rscData:o.flightData,postponed:o.postponed,status:o.statusCode,segmentData:o.segmentData},cacheControl:p}},p=async({hasResolved:c,previousCacheEntry:f,isRevalidating:g,span:i,forceStaticRender:j=!1})=>{let k,l=!1===M.isDev,q=c||b.writableEnded;if(ai&&ab&&!f&&!J)return(null==ac?void 0:ac.render404)?await ac.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(aj&&(k=(0,v.parseFallbackField)(aj.fallback)),k===v.FallbackMode.PRERENDER&&(0,t.isBot)(al)&&(!as||an)&&(k=v.FallbackMode.BLOCKING_STATIC_RENDER),(null==f?void 0:f.isStale)===-1&&(ai=!0),ai&&(k!==v.FallbackMode.NOT_FOUND||f)&&(k=v.FallbackMode.BLOCKING_STATIC_RENDER),!J&&k!==v.FallbackMode.BLOCKING_STATIC_RENDER&&aE&&!q&&!_&&T&&(l||!ak)){if((l||aj)&&k===v.FallbackMode.NOT_FOUND){if(ad.experimental.adapterPath)return await aJ();throw new A.NoFallbackError}if(as&&(ad.cacheComponents?!aw:!ap)){let b=l&&"string"==typeof(null==aj?void 0:aj.fallback)?aj.fallback:ah,c=l&&(null==aj?void 0:aj.fallbackRouteParams)?(0,n.createOpaqueFallbackRouteParams)(aj.fallbackRouteParams):au?(0,n.getFallbackRouteParams)(ah,M):null,f=await M.handleResponse({cacheKey:b,req:a,nextConfig:ad,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:$,isRoutePPREnabled:as,responseGenerator:async()=>o({span:i,postponed:void 0,fallbackRouteParams:c,forceStaticRender:!1}),waitUntil:d.waitUntil,isMinimalMode:J});if(null===f)return null;if(f)return delete f.cacheControl,f}}let r=ai||g||!av?void 0:av;if(aA&&!J&&m&&aw&&!j){let b=await m.get(aa,{kind:u.IncrementalCacheKind.APP_PAGE,isRoutePPREnabled:!0,isFallback:!1});b&&b.value&&b.value.kind===u.CachedRouteKind.APP_PAGE&&(r=b.value.postponed,b&&(-1===b.isStale||!0===b.isStale)&&(0,H.scheduleOnNextTick)(async()=>{let b=M.getResponseCache(a);try{await b.revalidate(aa,m,as,!1,a=>p({...a,forceStaticRender:!0}),null,c,d.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}))}if(at&&void 0!==r)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:u.CachedRouteKind.PAGES,html:w.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let s=l&&(null==aj?void 0:aj.fallbackRouteParams)&&(0,h.getRequestMeta)(a,"renderFallbackShell")?(0,n.createOpaqueFallbackRouteParams)(aj.fallbackRouteParams):au?(0,n.getFallbackRouteParams)(ah,M):null;return o({span:i,postponed:r,fallbackRouteParams:s,forceStaticRender:j})},q=async c=>{var f,g,i,j,k;let l,m=await M.handleResponse({cacheKey:aD,responseGenerator:a=>p({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ai,isRoutePPREnabled:as,req:a,nextConfig:ad,prerenderManifest:$,waitUntil:d.waitUntil,isMinimalMode:J});if(_&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),M.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!m){if(aD)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=m.value)?void 0:f.kind)!==u.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=m.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let n="string"==typeof m.value.postponed;az&&!aw&&(!n||ao)&&(J||b.setHeader("x-nextjs-cache",ai?"REVALIDATED":m.isMiss?"MISS":m.isStale?"STALE":"HIT"),b.setHeader(s.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=m;if(av)l={revalidate:0,expire:void 0};else if(aw)l={revalidate:0,expire:void 0};else if(!M.isDev)if(_)l={revalidate:0,expire:void 0};else if(az){if(m.cacheControl)if("number"==typeof m.cacheControl.revalidate){if(m.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${m.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:m.cacheControl.revalidate,expire:(null==(j=m.cacheControl)?void 0:j.expire)??ad.expireTime}}else l={revalidate:x.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(m.cacheControl=l,"string"==typeof ax&&(null==q?void 0:q.kind)===u.CachedRouteKind.APP_PAGE&&q.segmentData){b.setHeader(s.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=q.headers)?void 0:k[x.NEXT_CACHE_TAGS_HEADER];J&&az&&c&&"string"==typeof c&&b.setHeader(x.NEXT_CACHE_TAGS_HEADER,c);let d=q.segmentData.get(ax);return void 0!==d?(0,z.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:w.default.fromStatic(d,s.RSC_CONTENT_TYPE_HEADER),cacheControl:m.cacheControl}):(b.statusCode=204,(0,z.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:w.default.EMPTY,cacheControl:m.cacheControl}))}let r=aA?(0,h.getRequestMeta)(a,"onCacheEntryV2")??(0,h.getRequestMeta)(a,"onCacheEntry"):(0,h.getRequestMeta)(a,"onCacheEntry");if(r&&await r(m,{url:(0,h.getRequestMeta)(a,"initURL")??a.url}))return null;if(q.headers){let a={...q.headers};for(let[c,d]of(J&&az||delete a[x.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let t=null==(g=q.headers)?void 0:g[x.NEXT_CACHE_TAGS_HEADER];if(J&&az&&t&&"string"==typeof t&&b.setHeader(x.NEXT_CACHE_TAGS_HEADER,t),!q.status||ap&&as||(b.statusCode=q.status),!J&&q.status&&F.RedirectStatusCode[q.status]&&ap&&(b.statusCode=200),n&&!aw&&b.setHeader(s.NEXT_DID_POSTPONE_HEADER,"1"),ap&&!_){if(void 0===q.rscData){if(q.html.contentType!==s.RSC_CONTENT_TYPE_HEADER)if(ad.cacheComponents)return b.statusCode=404,(0,z.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:w.default.EMPTY,cacheControl:m.cacheControl});else throw Object.defineProperty(new G.InvariantError(`Expected RSC response, got ${q.html.contentType}`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});return(0,z.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:q.html,cacheControl:m.cacheControl})}return(0,z.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:w.default.fromStatic(q.rscData,s.RSC_CONTENT_TYPE_HEADER),cacheControl:m.cacheControl})}let v=q.html;if(!n||J||ap)return(0,z.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:v,cacheControl:m.cacheControl});if(at)return v.push(new ReadableStream({start(a){a.enqueue(y.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,z.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:v,cacheControl:{revalidate:0,expire:void 0}});let A=new TransformStream;return v.push(A.readable),o({span:c,postponed:q.postponed,fallbackRouteParams:null,forceStaticRender:!1}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==u.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(A.writable)}).catch(a=>{A.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,z.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:v,cacheControl:{revalidate:0,expire:void 0}})};if(!aI)return await aH.withPropagatedContext(a.headers,()=>aH.trace(i.BaseServerSpan.handleRequest,{spanName:`${aG} ${O}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aG,"http.target":a.url}},q));await q(aI)}catch(b){throw b instanceof A.NoFallbackError||await M.onRequestError(a,b,{routerKind:"App Router",routePath:O,routeType:"render",revalidateReason:(0,f.c)({isStaticGeneration:az,isOnDemandRevalidate:ai})},!1,ac),b}}},2392:(a,b,c)=>{"use strict";c.d(b,{CloudflareSetup:()=>f});var d=c(8249),e=c(7484);function f(){let[a,b]=(0,e.useState)(null),[c,f]=(0,e.useState)(!1),[g,h]=(0,e.useState)(null);async function i(){f(!0),h(null);try{let a=await fetch("/api/cloudflare/setup",{method:"POST"}),c=await a.json();if(!a.ok)return void h(c.error??"Login failed");b({configured:!0,accountId:c.account??null})}catch{h("Failed to connect to server")}finally{f(!1)}}return(0,d.jsxs)("div",{className:"border border-edge rounded-xl p-6 bg-surface",children:[(0,d.jsx)("h2",{className:"text-lg font-semibold mb-2",children:"Cloudflare Account"}),(0,d.jsxs)("div",{className:"flex items-center justify-between",children:[(0,d.jsxs)("div",{children:[null===a?(0,d.jsxs)("div",{className:"flex items-center gap-2 text-sm",children:[(0,d.jsx)("span",{className:"w-2 h-2 rounded-full bg-fg-faint animate-pulse"}),(0,d.jsx)("span",{className:"text-fg-faint",children:"Checking..."})]}):a.configured?(0,d.jsxs)("div",{className:"flex items-center gap-2 text-sm",children:[(0,d.jsx)("span",{className:"w-2 h-2 rounded-full bg-success"}),(0,d.jsx)("span",{className:"text-success",children:"Connected"}),a.accountId&&(0,d.jsx)("span",{className:"text-fg-faint",children:a.accountId})]}):(0,d.jsxs)("div",{className:"flex items-center gap-2 text-sm",children:[(0,d.jsx)("span",{className:"w-2 h-2 rounded-full bg-fg-faint"}),(0,d.jsx)("span",{className:"text-fg-muted",children:"Not connected"})]}),(0,d.jsxs)("p",{className:"text-xs text-fg-faint mt-1",children:["Authentication via ",(0,d.jsx)("code",{className:"text-fg-muted",children:"wrangler login"})," (opens browser)"]})]}),(0,d.jsx)("button",{onClick:i,disabled:c||null===a,className:"px-4 py-2 bg-surface-raised hover:bg-surface-overlay border border-edge-subtle rounded-lg text-sm text-fg-secondary transition-colors disabled:opacity-50",children:c?"Connecting...":a?.configured?"Reconnect":"Connect"})]}),g&&(0,d.jsx)("p",{className:"mt-3 text-sm text-danger bg-danger-mid/10 border border-danger-mid/20 rounded-lg px-4 py-2",children:g})]})}},2532:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,5547,23)),Promise.resolve().then(c.t.bind(c,5098,23)),Promise.resolve().then(c.t.bind(c,7644,23)),Promise.resolve().then(c.t.bind(c,3859,23)),Promise.resolve().then(c.t.bind(c,8099,23)),Promise.resolve().then(c.t.bind(c,6237,23)),Promise.resolve().then(c.t.bind(c,8562,23)),Promise.resolve().then(c.t.bind(c,6675,23))},3033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},3406:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},3681:(a,b,c)=>{Promise.resolve().then(c.bind(c,4662)),Promise.resolve().then(c.bind(c,5029))},3873:a=>{"use strict";a.exports=require("path")},3954:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/interception-routes")},4662:(a,b,c)=>{"use strict";c.d(b,{CloudflareSetup:()=>d});let d=(0,c(7943).registerClientReference)(function(){throw Error("Attempted to call CloudflareSetup() from the server but CloudflareSetup is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/vibes/Documents/Development/Projects/agent-suite/mcp-deploy/src/components/CloudflareSetup.tsx","CloudflareSetup")},5029:(a,b,c)=>{"use strict";c.d(b,{ThemeToggle:()=>d});let d=(0,c(7943).registerClientReference)(function(){throw Error("Attempted to call ThemeToggle() from the server but ThemeToggle is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/vibes/Documents/Development/Projects/agent-suite/mcp-deploy/src/components/ThemeToggle.tsx","ThemeToggle")},5178:(a,b,c)=>{"use strict";c.d(b,{ThemeProvider:()=>e});var d=c(7943);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call ThemeProvider() from the server but ThemeProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/vibes/Documents/Development/Projects/agent-suite/mcp-deploy/src/components/ThemeProvider.tsx","ThemeProvider");(0,d.registerClientReference)(function(){throw Error("Attempted to call useTheme() from the server but useTheme is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/vibes/Documents/Development/Projects/agent-suite/mcp-deploy/src/components/ThemeProvider.tsx","useTheme")},5896:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,3318,23)),Promise.resolve().then(c.bind(c,7086)),Promise.resolve().then(c.bind(c,5178))},6392:(a,b,c)=>{"use strict";c.d(b,{D:()=>h,ThemeProvider:()=>g});var d=c(8249),e=c(7484);let f=(0,e.createContext)(void 0);function g({children:a}){let[b,c]=(0,e.useState)("dark"),[g,h]=(0,e.useState)("dark");return(0,d.jsx)(f.Provider,{value:{theme:b,resolvedTheme:g,setTheme:a=>{c(a),h("system"===a?"dark":a),localStorage.setItem("mcp-deploy-theme",a),document.documentElement.setAttribute("data-theme",a)}},children:a})}function h(){let a=(0,e.useContext)(f);if(!a)throw Error("useTheme must be used within ThemeProvider");return a}},6439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},6481:(a,b,c)=>{Promise.resolve().then(c.bind(c,2392)),Promise.resolve().then(c.bind(c,7847))},6487:()=>{},6537:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>k,metadata:()=>i});var d=c(5735),e=c(3059),f=c.n(e),g=c(5178),h=c(7086);c(1135);let i={title:"MCP Deploy",description:"Deploy and manage MCP servers on Cloudflare Workers"},j=`
|
|
3
3
|
(function(){
|
|
4
4
|
var t = localStorage.getItem("mcp-deploy-theme");
|
|
5
5
|
if (t === "light" || t === "system") {
|
|
6
6
|
document.documentElement.setAttribute("data-theme", t);
|
|
7
7
|
}
|
|
8
8
|
})();
|
|
9
|
-
`;function k({children:a}){return(0,d.jsxs)("html",{lang:"en","data-theme":"dark",suppressHydrationWarning:!0,children:[(0,d.jsxs)("head",{children:[(0,d.jsx)("script",{dangerouslySetInnerHTML:{__html:j}}),!1]}),(0,d.jsx)("body",{className:"bg-surface-page text-fg min-h-screen antialiased",children:(0,d.jsxs)(g.ThemeProvider,{children:[(0,d.jsx)("nav",{className:"border-b border-edge bg-surface/50 backdrop-blur-sm fixed top-0 inset-x-0 z-50",children:(0,d.jsxs)("div",{className:"max-w-5xl mx-auto px-6 py-4 flex items-center justify-between",children:[(0,d.jsxs)(f(),{href:"/",className:"text-lg font-semibold tracking-tight",children:[(0,d.jsx)("span",{className:"text-accent-fg",children:"MCP"})," Deploy"]}),(0,d.jsx)(h.NavLinks,{})]})}),(0,d.jsx)("main",{className:"max-w-5xl mx-auto px-6 py-8 pt-16",children:a})]})})]})}},6713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},7068:a=>{"use strict";a.exports=require("next/dist/shared/lib/size-limit")},7086:(a,b,c)=>{"use strict";c.d(b,{NavLinks:()=>d});let d=(0,c(7943).registerClientReference)(function(){throw Error("Attempted to call NavLinks() from the server but NavLinks is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/vibes/Documents/Development/Projects/agent-suite/mcp-deploy/src/components/NavLinks.tsx","NavLinks")},7164:(a,b,c)=>{"use strict";c.d(b,{NavLinks:()=>i});var d=c(8249),e=c(2116),f=c.n(e),g=c(9099);let h=[{href:"/",label:"Dashboard"},{href:"/setup",label:"Settings"}];function i(){let a=(0,g.usePathname)();return(0,d.jsx)("div",{className:"flex gap-6 text-sm",children:h.map(({href:b,label:c})=>{let e="/"===b?"/"===a:a.startsWith(b);return(0,d.jsx)(f(),{href:b,className:`font-medium transition-colors pb-0.5 ${e?"text-fg border-b-2 border-accent-fg":"text-fg-muted hover:text-fg"}`,children:c},b)})})}},7847:(a,b,c)=>{"use strict";c.d(b,{ThemeToggle:()=>g});var d=c(8249),e=c(6392);let f=[{value:"light",label:"Light",icon:(0,d.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("circle",{cx:"12",cy:"12",r:"5"}),(0,d.jsx)("line",{x1:"12",y1:"1",x2:"12",y2:"3"}),(0,d.jsx)("line",{x1:"12",y1:"21",x2:"12",y2:"23"}),(0,d.jsx)("line",{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64"}),(0,d.jsx)("line",{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78"}),(0,d.jsx)("line",{x1:"1",y1:"12",x2:"3",y2:"12"}),(0,d.jsx)("line",{x1:"21",y1:"12",x2:"23",y2:"12"}),(0,d.jsx)("line",{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36"}),(0,d.jsx)("line",{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22"})]})},{value:"dark",label:"Dark",icon:(0,d.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,d.jsx)("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})})},{value:"system",label:"System",icon:(0,d.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",ry:"2"}),(0,d.jsx)("line",{x1:"8",y1:"21",x2:"16",y2:"21"}),(0,d.jsx)("line",{x1:"12",y1:"17",x2:"12",y2:"21"})]})}];function g(){let{theme:a,setTheme:b}=(0,e.D)();return(0,d.jsx)("div",{className:"inline-flex rounded-lg border border-edge bg-surface-raised p-1 gap-1",children:f.map(c=>(0,d.jsxs)("button",{onClick:()=>b(c.value),className:`flex items-center gap-1.5 rounded-md px-3 py-1.5 text-sm font-medium transition-colors ${a===c.value?"bg-surface-overlay text-fg shadow-sm":"text-fg-muted hover:text-fg-secondary"}`,children:[c.icon,c.label]},c.value))})}},8335:()=>{},8354:a=>{"use strict";a.exports=require("util")},8918:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,1921,23))},9121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},9166:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,5547,23))},9294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},9332:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,1921,23)),Promise.resolve().then(c.t.bind(c,440,23)),Promise.resolve().then(c.t.bind(c,4342,23)),Promise.resolve().then(c.t.bind(c,2265,23)),Promise.resolve().then(c.t.bind(c,5421,23)),Promise.resolve().then(c.t.bind(c,1335,23)),Promise.resolve().then(c.t.bind(c,664,23)),Promise.resolve().then(c.bind(c,4661))},9448:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,2116,23)),Promise.resolve().then(c.bind(c,7164)),Promise.resolve().then(c.bind(c,6392))},9668:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>h});var d=c(5735),e=c(4662),f=c(5029);let g=JSON.parse('{"UU":"mcp-deploy","rE":"0.1.
|
|
9
|
+
`;function k({children:a}){return(0,d.jsxs)("html",{lang:"en","data-theme":"dark",suppressHydrationWarning:!0,children:[(0,d.jsxs)("head",{children:[(0,d.jsx)("script",{dangerouslySetInnerHTML:{__html:j}}),!1]}),(0,d.jsx)("body",{className:"bg-surface-page text-fg min-h-screen antialiased",children:(0,d.jsxs)(g.ThemeProvider,{children:[(0,d.jsx)("nav",{className:"border-b border-edge bg-surface/50 backdrop-blur-sm fixed top-0 inset-x-0 z-50",children:(0,d.jsxs)("div",{className:"max-w-5xl mx-auto px-6 py-4 flex items-center justify-between",children:[(0,d.jsxs)(f(),{href:"/",className:"text-lg font-semibold tracking-tight",children:[(0,d.jsx)("span",{className:"text-accent-fg",children:"MCP"})," Deploy"]}),(0,d.jsx)(h.NavLinks,{})]})}),(0,d.jsx)("main",{className:"max-w-5xl mx-auto px-6 py-8 pt-16",children:a})]})})]})}},6713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},7068:a=>{"use strict";a.exports=require("next/dist/shared/lib/size-limit")},7086:(a,b,c)=>{"use strict";c.d(b,{NavLinks:()=>d});let d=(0,c(7943).registerClientReference)(function(){throw Error("Attempted to call NavLinks() from the server but NavLinks is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/vibes/Documents/Development/Projects/agent-suite/mcp-deploy/src/components/NavLinks.tsx","NavLinks")},7164:(a,b,c)=>{"use strict";c.d(b,{NavLinks:()=>i});var d=c(8249),e=c(2116),f=c.n(e),g=c(9099);let h=[{href:"/",label:"Dashboard"},{href:"/setup",label:"Settings"}];function i(){let a=(0,g.usePathname)();return(0,d.jsx)("div",{className:"flex gap-6 text-sm",children:h.map(({href:b,label:c})=>{let e="/"===b?"/"===a:a.startsWith(b);return(0,d.jsx)(f(),{href:b,className:`font-medium transition-colors pb-0.5 ${e?"text-fg border-b-2 border-accent-fg":"text-fg-muted hover:text-fg"}`,children:c},b)})})}},7847:(a,b,c)=>{"use strict";c.d(b,{ThemeToggle:()=>g});var d=c(8249),e=c(6392);let f=[{value:"light",label:"Light",icon:(0,d.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("circle",{cx:"12",cy:"12",r:"5"}),(0,d.jsx)("line",{x1:"12",y1:"1",x2:"12",y2:"3"}),(0,d.jsx)("line",{x1:"12",y1:"21",x2:"12",y2:"23"}),(0,d.jsx)("line",{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64"}),(0,d.jsx)("line",{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78"}),(0,d.jsx)("line",{x1:"1",y1:"12",x2:"3",y2:"12"}),(0,d.jsx)("line",{x1:"21",y1:"12",x2:"23",y2:"12"}),(0,d.jsx)("line",{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36"}),(0,d.jsx)("line",{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22"})]})},{value:"dark",label:"Dark",icon:(0,d.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,d.jsx)("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})})},{value:"system",label:"System",icon:(0,d.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",ry:"2"}),(0,d.jsx)("line",{x1:"8",y1:"21",x2:"16",y2:"21"}),(0,d.jsx)("line",{x1:"12",y1:"17",x2:"12",y2:"21"})]})}];function g(){let{theme:a,setTheme:b}=(0,e.D)();return(0,d.jsx)("div",{className:"inline-flex rounded-lg border border-edge bg-surface-raised p-1 gap-1",children:f.map(c=>(0,d.jsxs)("button",{onClick:()=>b(c.value),className:`flex items-center gap-1.5 rounded-md px-3 py-1.5 text-sm font-medium transition-colors ${a===c.value?"bg-surface-overlay text-fg shadow-sm":"text-fg-muted hover:text-fg-secondary"}`,children:[c.icon,c.label]},c.value))})}},8335:()=>{},8354:a=>{"use strict";a.exports=require("util")},8918:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,1921,23))},9121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},9166:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,5547,23))},9294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},9332:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,1921,23)),Promise.resolve().then(c.t.bind(c,440,23)),Promise.resolve().then(c.t.bind(c,4342,23)),Promise.resolve().then(c.t.bind(c,2265,23)),Promise.resolve().then(c.t.bind(c,5421,23)),Promise.resolve().then(c.t.bind(c,1335,23)),Promise.resolve().then(c.t.bind(c,664,23)),Promise.resolve().then(c.bind(c,4661))},9448:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,2116,23)),Promise.resolve().then(c.bind(c,7164)),Promise.resolve().then(c.bind(c,6392))},9668:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>h});var d=c(5735),e=c(4662),f=c(5029);let g=JSON.parse('{"UU":"mcp-deploy","rE":"0.1.4","h_":"Deploy and manage MCP (Model Context Protocol) servers on Cloudflare Workers","qY":"GPL-3.0-only","Jk":{"O":"git+https://github.com/upascal/mcp-deploy.git"}}');function h(){return(0,d.jsxs)("div",{className:"space-y-8",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h1",{className:"text-2xl font-bold mb-1",children:"Settings"}),(0,d.jsx)("p",{className:"text-fg-muted text-sm",children:"Configure your Cloudflare account and app preferences."})]}),(0,d.jsx)(e.CloudflareSetup,{}),(0,d.jsx)("section",{className:"rounded-xl border border-edge bg-surface p-6 space-y-4",children:(0,d.jsxs)("div",{className:"flex items-center justify-between",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h2",{className:"text-lg font-semibold",children:"Appearance"}),(0,d.jsx)("p",{className:"text-fg-muted text-sm mt-1",children:"Choose a color theme for the dashboard."})]}),(0,d.jsx)(f.ThemeToggle,{})]})}),(0,d.jsxs)("section",{className:"rounded-xl border border-edge bg-surface p-6 space-y-4",children:[(0,d.jsx)("h2",{className:"text-lg font-semibold",children:"About"}),(0,d.jsxs)("dl",{className:"grid grid-cols-[auto_1fr] gap-x-6 gap-y-2 text-sm",children:[(0,d.jsx)("dt",{className:"text-fg-muted",children:"Name"}),(0,d.jsx)("dd",{children:g.UU}),(0,d.jsx)("dt",{className:"text-fg-muted",children:"Version"}),(0,d.jsx)("dd",{children:g.rE}),(0,d.jsx)("dt",{className:"text-fg-muted",children:"Description"}),(0,d.jsx)("dd",{children:g.h_}),(0,d.jsx)("dt",{className:"text-fg-muted",children:"License"}),(0,d.jsx)("dd",{children:g.qY}),(0,d.jsx)("dt",{className:"text-fg-muted",children:"Source"}),(0,d.jsx)("dd",{children:(0,d.jsx)("a",{href:g.Jk.O.replace(/\.git$/,""),target:"_blank",rel:"noopener noreferrer",className:"text-accent-fg hover:underline",children:g.Jk.O.replace(/\.git$/,"").replace("https://","")})})]})]})]})}}};var b=require("../../webpack-runtime.js");b.C(a);var c=b.X(0,[445,471,704],()=>b(b.s=1506));module.exports=c})();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
<!DOCTYPE html><!--
|
|
1
|
+
<!DOCTYPE html><!--umAS_nttM34Bn6AVZor2W--><html lang="en" data-theme="dark"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/caae8cf5ba26c4c9.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-9ca43f4ce1bb8938.js"/><script src="/_next/static/chunks/4bd1b696-096d35a2bd1da3af.js" async=""></script><script src="/_next/static/chunks/794-37dad9bbc14b04b8.js" async=""></script><script src="/_next/static/chunks/main-app-9463efc72af57a9a.js" async=""></script><script src="/_next/static/chunks/500-5d45efbf86b8d36e.js" async=""></script><script src="/_next/static/chunks/app/layout-16156b2dce91d181.js" async=""></script><script src="/_next/static/chunks/app/setup/page-b7c341350a2c629c.js" async=""></script><title>MCP Deploy</title><meta name="description" content="Deploy and manage MCP servers on Cloudflare Workers"/><script>
|
|
2
2
|
(function(){
|
|
3
3
|
var t = localStorage.getItem("mcp-deploy-theme");
|
|
4
4
|
if (t === "light" || t === "system") {
|
|
5
5
|
document.documentElement.setAttribute("data-theme", t);
|
|
6
6
|
}
|
|
7
7
|
})();
|
|
8
|
-
</script><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="bg-surface-page text-fg min-h-screen antialiased"><div hidden=""><!--$--><!--/$--></div><nav class="border-b border-edge bg-surface/50 backdrop-blur-sm fixed top-0 inset-x-0 z-50"><div class="max-w-5xl mx-auto px-6 py-4 flex items-center justify-between"><a class="text-lg font-semibold tracking-tight" href="/"><span class="text-accent-fg">MCP</span> Deploy</a><div class="flex gap-6 text-sm"><a class="font-medium transition-colors pb-0.5 text-fg-muted hover:text-fg" href="/">Dashboard</a><a class="font-medium transition-colors pb-0.5 text-fg border-b-2 border-accent-fg" href="/setup">Settings</a></div></div></nav><main class="max-w-5xl mx-auto px-6 py-8 pt-16"><div class="space-y-8"><div><h1 class="text-2xl font-bold mb-1">Settings</h1><p class="text-fg-muted text-sm">Configure your Cloudflare account and app preferences.</p></div><div class="border border-edge rounded-xl p-6 bg-surface"><h2 class="text-lg font-semibold mb-2">Cloudflare Account</h2><div class="flex items-center justify-between"><div><div class="flex items-center gap-2 text-sm"><span class="w-2 h-2 rounded-full bg-fg-faint animate-pulse"></span><span class="text-fg-faint">Checking...</span></div><p class="text-xs text-fg-faint mt-1">Authentication via <code class="text-fg-muted">wrangler login</code> (opens browser)</p></div><button disabled="" class="px-4 py-2 bg-surface-raised hover:bg-surface-overlay border border-edge-subtle rounded-lg text-sm text-fg-secondary transition-colors disabled:opacity-50">Connect</button></div></div><section class="rounded-xl border border-edge bg-surface p-6 space-y-4"><div class="flex items-center justify-between"><div><h2 class="text-lg font-semibold">Appearance</h2><p class="text-fg-muted text-sm mt-1">Choose a color theme for the dashboard.</p></div><div class="inline-flex rounded-lg border border-edge bg-surface-raised p-1 gap-1"><button class="flex items-center gap-1.5 rounded-md px-3 py-1.5 text-sm font-medium transition-colors text-fg-muted hover:text-fg-secondary"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line></svg>Light</button><button class="flex items-center gap-1.5 rounded-md px-3 py-1.5 text-sm font-medium transition-colors bg-surface-overlay text-fg shadow-sm"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg>Dark</button><button class="flex items-center gap-1.5 rounded-md px-3 py-1.5 text-sm font-medium transition-colors text-fg-muted hover:text-fg-secondary"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="3" width="20" height="14" rx="2" ry="2"></rect><line x1="8" y1="21" x2="16" y2="21"></line><line x1="12" y1="17" x2="12" y2="21"></line></svg>System</button></div></div></section><section class="rounded-xl border border-edge bg-surface p-6 space-y-4"><h2 class="text-lg font-semibold">About</h2><dl class="grid grid-cols-[auto_1fr] gap-x-6 gap-y-2 text-sm"><dt class="text-fg-muted">Name</dt><dd>mcp-deploy</dd><dt class="text-fg-muted">Version</dt><dd>0.1.2</dd><dt class="text-fg-muted">Description</dt><dd>Deploy and manage MCP (Model Context Protocol) servers on Cloudflare Workers</dd><dt class="text-fg-muted">License</dt><dd>GPL-3.0-only</dd><dt class="text-fg-muted">Source</dt><dd><a href="git+https://github.com/upascal/mcp-deploy" target="_blank" rel="noopener noreferrer" class="text-accent-fg hover:underline">git+github.com/upascal/mcp-deploy</a></dd></dl></section></div><!--$--><!--/$--></main><script src="/_next/static/chunks/webpack-9ca43f4ce1bb8938.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[8946,[\"500\",\"static/chunks/500-5d45efbf86b8d36e.js\",\"558\",\"static/chunks/app/layout-16156b2dce91d181.js\"],\"ThemeProvider\"]\n3:I[8500,[\"500\",\"static/chunks/500-5d45efbf86b8d36e.js\",\"558\",\"static/chunks/app/layout-16156b2dce91d181.js\"],\"\"]\n4:I[2240,[\"500\",\"static/chunks/500-5d45efbf86b8d36e.js\",\"558\",\"static/chunks/app/layout-16156b2dce91d181.js\"],\"NavLinks\"]\n5:I[7121,[],\"\"]\n6:I[4581,[],\"\"]\n7:I[9322,[\"620\",\"static/chunks/app/setup/page-b7c341350a2c629c.js\"],\"CloudflareSetup\"]\n8:I[1777,[\"620\",\"static/chunks/app/setup/page-b7c341350a2c629c.js\"],\"ThemeToggle\"]\nb:I[7123,[],\"\"]\n:HL[\"/_next/static/css/caae8cf5ba26c4c9.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"Om_3YQnRAnBRDZZiygPl7\",\"c\":[\"\",\"setup\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"setup\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/caae8cf5ba26c4c9.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"data-theme\":\"dark\",\"suppressHydrationWarning\":true,\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"\\n(function(){\\n var t = localStorage.getItem(\\\"mcp-deploy-theme\\\");\\n if (t === \\\"light\\\" || t === \\\"system\\\") {\\n document.documentElement.setAttribute(\\\"data-theme\\\", t);\\n }\\n})();\\n\"}}],false]}],[\"$\",\"body\",null,{\"className\":\"bg-surface-page text-fg min-h-screen antialiased\",\"children\":[\"$\",\"$L2\",null,{\"children\":[[\"$\",\"nav\",null,{\"className\":\"border-b border-edge bg-surface/50 backdrop-blur-sm fixed top-0 inset-x-0 z-50\",\"children\":[\"$\",\"div\",null,{\"className\":\"max-w-5xl mx-auto px-6 py-4 flex items-center justify-between\",\"children\":[[\"$\",\"$L3\",null,{\"href\":\"/\",\"className\":\"text-lg font-semibold tracking-tight\",\"children\":[[\"$\",\"span\",null,{\"className\":\"text-accent-fg\",\"children\":\"MCP\"}],\" Deploy\"]}],[\"$\",\"$L4\",null,{}]]}]}],[\"$\",\"main\",null,{\"className\":\"max-w-5xl mx-auto px-6 py-8 pt-16\",\"children\":[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]]}]}]]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"div\",null,{\"className\":\"space-y-8\",\"children\":[[\"$\",\"div\",null,{\"children\":[[\"$\",\"h1\",null,{\"className\":\"text-2xl font-bold mb-1\",\"children\":\"Settings\"}],[\"$\",\"p\",null,{\"className\":\"text-fg-muted text-sm\",\"children\":\"Configure your Cloudflare account and app preferences.\"}]]}],[\"$\",\"$L7\",null,{}],[\"$\",\"section\",null,{\"className\":\"rounded-xl border border-edge bg-surface p-6 space-y-4\",\"children\":[\"$\",\"div\",null,{\"className\":\"flex items-center justify-between\",\"children\":[[\"$\",\"div\",null,{\"children\":[[\"$\",\"h2\",null,{\"className\":\"text-lg font-semibold\",\"children\":\"Appearance\"}],[\"$\",\"p\",null,{\"className\":\"text-fg-muted text-sm mt-1\",\"children\":\"Choose a color theme for the dashboard.\"}]]}],[\"$\",\"$L8\",null,{}]]}]}],[\"$\",\"section\",null,{\"className\":\"rounded-xl border border-edge bg-surface p-6 space-y-4\",\"children\":[[\"$\",\"h2\",null,{\"className\":\"text-lg font-semibold\",\"children\":\"About\"}],[\"$\",\"dl\",null,{\"className\":\"grid grid-cols-[auto_1fr] gap-x-6 gap-y-2 text-sm\",\"children\":[[\"$\",\"dt\",null,{\"className\":\"text-fg-muted\",\"children\":\"Name\"}],[\"$\",\"dd\",null,{\"children\":\"mcp-deploy\"}],[\"$\",\"dt\",null,{\"className\":\"text-fg-muted\",\"children\":\"Version\"}],[\"$\",\"dd\",null,{\"children\":\"0.1.2\"}],[\"$\",\"dt\",null,{\"className\":\"text-fg-muted\",\"children\":\"Description\"}],[\"$\",\"dd\",null,{\"children\":\"Deploy and manage MCP (Model Context Protocol) servers on Cloudflare Workers\"}],[\"$\",\"dt\",null,{\"className\":\"text-fg-muted\",\"children\":\"License\"}],[\"$\",\"dd\",null,{\"children\":\"GPL-3.0-only\"}],[\"$\",\"dt\",null,{\"className\":\"text-fg-muted\",\"children\":\"Source\"}],[\"$\",\"dd\",null,{\"children\":[\"$\",\"a\",null,{\"href\":\"git+https://github.com/upascal/mcp-deploy\",\"target\":\"_blank\",\"rel\":\"noopener noreferrer\",\"className\":\"text-accent-fg hover:underline\",\"children\":\"git+github.com/upascal/mcp-deploy\"}]}]]}]]}]]}],null,\"$L9\"]}],{},null,false,false]},null,false,false]},null,false,false],\"$La\",false]],\"m\":\"$undefined\",\"G\":[\"$b\",[]],\"S\":true}\n"])</script><script>self.__next_f.push([1,"c:I[484,[],\"OutletBoundary\"]\nd:\"$Sreact.suspense\"\nf:I[484,[],\"ViewportBoundary\"]\n11:I[484,[],\"MetadataBoundary\"]\n9:[\"$\",\"$Lc\",null,{\"children\":[\"$\",\"$d\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@e\"}]}]\na:[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$Lf\",null,{\"children\":\"$L10\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L11\",null,{\"children\":[\"$\",\"$d\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L12\"}]}]}],null]}]\n"])</script><script>self.__next_f.push([1,"10:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"e:null\n12:[[\"$\",\"title\",\"0\",{\"children\":\"MCP Deploy\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Deploy and manage MCP servers on Cloudflare Workers\"}]]\n"])</script></body></html>
|
|
8
|
+
</script><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="bg-surface-page text-fg min-h-screen antialiased"><div hidden=""><!--$--><!--/$--></div><nav class="border-b border-edge bg-surface/50 backdrop-blur-sm fixed top-0 inset-x-0 z-50"><div class="max-w-5xl mx-auto px-6 py-4 flex items-center justify-between"><a class="text-lg font-semibold tracking-tight" href="/"><span class="text-accent-fg">MCP</span> Deploy</a><div class="flex gap-6 text-sm"><a class="font-medium transition-colors pb-0.5 text-fg-muted hover:text-fg" href="/">Dashboard</a><a class="font-medium transition-colors pb-0.5 text-fg border-b-2 border-accent-fg" href="/setup">Settings</a></div></div></nav><main class="max-w-5xl mx-auto px-6 py-8 pt-16"><div class="space-y-8"><div><h1 class="text-2xl font-bold mb-1">Settings</h1><p class="text-fg-muted text-sm">Configure your Cloudflare account and app preferences.</p></div><div class="border border-edge rounded-xl p-6 bg-surface"><h2 class="text-lg font-semibold mb-2">Cloudflare Account</h2><div class="flex items-center justify-between"><div><div class="flex items-center gap-2 text-sm"><span class="w-2 h-2 rounded-full bg-fg-faint animate-pulse"></span><span class="text-fg-faint">Checking...</span></div><p class="text-xs text-fg-faint mt-1">Authentication via <code class="text-fg-muted">wrangler login</code> (opens browser)</p></div><button disabled="" class="px-4 py-2 bg-surface-raised hover:bg-surface-overlay border border-edge-subtle rounded-lg text-sm text-fg-secondary transition-colors disabled:opacity-50">Connect</button></div></div><section class="rounded-xl border border-edge bg-surface p-6 space-y-4"><div class="flex items-center justify-between"><div><h2 class="text-lg font-semibold">Appearance</h2><p class="text-fg-muted text-sm mt-1">Choose a color theme for the dashboard.</p></div><div class="inline-flex rounded-lg border border-edge bg-surface-raised p-1 gap-1"><button class="flex items-center gap-1.5 rounded-md px-3 py-1.5 text-sm font-medium transition-colors text-fg-muted hover:text-fg-secondary"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line></svg>Light</button><button class="flex items-center gap-1.5 rounded-md px-3 py-1.5 text-sm font-medium transition-colors bg-surface-overlay text-fg shadow-sm"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg>Dark</button><button class="flex items-center gap-1.5 rounded-md px-3 py-1.5 text-sm font-medium transition-colors text-fg-muted hover:text-fg-secondary"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="3" width="20" height="14" rx="2" ry="2"></rect><line x1="8" y1="21" x2="16" y2="21"></line><line x1="12" y1="17" x2="12" y2="21"></line></svg>System</button></div></div></section><section class="rounded-xl border border-edge bg-surface p-6 space-y-4"><h2 class="text-lg font-semibold">About</h2><dl class="grid grid-cols-[auto_1fr] gap-x-6 gap-y-2 text-sm"><dt class="text-fg-muted">Name</dt><dd>mcp-deploy</dd><dt class="text-fg-muted">Version</dt><dd>0.1.4</dd><dt class="text-fg-muted">Description</dt><dd>Deploy and manage MCP (Model Context Protocol) servers on Cloudflare Workers</dd><dt class="text-fg-muted">License</dt><dd>GPL-3.0-only</dd><dt class="text-fg-muted">Source</dt><dd><a href="git+https://github.com/upascal/mcp-deploy" target="_blank" rel="noopener noreferrer" class="text-accent-fg hover:underline">git+github.com/upascal/mcp-deploy</a></dd></dl></section></div><!--$--><!--/$--></main><script src="/_next/static/chunks/webpack-9ca43f4ce1bb8938.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[8946,[\"500\",\"static/chunks/500-5d45efbf86b8d36e.js\",\"558\",\"static/chunks/app/layout-16156b2dce91d181.js\"],\"ThemeProvider\"]\n3:I[8500,[\"500\",\"static/chunks/500-5d45efbf86b8d36e.js\",\"558\",\"static/chunks/app/layout-16156b2dce91d181.js\"],\"\"]\n4:I[2240,[\"500\",\"static/chunks/500-5d45efbf86b8d36e.js\",\"558\",\"static/chunks/app/layout-16156b2dce91d181.js\"],\"NavLinks\"]\n5:I[7121,[],\"\"]\n6:I[4581,[],\"\"]\n7:I[9322,[\"620\",\"static/chunks/app/setup/page-b7c341350a2c629c.js\"],\"CloudflareSetup\"]\n8:I[1777,[\"620\",\"static/chunks/app/setup/page-b7c341350a2c629c.js\"],\"ThemeToggle\"]\nb:I[7123,[],\"\"]\n:HL[\"/_next/static/css/caae8cf5ba26c4c9.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"umAS_nttM34Bn6AVZor2W\",\"c\":[\"\",\"setup\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"setup\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/caae8cf5ba26c4c9.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"data-theme\":\"dark\",\"suppressHydrationWarning\":true,\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"\\n(function(){\\n var t = localStorage.getItem(\\\"mcp-deploy-theme\\\");\\n if (t === \\\"light\\\" || t === \\\"system\\\") {\\n document.documentElement.setAttribute(\\\"data-theme\\\", t);\\n }\\n})();\\n\"}}],false]}],[\"$\",\"body\",null,{\"className\":\"bg-surface-page text-fg min-h-screen antialiased\",\"children\":[\"$\",\"$L2\",null,{\"children\":[[\"$\",\"nav\",null,{\"className\":\"border-b border-edge bg-surface/50 backdrop-blur-sm fixed top-0 inset-x-0 z-50\",\"children\":[\"$\",\"div\",null,{\"className\":\"max-w-5xl mx-auto px-6 py-4 flex items-center justify-between\",\"children\":[[\"$\",\"$L3\",null,{\"href\":\"/\",\"className\":\"text-lg font-semibold tracking-tight\",\"children\":[[\"$\",\"span\",null,{\"className\":\"text-accent-fg\",\"children\":\"MCP\"}],\" Deploy\"]}],[\"$\",\"$L4\",null,{}]]}]}],[\"$\",\"main\",null,{\"className\":\"max-w-5xl mx-auto px-6 py-8 pt-16\",\"children\":[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]]}]}]]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"div\",null,{\"className\":\"space-y-8\",\"children\":[[\"$\",\"div\",null,{\"children\":[[\"$\",\"h1\",null,{\"className\":\"text-2xl font-bold mb-1\",\"children\":\"Settings\"}],[\"$\",\"p\",null,{\"className\":\"text-fg-muted text-sm\",\"children\":\"Configure your Cloudflare account and app preferences.\"}]]}],[\"$\",\"$L7\",null,{}],[\"$\",\"section\",null,{\"className\":\"rounded-xl border border-edge bg-surface p-6 space-y-4\",\"children\":[\"$\",\"div\",null,{\"className\":\"flex items-center justify-between\",\"children\":[[\"$\",\"div\",null,{\"children\":[[\"$\",\"h2\",null,{\"className\":\"text-lg font-semibold\",\"children\":\"Appearance\"}],[\"$\",\"p\",null,{\"className\":\"text-fg-muted text-sm mt-1\",\"children\":\"Choose a color theme for the dashboard.\"}]]}],[\"$\",\"$L8\",null,{}]]}]}],[\"$\",\"section\",null,{\"className\":\"rounded-xl border border-edge bg-surface p-6 space-y-4\",\"children\":[[\"$\",\"h2\",null,{\"className\":\"text-lg font-semibold\",\"children\":\"About\"}],[\"$\",\"dl\",null,{\"className\":\"grid grid-cols-[auto_1fr] gap-x-6 gap-y-2 text-sm\",\"children\":[[\"$\",\"dt\",null,{\"className\":\"text-fg-muted\",\"children\":\"Name\"}],[\"$\",\"dd\",null,{\"children\":\"mcp-deploy\"}],[\"$\",\"dt\",null,{\"className\":\"text-fg-muted\",\"children\":\"Version\"}],[\"$\",\"dd\",null,{\"children\":\"0.1.4\"}],[\"$\",\"dt\",null,{\"className\":\"text-fg-muted\",\"children\":\"Description\"}],[\"$\",\"dd\",null,{\"children\":\"Deploy and manage MCP (Model Context Protocol) servers on Cloudflare Workers\"}],[\"$\",\"dt\",null,{\"className\":\"text-fg-muted\",\"children\":\"License\"}],[\"$\",\"dd\",null,{\"children\":\"GPL-3.0-only\"}],[\"$\",\"dt\",null,{\"className\":\"text-fg-muted\",\"children\":\"Source\"}],[\"$\",\"dd\",null,{\"children\":[\"$\",\"a\",null,{\"href\":\"git+https://github.com/upascal/mcp-deploy\",\"target\":\"_blank\",\"rel\":\"noopener noreferrer\",\"className\":\"text-accent-fg hover:underline\",\"children\":\"git+github.com/upascal/mcp-deploy\"}]}]]}]]}]]}],null,\"$L9\"]}],{},null,false,false]},null,false,false]},null,false,false],\"$La\",false]],\"m\":\"$undefined\",\"G\":[\"$b\",[]],\"S\":true}\n"])</script><script>self.__next_f.push([1,"c:I[484,[],\"OutletBoundary\"]\nd:\"$Sreact.suspense\"\nf:I[484,[],\"ViewportBoundary\"]\n11:I[484,[],\"MetadataBoundary\"]\n9:[\"$\",\"$Lc\",null,{\"children\":[\"$\",\"$d\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@e\"}]}]\na:[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$Lf\",null,{\"children\":\"$L10\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L11\",null,{\"children\":[\"$\",\"$d\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L12\"}]}]}],null]}]\n"])</script><script>self.__next_f.push([1,"10:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"e:null\n12:[[\"$\",\"title\",\"0\",{\"children\":\"MCP Deploy\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Deploy and manage MCP servers on Cloudflare Workers\"}]]\n"])</script></body></html>
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
8:I[1777,["620","static/chunks/app/setup/page-b7c341350a2c629c.js"],"ThemeToggle"]
|
|
9
9
|
b:I[7123,[],""]
|
|
10
10
|
:HL["/_next/static/css/caae8cf5ba26c4c9.css","style"]
|
|
11
|
-
0:{"P":null,"b":"
|
|
11
|
+
0:{"P":null,"b":"umAS_nttM34Bn6AVZor2W","c":["","setup"],"q":"","i":false,"f":[[["",{"children":["setup",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/caae8cf5ba26c4c9.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","data-theme":"dark","suppressHydrationWarning":true,"children":[["$","head",null,{"children":[["$","script",null,{"dangerouslySetInnerHTML":{"__html":"\n(function(){\n var t = localStorage.getItem(\"mcp-deploy-theme\");\n if (t === \"light\" || t === \"system\") {\n document.documentElement.setAttribute(\"data-theme\", t);\n }\n})();\n"}}],false]}],["$","body",null,{"className":"bg-surface-page text-fg min-h-screen antialiased","children":["$","$L2",null,{"children":[["$","nav",null,{"className":"border-b border-edge bg-surface/50 backdrop-blur-sm fixed top-0 inset-x-0 z-50","children":["$","div",null,{"className":"max-w-5xl mx-auto px-6 py-4 flex items-center justify-between","children":[["$","$L3",null,{"href":"/","className":"text-lg font-semibold tracking-tight","children":[["$","span",null,{"className":"text-accent-fg","children":"MCP"}]," Deploy"]}],["$","$L4",null,{}]]}]}],["$","main",null,{"className":"max-w-5xl mx-auto px-6 py-8 pt-16","children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","div",null,{"className":"space-y-8","children":[["$","div",null,{"children":[["$","h1",null,{"className":"text-2xl font-bold mb-1","children":"Settings"}],["$","p",null,{"className":"text-fg-muted text-sm","children":"Configure your Cloudflare account and app preferences."}]]}],["$","$L7",null,{}],["$","section",null,{"className":"rounded-xl border border-edge bg-surface p-6 space-y-4","children":["$","div",null,{"className":"flex items-center justify-between","children":[["$","div",null,{"children":[["$","h2",null,{"className":"text-lg font-semibold","children":"Appearance"}],["$","p",null,{"className":"text-fg-muted text-sm mt-1","children":"Choose a color theme for the dashboard."}]]}],["$","$L8",null,{}]]}]}],["$","section",null,{"className":"rounded-xl border border-edge bg-surface p-6 space-y-4","children":[["$","h2",null,{"className":"text-lg font-semibold","children":"About"}],["$","dl",null,{"className":"grid grid-cols-[auto_1fr] gap-x-6 gap-y-2 text-sm","children":[["$","dt",null,{"className":"text-fg-muted","children":"Name"}],["$","dd",null,{"children":"mcp-deploy"}],["$","dt",null,{"className":"text-fg-muted","children":"Version"}],["$","dd",null,{"children":"0.1.4"}],["$","dt",null,{"className":"text-fg-muted","children":"Description"}],["$","dd",null,{"children":"Deploy and manage MCP (Model Context Protocol) servers on Cloudflare Workers"}],["$","dt",null,{"className":"text-fg-muted","children":"License"}],["$","dd",null,{"children":"GPL-3.0-only"}],["$","dt",null,{"className":"text-fg-muted","children":"Source"}],["$","dd",null,{"children":["$","a",null,{"href":"git+https://github.com/upascal/mcp-deploy","target":"_blank","rel":"noopener noreferrer","className":"text-accent-fg hover:underline","children":"git+github.com/upascal/mcp-deploy"}]}]]}]]}]]}],null,"$L9"]}],{},null,false,false]},null,false,false]},null,false,false],"$La",false]],"m":"$undefined","G":["$b",[]],"S":true}
|
|
12
12
|
c:I[484,[],"OutletBoundary"]
|
|
13
13
|
d:"$Sreact.suspense"
|
|
14
14
|
f:I[484,[],"ViewportBoundary"]
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
8:I[1777,["620","static/chunks/app/setup/page-b7c341350a2c629c.js"],"ThemeToggle"]
|
|
9
9
|
b:I[7123,[],""]
|
|
10
10
|
:HL["/_next/static/css/caae8cf5ba26c4c9.css","style"]
|
|
11
|
-
0:{"P":null,"b":"
|
|
11
|
+
0:{"P":null,"b":"umAS_nttM34Bn6AVZor2W","c":["","setup"],"q":"","i":false,"f":[[["",{"children":["setup",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/caae8cf5ba26c4c9.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","data-theme":"dark","suppressHydrationWarning":true,"children":[["$","head",null,{"children":[["$","script",null,{"dangerouslySetInnerHTML":{"__html":"\n(function(){\n var t = localStorage.getItem(\"mcp-deploy-theme\");\n if (t === \"light\" || t === \"system\") {\n document.documentElement.setAttribute(\"data-theme\", t);\n }\n})();\n"}}],false]}],["$","body",null,{"className":"bg-surface-page text-fg min-h-screen antialiased","children":["$","$L2",null,{"children":[["$","nav",null,{"className":"border-b border-edge bg-surface/50 backdrop-blur-sm fixed top-0 inset-x-0 z-50","children":["$","div",null,{"className":"max-w-5xl mx-auto px-6 py-4 flex items-center justify-between","children":[["$","$L3",null,{"href":"/","className":"text-lg font-semibold tracking-tight","children":[["$","span",null,{"className":"text-accent-fg","children":"MCP"}]," Deploy"]}],["$","$L4",null,{}]]}]}],["$","main",null,{"className":"max-w-5xl mx-auto px-6 py-8 pt-16","children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","div",null,{"className":"space-y-8","children":[["$","div",null,{"children":[["$","h1",null,{"className":"text-2xl font-bold mb-1","children":"Settings"}],["$","p",null,{"className":"text-fg-muted text-sm","children":"Configure your Cloudflare account and app preferences."}]]}],["$","$L7",null,{}],["$","section",null,{"className":"rounded-xl border border-edge bg-surface p-6 space-y-4","children":["$","div",null,{"className":"flex items-center justify-between","children":[["$","div",null,{"children":[["$","h2",null,{"className":"text-lg font-semibold","children":"Appearance"}],["$","p",null,{"className":"text-fg-muted text-sm mt-1","children":"Choose a color theme for the dashboard."}]]}],["$","$L8",null,{}]]}]}],["$","section",null,{"className":"rounded-xl border border-edge bg-surface p-6 space-y-4","children":[["$","h2",null,{"className":"text-lg font-semibold","children":"About"}],["$","dl",null,{"className":"grid grid-cols-[auto_1fr] gap-x-6 gap-y-2 text-sm","children":[["$","dt",null,{"className":"text-fg-muted","children":"Name"}],["$","dd",null,{"children":"mcp-deploy"}],["$","dt",null,{"className":"text-fg-muted","children":"Version"}],["$","dd",null,{"children":"0.1.4"}],["$","dt",null,{"className":"text-fg-muted","children":"Description"}],["$","dd",null,{"children":"Deploy and manage MCP (Model Context Protocol) servers on Cloudflare Workers"}],["$","dt",null,{"className":"text-fg-muted","children":"License"}],["$","dd",null,{"children":"GPL-3.0-only"}],["$","dt",null,{"className":"text-fg-muted","children":"Source"}],["$","dd",null,{"children":["$","a",null,{"href":"git+https://github.com/upascal/mcp-deploy","target":"_blank","rel":"noopener noreferrer","className":"text-accent-fg hover:underline","children":"git+github.com/upascal/mcp-deploy"}]}]]}]]}]]}],null,"$L9"]}],{},null,false,false]},null,false,false]},null,false,false],"$La",false]],"m":"$undefined","G":["$b",[]],"S":true}
|
|
12
12
|
c:I[484,[],"OutletBoundary"]
|
|
13
13
|
d:"$Sreact.suspense"
|
|
14
14
|
f:I[484,[],"ViewportBoundary"]
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
2:I[484,[],"ViewportBoundary"]
|
|
3
3
|
3:I[484,[],"MetadataBoundary"]
|
|
4
4
|
4:"$Sreact.suspense"
|
|
5
|
-
0:{"buildId":"
|
|
5
|
+
0:{"buildId":"umAS_nttM34Bn6AVZor2W","rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"MCP Deploy"}],["$","meta","1",{"name":"description","content":"Deploy and manage MCP servers on Cloudflare Workers"}]]}]}]}],null]}],"loading":null,"isPartial":false}
|
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
5:I[7121,[],""]
|
|
6
6
|
6:I[4581,[],""]
|
|
7
7
|
:HL["/_next/static/css/caae8cf5ba26c4c9.css","style"]
|
|
8
|
-
0:{"buildId":"
|
|
8
|
+
0:{"buildId":"umAS_nttM34Bn6AVZor2W","rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/caae8cf5ba26c4c9.css","precedence":"next"}]],["$","html",null,{"lang":"en","data-theme":"dark","suppressHydrationWarning":true,"children":[["$","head",null,{"children":[["$","script",null,{"dangerouslySetInnerHTML":{"__html":"\n(function(){\n var t = localStorage.getItem(\"mcp-deploy-theme\");\n if (t === \"light\" || t === \"system\") {\n document.documentElement.setAttribute(\"data-theme\", t);\n }\n})();\n"}}],false]}],["$","body",null,{"className":"bg-surface-page text-fg min-h-screen antialiased","children":["$","$L2",null,{"children":[["$","nav",null,{"className":"border-b border-edge bg-surface/50 backdrop-blur-sm fixed top-0 inset-x-0 z-50","children":["$","div",null,{"className":"max-w-5xl mx-auto px-6 py-4 flex items-center justify-between","children":[["$","$L3",null,{"href":"/","className":"text-lg font-semibold tracking-tight","children":[["$","span",null,{"className":"text-accent-fg","children":"MCP"}]," Deploy"]}],["$","$L4",null,{}]]}]}],["$","main",null,{"className":"max-w-5xl mx-auto px-6 py-8 pt-16","children":["$","$L5",null,{"parallelRouterKey":"children","template":["$","$L6",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]]}]}]]}]]}],"loading":null,"isPartial":false}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
:HL["/_next/static/css/caae8cf5ba26c4c9.css","style"]
|
|
2
|
-
0:{"buildId":"
|
|
2
|
+
0:{"buildId":"umAS_nttM34Bn6AVZor2W","tree":{"name":"","paramType":null,"paramKey":"","hasRuntimePrefetch":false,"slots":{"children":{"name":"setup","paramType":null,"paramKey":"setup","hasRuntimePrefetch":false,"slots":{"children":{"name":"__PAGE__","paramType":null,"paramKey":"__PAGE__","hasRuntimePrefetch":false,"slots":null,"isRootLayout":false}},"isRootLayout":false}},"isRootLayout":true},"staleTime":300}
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
3:I[1777,["620","static/chunks/app/setup/page-b7c341350a2c629c.js"],"ThemeToggle"]
|
|
4
4
|
4:I[484,[],"OutletBoundary"]
|
|
5
5
|
5:"$Sreact.suspense"
|
|
6
|
-
0:{"buildId":"
|
|
6
|
+
0:{"buildId":"umAS_nttM34Bn6AVZor2W","rsc":["$","$1","c",{"children":[["$","div",null,{"className":"space-y-8","children":[["$","div",null,{"children":[["$","h1",null,{"className":"text-2xl font-bold mb-1","children":"Settings"}],["$","p",null,{"className":"text-fg-muted text-sm","children":"Configure your Cloudflare account and app preferences."}]]}],["$","$L2",null,{}],["$","section",null,{"className":"rounded-xl border border-edge bg-surface p-6 space-y-4","children":["$","div",null,{"className":"flex items-center justify-between","children":[["$","div",null,{"children":[["$","h2",null,{"className":"text-lg font-semibold","children":"Appearance"}],["$","p",null,{"className":"text-fg-muted text-sm mt-1","children":"Choose a color theme for the dashboard."}]]}],["$","$L3",null,{}]]}]}],["$","section",null,{"className":"rounded-xl border border-edge bg-surface p-6 space-y-4","children":[["$","h2",null,{"className":"text-lg font-semibold","children":"About"}],["$","dl",null,{"className":"grid grid-cols-[auto_1fr] gap-x-6 gap-y-2 text-sm","children":[["$","dt",null,{"className":"text-fg-muted","children":"Name"}],["$","dd",null,{"children":"mcp-deploy"}],["$","dt",null,{"className":"text-fg-muted","children":"Version"}],["$","dd",null,{"children":"0.1.4"}],["$","dt",null,{"className":"text-fg-muted","children":"Description"}],["$","dd",null,{"children":"Deploy and manage MCP (Model Context Protocol) servers on Cloudflare Workers"}],["$","dt",null,{"className":"text-fg-muted","children":"License"}],["$","dd",null,{"children":"GPL-3.0-only"}],["$","dt",null,{"className":"text-fg-muted","children":"Source"}],["$","dd",null,{"children":["$","a",null,{"href":"git+https://github.com/upascal/mcp-deploy","target":"_blank","rel":"noopener noreferrer","className":"text-accent-fg hover:underline","children":"git+github.com/upascal/mcp-deploy"}]}]]}]]}]]}],null,["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],"loading":null,"isPartial":false}
|
|
7
7
|
6:null
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
2
|
2:I[7121,[],""]
|
|
3
3
|
3:I[4581,[],""]
|
|
4
|
-
0:{"buildId":"
|
|
4
|
+
0:{"buildId":"umAS_nttM34Bn6AVZor2W","rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"loading":null,"isPartial":false}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
|
-
"/_not-found/page": "app/_not-found/page.js",
|
|
3
|
-
"/_global-error/page": "app/_global-error/page.js",
|
|
4
2
|
"/.well-known/oauth-authorization-server/route": "app/.well-known/oauth-authorization-server/route.js",
|
|
5
3
|
"/api/cloudflare/setup/route": "app/api/cloudflare/setup/route.js",
|
|
6
4
|
"/api/cloudflare/status/route": "app/api/cloudflare/status/route.js",
|
|
7
|
-
"/api/mcps/[slug]/deploy/route": "app/api/mcps/[slug]/deploy/route.js",
|
|
8
5
|
"/api/mcps/[slug]/remove/route": "app/api/mcps/[slug]/remove/route.js",
|
|
9
6
|
"/api/mcps/[slug]/route": "app/api/mcps/[slug]/route.js",
|
|
10
7
|
"/api/mcps/[slug]/secrets/route": "app/api/mcps/[slug]/secrets/route.js",
|
|
11
8
|
"/api/mcps/[slug]/status/route": "app/api/mcps/[slug]/status/route.js",
|
|
9
|
+
"/api/mcps/[slug]/deploy/route": "app/api/mcps/[slug]/deploy/route.js",
|
|
12
10
|
"/api/mcps/[slug]/undeploy/route": "app/api/mcps/[slug]/undeploy/route.js",
|
|
11
|
+
"/api/mcps/check-updates/route": "app/api/mcps/check-updates/route.js",
|
|
13
12
|
"/api/mcps/add/route": "app/api/mcps/add/route.js",
|
|
14
|
-
"/api/mcps/validate/route": "app/api/mcps/validate/route.js",
|
|
15
|
-
"/api/oauth/register/route": "app/api/oauth/register/route.js",
|
|
16
13
|
"/api/oauth/approve/route": "app/api/oauth/approve/route.js",
|
|
17
|
-
"/api/
|
|
14
|
+
"/api/oauth/register/route": "app/api/oauth/register/route.js",
|
|
15
|
+
"/api/mcps/route": "app/api/mcps/route.js",
|
|
18
16
|
"/api/oauth/token/route": "app/api/oauth/token/route.js",
|
|
17
|
+
"/api/mcps/validate/route": "app/api/mcps/validate/route.js",
|
|
19
18
|
"/api/test-connection/route": "app/api/test-connection/route.js",
|
|
20
|
-
"/
|
|
19
|
+
"/_not-found/page": "app/_not-found/page.js",
|
|
20
|
+
"/_global-error/page": "app/_global-error/page.js",
|
|
21
21
|
"/mcps/[slug]/page": "app/mcps/[slug]/page.js",
|
|
22
22
|
"/page": "app/page.js",
|
|
23
23
|
"/oauth/authorize/page": "app/oauth/authorize/page.js",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";exports.id=142,exports.ids=[142],exports.modules={
|
|
1
|
+
"use strict";exports.id=142,exports.ids=[142],exports.modules={1025:(a,b,c)=>{c.d(b,{Ux:()=>k,Oz:()=>l,Rj:()=>n,f4:()=>m,H7:()=>o});var d=c(3773),e=c(2629),f=c(8739);async function g(){let{loggedIn:a}=(0,f.iX)();return a}var h=c(4528),i=c(7416),j=c(5511);async function k(a,b="latest"){let c=(0,d.f6)(a);if(!c)throw Error("Invalid repository format. Use owner/repo or a GitHub URL.");let e=(0,h.aH)();if(e.some(a=>a.githubRepo===c))throw Error(`Repository ${c} is already added`);let{metadata:f,version:g,bundleUrl:i}=await (0,d.Og)(c,b),j=f.worker.name;if(e.some(a=>a.slug===j))throw Error(`"${f.name}" is already added`);return(0,h.Ux)({slug:j,githubRepo:c,releaseTag:b,addedAt:new Date().toISOString()}),(0,h.mS)(j,{metadata:f,bundleUrl:i,version:g}),{slug:j,name:f.name,version:g,githubRepo:c}}async function l(a,b){var c,d,k;let l,{authMode:m,secrets:n,config:o}=b,p=await (0,e.mo)(a);if(!p)throw Error("MCP not found");if(!g())throw Error("Not logged in to Cloudflare. Run `npx wrangler login` first, or use the Settings page.");let q=await (0,e.V9)(p),r={...(0,h.o_)(a)??{},...n},s=(0,h.i8)(a),t=!0===b.regenerateOAuthPassword,u=null;if("oauth"===m){if(process.env.OAUTH_PASSWORD?.trim())u=process.env.OAUTH_PASSWORD.trim();else if(!t&&s?.oauthPassword)try{u=(0,i.Y)(s.oauthPassword)}catch{u=null}u||(u=(0,j.randomBytes)(32).toString("hex"))}let v=!0===b.regenerateToken,w=null;if("open"!==m){if(!v&&s?.bearerToken)try{w=(0,i.Y)(s.bearerToken)}catch{w=null}w||(w=(0,j.randomBytes)(32).toString("hex"))}"oauth"===m?(c=q.durableObjectClassName,l=`
|
|
2
2
|
// ─── OAuth 2.1 Authorization Server + MCP Worker Wrapper ───
|
|
3
3
|
// Auto-generated by mcp-deploy. Do not edit.
|
|
4
4
|
|