1:"$Sreact.fragment" 2:I[31,[],""] 3:I[3331,[],""] 5:I[6045,[],"OutletBoundary"] 7:I[923,[],"AsyncMetadataOutlet"] 9:I[6045,[],"ViewportBoundary"] b:I[6045,[],"MetadataBoundary"] c:"$Sreact.suspense" e:I[4293,[],""] :HL["/_next/static/css/2361be48fe3f9cd5.css","style"] 0:{"P":null,"b":"m5tNwFFaXp3ebnJp_wTaz","p":"","c":["","blog","0002"],"i":false,"f":[[["",{"children":["blog",{"children":[["slug","0002","d"],{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true]}],["",["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",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":["blog",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/2361be48fe3f9cd5.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"children":["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],{"children":[["slug","0002","d"],["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":["$L4",null,["$","$L5",null,{"children":["$L6",["$","$L7",null,{"promise":"$@8"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L9",null,{"children":"$La"}],null],["$","$Lb",null,{"children":["$","div",null,{"hidden":true,"children":["$","$c",null,{"fallback":null,"children":"$Ld"}]}]}]]}],false]],"m":"$undefined","G":["$e",[]],"s":false,"S":true} f:I[4742,["742","static/chunks/742-371c6136941b441c.js","953","static/chunks/app/blog/%5Bslug%5D/page-597c8504c0e17404.js"],""] 4:["$","div",null,{"className":"text-black bg-zinc-200","children":[["$","div",null,{"className":"pt-2 pb-2 pl-3 pr-3 ","children":["$","$Lf",null,{"href":"/","className":"hover:text-gray-500","children":["$","svg",null,{"ref":"$undefined","xmlns":"http://www.w3.org/2000/svg","width":24,"height":24,"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":2,"strokeLinecap":"round","strokeLinejoin":"round","className":"lucide lucide-house","aria-hidden":"true","children":[["$","path","5wwlr5",{"d":"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8"}],["$","path","1d0kgt",{"d":"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"}],"$undefined"]}]}]}],["$","div",null,{"className":"p-3","children":[["$","div",null,{"className":"text-center text-3xl","children":"🤔"}],["$","div",null,{"className":"text-4xl font-bold text-center pt-2 pb-2","children":"MCPサーバーのここがわからないってところ!"}],["$","div",null,{"className":"text-right pb-3","children":[["$","div",null,{"children":["公開日 ","2025/07/29"]}],["$","div",null,{"children":["更新日 ","2025/07/29"]}]]}],["$","div",null,{"data-slot":"card","className":"flex flex-col gap-6 rounded-xl border py-6 shadow-sm text-black bg-zinc-100 border-none","children":[["$","div",null,{"data-slot":"card-header","className":"@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6","children":["$","div",null,{"className":"flex w-full flex-wrap gap-2","children":[["$","span","0",{"data-slot":"badge","className":"inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden border-transparent [a&]:hover:bg-secondary/90 bg-teal-600 text-white dark:bg-blue-600","children":[["$","svg",null,{"ref":"$undefined","xmlns":"http://www.w3.org/2000/svg","width":24,"height":24,"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":2,"strokeLinecap":"round","strokeLinejoin":"round","className":"lucide lucide-badge-check","aria-hidden":"true","children":[["$","path","3c2336",{"d":"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z"}],["$","path","dzmm74",{"d":"m9 12 2 2 4-4"}],"$undefined"]}],"AI"]}]]}]}],["$","div",null,{"data-slot":"card-content","className":"px-6","children":["$","div",null,{"className":"pl-2 pr-2","children":[["$","div",null,{"className":"p-1","children":["近年熱を帯びている",["$","strong",null,{"className":"bg-stone-300 text-stone-800 text-sm px-2 py-0.5 rounded-full","children":"MCPサーバー"}],"であるが、\r\nいざ実装を試すと色々と分からない事が出てきた。"]}],"\n",["$","div",null,{"className":"p-1","children":["※この内容は",["$","strong",null,{"className":"bg-stone-300 text-stone-800 text-sm px-2 py-0.5 rounded-full","children":"ChatGPT 4o"}],"で得た回答を基に書いております。"]}],"\n",["$","h2",null,{"className":"text-xl font-bold pt-3 pb-3","children":"MCPサーバーの勘違いしやすいところ"}],"\n",["$","h3",null,{"className":"text-lg font-bold pt-2 pb-2","children":[["$","strong",null,{"className":"bg-stone-300 text-stone-800 text-sm px-2 py-0.5 rounded-full","children":"LLMベースのMCPクライアント"}],"と",["$","strong",null,{"className":"bg-stone-300 text-stone-800 text-sm px-2 py-0.5 rounded-full","children":"既存の外部サービス, API, システム"}],"の",["$","strong",null,{"className":"bg-stone-300 text-stone-800 text-sm px-2 py-0.5 rounded-full","children":"橋渡し"}],"の役割"]}],"\n",["$","div",null,{"className":"p-1","children":"MCPサーバーは橋渡しのような役割で、直接データの生成・実行などをここでするわけではない。"}],"\n",["$","div",null,{"className":"p-1","children":"個人的には中間サーバーみたいだなーって印象だが、これは正しい認識であろうか?"}],"\n",["$","h3",null,{"className":"text-lg font-bold pt-2 pb-2","children":["$","strong",null,{"className":"bg-stone-300 text-stone-800 text-sm px-2 py-0.5 rounded-full","children":"必要な時だけ起動"}]}],"\n","$L10","\n","$L11","\n","$L12","\n","$L13","\n","$L14","\n","$L15"]}]}],"$L16"]}]]}],"$L17"]}] 10:["$","div",null,{"className":"p-1","children":"APIサーバーなどとは異なり、MCPクライアントがMCPサーバーに接続する際に起動させ、\r\n処理が終わったら終了するのが原則であるらしい。"}] 11:["$","div",null,{"className":"p-1","children":"また、常時起動のMCPサーバーというのは原則としては想定されていないというらしい。\r\n都度起動である理由としては、"}] 12:["$","ul",null,{"className":"pt-2 pb-2","children":["\n",["$","li",null,{"className":"list-disc list-inside pl-2","children":"ライフサイクルのシンプルさ"}],"\n",["$","li",null,{"className":"list-disc list-inside pl-2","children":"不要な情報が残らずセキュリティ"}],"\n",["$","li",null,{"className":"list-disc list-inside pl-2","children":"必要な分の起動と使い終わったときに削除できるスケーラビリティ"}],"\n",["$","li",null,{"className":"list-disc list-inside pl-2","children":"待機時間がない分のコスト効率\r\nという事である。"}],"\n"]}] 13:["$","div",null,{"className":"p-1","children":["ただ、Pythonの",["$","strong",null,{"className":"bg-stone-300 text-stone-800 text-sm px-2 py-0.5 rounded-full","children":"fastapi_mcp"}],"だと、従来のAPIサーバーをMCPサーバーとしても\r\n流用する事ができるのだが、これのメリットとしては、"]}] 14:["$","ul",null,{"className":"pt-2 pb-2","children":["\n",["$","li",null,{"className":"list-disc list-inside pl-2","children":"思い初期化処理を毎回起動する必要がない"}],"\n",["$","li",null,{"className":"list-disc list-inside pl-2","children":"Webhookとの併用ができる"}],"\n",["$","li",null,{"className":"list-disc list-inside pl-2","children":"Docker起動が使えない環境で活用できる"}],"\n"]}] 15:["$","div",null,{"className":"p-1","children":"などが挙げられている。"}] 16:["$","div",null,{"data-slot":"card-footer","className":"flex items-center px-6 [.border-t]:pt-6"}] 17:["$","footer",null,{"className":"bg-neutral-800 text-white mt-16 py-6","children":["$","div",null,{"className":"container mx-auto px-4","children":["$","div",null,{"className":"flex flex-col md:flex-row justify-between items-center","children":[["$","div",null,{"className":"flex space-x-4 mb-4 md:mb-0"}],["$","p",null,{"className":"text-sm text-gray-400","children":"© 2025 Shinjo Syntax. All rights reserved."}]]}]}]}] a:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] 6:null 18:I[8723,[],"IconMark"] 8:{"metadata":[["$","title","0",{"children":"MCPサーバーのここがわからないってところ!"}],["$","meta","1",{"name":"description","content":"Generated by Next.js"}],["$","link","2",{"rel":"icon","href":"/icon.png?6322cf53d61108b8","type":"image/png","sizes":"256x256"}],["$","$L18","3",{}]],"error":null,"digest":"$undefined"} d:"$8:metadata"