@@ -3,17 +3,17 @@ import { downloadTemplate } from "giget";
33
44export const TRANSPORT_LAYERS = {
55 STREAMING : {
6- label : "The HTTP Streaming Transport from muppet " ,
6+ label : "The HTTP Streaming Transport from @hono/mcp " ,
77 value : "streaming" ,
88 hint : "recommended" ,
99 } ,
1010 STDIO : {
1111 label : "The Stdio Transport from @modelcontextprotocol/sdk" ,
1212 value : "stdio" ,
1313 } ,
14- CLASSIC_SSE : {
14+ SSE : {
1515 label : "The SSE Transport from @modelcontextprotocol/sdk" ,
16- value : "classic- sse" ,
16+ value : "sse" ,
1717 } ,
1818} ;
1919
@@ -26,10 +26,10 @@ export const RUNTIMES_BY_TRANSPORT_LAYER: Record<
2626 ( string | Option < string > ) [ ]
2727> = {
2828 [ TRANSPORT_LAYERS . STDIO . value ] : [ "bun" , "nodejs" , "deno" ] ,
29- [ TRANSPORT_LAYERS . CLASSIC_SSE . value ] : [
29+ [ TRANSPORT_LAYERS . SSE . value ] : [
3030 { label : "express.js x hono x nodejs" , value : "nodejs" } ,
3131 ] ,
32- [ TRANSPORT_LAYERS . STREAMING . value ] : [ "bun" ] ,
32+ [ TRANSPORT_LAYERS . STREAMING . value ] : [ "bun" , "cloudflare-workers" ] ,
3333} ;
3434
3535export const ALL_UNIQUE_TEMPLATES = Array . from (
@@ -52,9 +52,10 @@ const TEMPLATE_NAME_MAP: Record<string, string | undefined> = {
5252 "deno:stdio" : "deno-stdio" ,
5353 "nodejs:stdio" : "with-stdio" ,
5454 // Classic SSE Templates
55- "nodejs:classic- sse" : "with-sse-express" ,
55+ "nodejs:sse" : "with-sse-express" ,
5656 // Hono Streaming Templates
5757 "bun:streaming" : "with-streaming" ,
58+ "cloudflare-workers:streaming" : "with-streaming" ,
5859} ;
5960
6061type DownloadOptions = {
0 commit comments