@llmindset/hf-mcp-server 0.2.18 → 0.2.19
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/dist/server/mcp-server.d.ts.map +1 -1
- package/dist/server/mcp-server.js +39 -7
- package/dist/server/mcp-server.js.map +1 -1
- package/dist/server/utils/tool-selection-strategy.d.ts.map +1 -1
- package/dist/server/utils/tool-selection-strategy.js +9 -1
- package/dist/server/utils/tool-selection-strategy.js.map +1 -1
- package/dist/web/assets/{button-CF3c4sM2.css → button-7on4uJ5J.css} +1 -1
- package/dist/web/assets/main-CN6ZjpZA.js +105 -0
- package/dist/web/assets/mcpWelcome-CZrUtCJN.js +72 -0
- package/dist/web/index.html +3 -3
- package/dist/web/mcp-welcome.html +22 -20
- package/package.json +2 -2
- package/dist/web/assets/main-Dy7mEb3m.js +0 -105
- package/dist/web/assets/mcpWelcome-UmrUlXbs.js +0 -70
- /package/dist/web/assets/{button-D9KbQhFy.js → button-BfAUzAE-.js} +0 -0
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import{e as n,a as w,j as e,B as x,p as y,C as u,h as f,i as g,l as j,q as b,k as C,o as k,T as M,s as _}from"./button-BfAUzAE-.js";/**
|
|
2
|
+
* @license lucide-react v0.507.0 - ISC
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the ISC license.
|
|
5
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/const S=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],L=n("chevron-right",S);/**
|
|
7
|
+
* @license lucide-react v0.507.0 - ISC
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the ISC license.
|
|
10
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/const A=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],B=n("circle-check-big",A);/**
|
|
12
|
+
* @license lucide-react v0.507.0 - ISC
|
|
13
|
+
*
|
|
14
|
+
* This source code is licensed under the ISC license.
|
|
15
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
16
|
+
*/const F=[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]],N=n("download",F);/**
|
|
17
|
+
* @license lucide-react v0.507.0 - ISC
|
|
18
|
+
*
|
|
19
|
+
* This source code is licensed under the ISC license.
|
|
20
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
21
|
+
*/const O=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],r=n("external-link",O);/**
|
|
22
|
+
* @license lucide-react v0.507.0 - ISC
|
|
23
|
+
*
|
|
24
|
+
* This source code is licensed under the ISC license.
|
|
25
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
26
|
+
*/const H=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],I=n("info",H);/**
|
|
27
|
+
* @license lucide-react v0.507.0 - ISC
|
|
28
|
+
*
|
|
29
|
+
* This source code is licensed under the ISC license.
|
|
30
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
31
|
+
*/const E=[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]],U=n("rocket",E);/**
|
|
32
|
+
* @license lucide-react v0.507.0 - ISC
|
|
33
|
+
*
|
|
34
|
+
* This source code is licensed under the ISC license.
|
|
35
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
36
|
+
*/const R=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],T=n("search",R);function v({content:p,label:i="Copy",copiedLabel:c="Copied",variant:d="ghost",size:m="sm",className:h="",iconOnly:o=!1}){const[s,t]=w.useState(!1),a=async()=>{try{await navigator.clipboard.writeText(p),t(!0),setTimeout(()=>t(!1),1800)}catch(l){console.error("Failed to copy content:",l)}};return e.jsxs(x,{variant:d,size:m,onClick:a,"aria-label":s?c:i,className:`transition-all duration-200 hover:scale-110 cursor-pointer ${h}`,children:[s?e.jsx(B,{className:o?"h-3 w-3":"h-3 w-3 mr-1"}):e.jsx(y,{className:o?"h-3 w-3":"h-3 w-3 mr-1"}),!o&&(s?c:i)]})}const D="/assets/hf-logo-with-title-D3UbJgv4.svg",G=[{id:"claude",name:"Claude Desktop and Claude.ai",icon:e.jsxs("svg",{className:"h-5 w-5",width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("g",{"clip-path":"url(#a)",children:e.jsx("path",{d:"m2.96 7.65 1.97-1.1.03-.1-.03-.05h-.1l-.33-.02-1.12-.03-.97-.04-.95-.06-.24-.05L1 5.91l.02-.15.2-.13.29.02.63.05.95.06.69.04 1.02.11h.16L5 5.84l-.06-.04-.04-.04-.99-.66-1.06-.7-.56-.41-.3-.2-.15-.2-.07-.42.28-.3.36.03.1.02.37.29.8.61 1.03.77.16.12.06-.04v-.03l-.06-.11-.57-1.02-.6-1.04-.27-.43-.07-.26c-.03-.1-.04-.2-.04-.3l.3-.42L3.8 1l.42.06.17.15.26.59.42.93.64 1.26.2.37.1.35.03.1h.07v-.06l.05-.7.1-.88.1-1.12.03-.32.16-.38.3-.2.25.11.2.29-.03.18-.12.77-.23 1.21-.15.81h.09l.1-.1.41-.54.69-.86.3-.34.36-.38.22-.18h.43l.32.47-.14.49-.44.56-.37.47-.53.71-.33.57.03.04h.08l1.2-.26.63-.11.77-.13.35.16.04.16-.14.34-.82.2-.96.2-1.44.33-.01.01.02.03.64.06.28.02h.68l1.25.09.33.22.2.26-.03.2-.5.26-.7-.16-1.59-.38-.54-.13h-.08v.04l.46.45.83.75 1.05.97.05.24-.13.2-.15-.03-.92-.69-.35-.31-.8-.68h-.06v.08l.19.27.98 1.46.05.45-.07.15-.26.09-.28-.05-.57-.8-.59-.9-.47-.82-.06.04-.28 3.02-.13.15-.3.12-.26-.2-.14-.3.14-.62.16-.8.13-.64.12-.79.07-.26v-.02H5.9l-.6.83-.9 1.22-.73.77-.17.07-.3-.15.03-.28.17-.24 1-1.27.6-.78.38-.46v-.06h-.03L2.72 8.73l-.47.06-.2-.19.02-.3.1-.1.8-.55Z",fill:"#D97757"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"a",children:e.jsx("path",{fill:"#fff",transform:"translate(1 1)",d:"M0 0h10v10H0z"})})})]}),instructions:[{type:"text",content:"1. Click below to open Claude Connectors"},{type:"text",content:e.jsxs("a",{href:"https://claude.ai/settings/connectors",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center space-x-2 border border-border rounded-lg p-2 hover:bg-accent/10 transition-colors duration-200",children:[e.jsxs("svg",{className:"h-8 w-8 hover:scale-105 transition-transform duration-200",width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("g",{clipPath:"url(#a)",children:e.jsx("path",{d:"m2.96 7.65 1.97-1.1.03-.1-.03-.05h-.1l-.33-.02-1.12-.03-.97-.04-.95-.06-.24-.05L1 5.91l.02-.15.2-.13.29.02.63.05.95.06.69.04 1.02.11h.16L5 5.84l-.06-.04-.04-.04-.99-.66-1.06-.7-.56-.41-.3-.2-.15-.2-.07-.42.28-.3.36.03.1.02.37.29.8.61 1.03.77.16.12.06-.04v-.03l-.06-.11-.57-1.02-.6-1.04-.27-.43-.07-.26c-.03-.1-.04-.2-.04-.3l.3-.42L3.8 1l.42.06.17.15.26.59.42.93.64 1.26.2.37.1.35.03.1h.07v-.06l.05-.7.1-.88.1-1.12.03-.32.16-.38.3-.2.25.11.2.29-.03.18-.12.77-.23 1.21-.15.81h.09l.1-.1.41-.54.69-.86.3-.34.36-.38.22-.18h.43l.32.47-.14.49-.44.56-.37.47-.53.71-.33.57.03.04h.08l1.2-.26.63-.11.77-.13.35.16.04.16-.14.34-.82.2-.96.2-1.44.33-.01.01.02.03.64.06.28.02h.68l1.25.09.33.22.2.26-.03.2-.5.26-.7-.16-1.59-.38-.54-.13h-.08v.04l.46.45.83.75 1.05.97.05.24-.13.2-.15-.03-.92-.69-.35-.31-.8-.68h-.06v.08l.19.27.98 1.46.05.45-.07.15-.26.09-.28-.05-.57-.8-.59-.9-.47-.82-.06.04-.28 3.02-.13.15-.3.12-.26-.2-.14-.3.14-.62.16-.8.13-.64.12-.79.07-.26v-.02H5.9l-.6.83-.9 1.22-.73.77-.17.07-.3-.15.03-.28.17-.24 1-1.27.6-.78.38-.46v-.06h-.03L2.72 8.73l-.47.06-.2-.19.02-.3.1-.1.8-.55Z",fill:"#D97757"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"a",children:e.jsx("path",{fill:"#fff",transform:"translate(1 1)",d:"M0 0h10v10H0z"})})})]}),e.jsx("span",{className:"text-sm font-medium",children:"Go to Claude Connectors"})]})},{type:"text",content:'2. Click "Browse Connectors"'},{type:"text",content:'3. Select "Hugging Face" and click "Add"'}]},{id:"vscode",name:"Visual Studio Code",icon:e.jsxs("svg",{className:"h-5 w-5",width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsxs("g",{clipPath:"url(#a)",children:[e.jsx("mask",{id:"b",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"1",width:"10",height:"10",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:`M8.1 10.93c.15.06.33.06.49-.02l2.06-.99c.21-.1.35-.32.35-.56V2.64a.63.63 0 0
|
|
37
|
+
0-.35-.56l-2.06-1a.62.62 0 0 0-.71.13L3.94 4.8 2.22 3.5a.42.42 0 0 0-.53.02l-.55.5a.42.42 0 0 0 0 .62L2.62 6 1.14 7.36a.42.42 0 0 0 0
|
|
38
|
+
.61l.55.5c.15.14.37.15.53.03l1.72-1.3 3.94 3.59c.06.06.13.1.21.14Zm.4-7.2L5.51 6l3 2.27V3.73Z`,fill:"#fff"})}),e.jsxs("g",{mask:"url(#b)",children:[e.jsx("path",{d:`m10.64 2.08-2.06-1a.62.62 0 0 0-.7.13L1.12 7.36a.42.42 0 0 0 0 .61l.55.5c.15.14.37.15.53.03l8.12-6.17c.28-.2.67 0
|
|
39
|
+
.67.33v-.02a.63.63 0 0 0-.36-.56Z`,fill:"#0065A9"}),e.jsx("g",{filter:"url(#c)",children:e.jsx("path",{d:`m10.64 9.92-2.06.99a.62.62 0 0 1-.7-.12L1.12 4.64a.42.42 0 0 1 0-.62l.55-.5a.42.42 0 0 1 .53-.02l8.12
|
|
40
|
+
6.16c.28.2.67.01.67-.33v.03c0 .24-.14.45-.36.56Z`,fill:"#007ACC"})}),e.jsx("g",{filter:"url(#d)",children:e.jsx("path",{d:`M8.59 10.91a.62.62 0 0 1-.71-.12c.23.23.62.07.62-.26V1.46c0-.32-.4-.48-.63-.25a.62.62 0 0 1
|
|
41
|
+
.72-.12l2.06.99c.21.1.35.32.35.56v6.72c0 .24-.14.46-.35.56l-2.06.99Z`,fill:"#1F9CF0"})}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:`M8.08 10.93c.16.06.34.06.5-.02l2.06-.99c.21-.1.35-.32.35-.56V2.64a.63.63 0 0
|
|
42
|
+
0-.35-.56l-2.06-1a.62.62 0 0 0-.71.13L3.93 4.8 2.2 3.5a.42.42 0 0 0-.53.02l-.55.5a.42.42 0 0 0 0 .62L2.62 6l-1.5 1.36a.42.42 0 0 0 0
|
|
43
|
+
.61l.56.5c.15.14.37.15.53.03l1.72-1.3 3.94 3.59c.06.06.13.1.21.14Zm.41-7.2L5.5 6l3 2.27V3.73Z`,fill:"url(#e)",style:{mixBlendMode:"overlay"},opacity:".25"})]})]}),e.jsxs("defs",{children:[e.jsxs("filter",{id:"c",x:"-8.27",y:"-5.85",width:"28.53",height:"26.07",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[e.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.jsx("feOffset",{}),e.jsx("feGaussianBlur",{stdDeviation:"4.63"}),e.jsx("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),e.jsx("feBlend",{mode:"overlay",in2:"BackgroundImageFix",result:"effect1_dropShadow_640_684"}),e.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_640_684",result:"shape"})]}),e.jsxs("filter",{id:"d",x:"-1.38",y:"-8.24",width:"21.64",height:"28.46",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[e.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.jsx("feOffset",{}),e.jsx("feGaussianBlur",{stdDeviation:"4.63"}),e.jsx("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),e.jsx("feBlend",{mode:"overlay",in2:"BackgroundImageFix",result:"effect1_dropShadow_640_684"}),e.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_640_684",result:"shape"})]}),e.jsxs("linearGradient",{id:"e",x1:"5.99",y1:"1.02",x2:"5.99",y2:"10.97",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#fff"}),e.jsx("stop",{offset:"1",stopColor:"#fff",stopOpacity:"0"})]}),e.jsx("clipPath",{id:"a",children:e.jsx("path",{fill:"#fff",transform:"translate(1 1)",d:"M0 0h10v10H0z"})})]})]}),instructions:[{type:"text",content:e.jsxs("a",{href:"vscode:mcp/install?%7B%22name%22%3A%22huggingface%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fhuggingface.co%2Fmcp%3Flogin%22%7D",className:"inline-flex items-center space-x-2 border border-border rounded-lg p-2 hover:bg-accent/10 transition-colors duration-200",children:[e.jsxs("svg",{className:"h-8 w-8 hover:scale-105 transition-transform duration-200",width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsxs("g",{clipPath:"url(#a)",children:[e.jsx("mask",{id:"b",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"1",width:"10",height:"10",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:`M8.1 10.93c.15.06.33.06.49-.02l2.06-.99c.21-.1.35-.32.35-.56V2.64a.63.63 0 0
|
|
44
|
+
0-.35-.56l-2.06-1a.62.62 0 0 0-.71.13L3.94 4.8 2.22 3.5a.42.42 0 0 0-.53.02l-.55.5a.42.42 0 0 0 0 .62L2.62 6 1.14 7.36a.42.42 0 0 0 0
|
|
45
|
+
.61l.55.5c.15.14.37.15.53.03l1.72-1.3 3.94 3.59c.06.06.13.1.21.14Zm.4-7.2L5.51 6l3 2.27V3.73Z`,fill:"#fff"})}),e.jsxs("g",{mask:"url(#b)",children:[e.jsx("path",{d:`m10.64 2.08-2.06-1a.62.62 0 0 0-.7.13L1.12 7.36a.42.42 0 0 0 0 .61l.55.5c.15.14.37.15.53.03l8.12-6.17c.28-.2.67 0
|
|
46
|
+
.67.33v-.02a.63.63 0 0 0-.36-.56Z`,fill:"#0065A9"}),e.jsx("g",{filter:"url(#c)",children:e.jsx("path",{d:`m10.64 9.92-2.06.99a.62.62 0 0 1-.7-.12L1.12 4.64a.42.42 0 0 1 0-.62l.55-.5a.42.42 0 0 1 .53-.02l8.12
|
|
47
|
+
6.16c.28.2.67.01.67-.33v.03c0 .24-.14.45-.36.56Z`,fill:"#007ACC"})}),e.jsx("g",{filter:"url(#d)",children:e.jsx("path",{d:`M8.59 10.91a.62.62 0 0 1-.71-.12c.23.23.62.07.62-.26V1.46c0-.32-.4-.48-.63-.25a.62.62 0 0 1
|
|
48
|
+
.72-.12l2.06.99c.21.1.35.32.35.56v6.72c0 .24-.14.46-.35.56l-2.06.99Z`,fill:"#1F9CF0"})}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:`M8.08 10.93c.16.06.34.06.5-.02l2.06-.99c.21-.1.35-.32.35-.56V2.64a.63.63 0 0
|
|
49
|
+
0-.35-.56l-2.06-1a.62.62 0 0 0-.71.13L3.93 4.8 2.2 3.5a.42.42 0 0 0-.53.02l-.55.5a.42.42 0 0 0 0 .62L2.62 6l-1.5 1.36a.42.42 0 0 0 0
|
|
50
|
+
.61l.56.5c.15.14.37.15.53.03l1.72-1.3 3.94 3.59c.06.06.13.1.21.14Zm.41-7.2L5.5 6l3 2.27V3.73Z`,fill:"url(#e)",style:{mixBlendMode:"overlay"},opacity:".25"})]})]}),e.jsxs("defs",{children:[e.jsxs("filter",{id:"c",x:"-8.27",y:"-5.85",width:"28.53",height:"26.07",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[e.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.jsx("feOffset",{}),e.jsx("feGaussianBlur",{stdDeviation:"4.63"}),e.jsx("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),e.jsx("feBlend",{mode:"overlay",in2:"BackgroundImageFix",result:"effect1_dropShadow_640_684"}),e.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_640_684",result:"shape"})]}),e.jsxs("filter",{id:"d",x:"-1.38",y:"-8.24",width:"21.64",height:"28.46",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[e.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.jsx("feOffset",{}),e.jsx("feGaussianBlur",{stdDeviation:"4.63"}),e.jsx("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),e.jsx("feBlend",{mode:"overlay",in2:"BackgroundImageFix",result:"effect1_dropShadow_640_684"}),e.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_640_684",result:"shape"})]}),e.jsxs("linearGradient",{id:"e",x1:"5.99",y1:"1.02",x2:"5.99",y2:"10.97",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#fff"}),e.jsx("stop",{offset:"1",stopColor:"#fff",stopOpacity:"0"})]}),e.jsx("clipPath",{id:"a",children:e.jsx("path",{fill:"#fff",transform:"translate(1 1)",d:"M0 0h10v10H0z"})})]})]}),e.jsx("span",{className:"text-sm font-medium",children:"Add to VS Code"})]})},{type:"text",content:"Click to install the MCP Server within VS Code."}],manualConfig:{title:"Manual Configuration / Using a READ HF_TOKEN instead of OAuth:",steps:[{type:"text",content:e.jsxs("span",{children:["Add to your VS Code ",e.jsx("code",{className:"bg-muted px-1 py-0.5 rounded text-xs font-mono",children:"settings.json"})," ","file:"]})},{type:"code",content:`{
|
|
51
|
+
"servers": {
|
|
52
|
+
"huggingface": {
|
|
53
|
+
"url": "https://huggingface.co/mcp",
|
|
54
|
+
"headers": {
|
|
55
|
+
"Authorization": "Bearer <HF_TOKEN>"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}`,copyable:!0},{type:"text",content:e.jsxs("span",{children:["Replace ",e.jsx("code",{className:"bg-muted px-1 py-0.5 rounded text-xs font-mono",children:"<HF_TOKEN>"})," with your Hugging Face API token."]})}]}},{id:"cursor",name:"Cursor",icon:e.jsxs("svg",{className:"h-5 w-5",width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"paint0_linear_640_687",x1:"5.99601",y1:"5.99219",x2:"5.99601",y2:"11.3473",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{className:"stop-color-black dark:stop-color-white",offset:"0.16",stopOpacity:"0.39"}),e.jsx("stop",{className:"stop-color-black dark:stop-color-white",offset:"0.658",stopOpacity:"0.8"})]}),e.jsxs("linearGradient",{id:"paint1_linear_640_687",x1:"10.6523",y1:"3.3347",x2:"6",y2:"6.06268",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{className:"stop-color-black dark:stop-color-white",offset:"0.182",stopOpacity:"0.31"}),e.jsx("stop",{className:"stop-color-black dark:stop-color-white",offset:"0.715",stopOpacity:"0"})]}),e.jsxs("linearGradient",{id:"paint2_linear_640_687",x1:"5.99601",y1:"0.640625",x2:"1.34375",y2:"8.6733",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{className:"stop-color-black dark:stop-color-white",stopOpacity:"0.6"}),e.jsx("stop",{className:"stop-color-black dark:stop-color-white",offset:"0.667",stopOpacity:"0.22"})]})]}),e.jsx("path",{d:"M5.99601 11.3473L10.6483 8.66975L5.99601 5.99219L1.34375 8.66975L5.99601 11.3473Z",fill:"url(#paint0_linear_640_687)"}),e.jsx("path",{d:"M10.6523 8.6733V3.31818L6 0.640625V5.99574L10.6523 8.6733Z",fill:"url(#paint1_linear_640_687)"}),e.jsx("path",{d:"M5.99601 0.640625L1.34375 3.31818V8.6733L5.99601 5.99574V0.640625Z",fill:"url(#paint2_linear_640_687)"}),e.jsx("path",{className:"fill-gray-500 dark:fill-gray-400",d:"M10.6523 3.32031L6 11.353V5.99787L10.6523 3.32031Z"}),e.jsx("path",{className:"fill-black dark:fill-white",d:"M10.6483 3.32031L5.99601 5.99787L1.34375 3.32031H10.6483Z"})]}),instructions:[{type:"text",content:e.jsx("a",{href:"https://cursor.com/en/install-mcp?name=huggingface&config=eyJ1cmwiOiJodHRwczovL2h1Z2dpbmdmYWNlLmNvL21jcD9sb2dpbiJ9",target:"_blank",rel:"noopener noreferrer",className:"inline-block border border-border rounded-lg p-2 hover:bg-accent/10 transition-colors duration-200",children:e.jsx("img",{src:"https://cursor.com/deeplink/mcp-install-light.svg",alt:"Add huggingface MCP server to Cursor",height:"32",className:"hover:scale-105 transition-transform duration-200"})})},{type:"text",content:"Click to install the MCP Server within Cursor."}],manualConfig:{title:"Manual Configuration / Using a READ HF_TOKEN instead of OAuth:",steps:[{type:"text",content:e.jsxs("span",{children:["Edit your Cursor ",e.jsx("code",{className:"bg-muted px-1 py-0.5 rounded text-xs font-mono",children:"mcp.json"})," ","configuration file to add the Hugging Face MCP server:"]})},{type:"code",content:`{
|
|
60
|
+
"mcpServers": {
|
|
61
|
+
"huggingface": {
|
|
62
|
+
"url": "https://huggingface.co/mcp",
|
|
63
|
+
"headers": {
|
|
64
|
+
"Authorization": "Bearer <HF_TOKEN>"
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}`,copyable:!0},{type:"text",content:e.jsxs("span",{children:["Replace ",e.jsx("code",{className:"bg-muted px-1 py-0.5 rounded text-xs font-mono",children:"<HF_TOKEN>"})," with your Hugging Face API Token."]})}]}},{id:"lm-studio",name:"LM Studio",icon:e.jsxs("svg",{className:"h-5 w-5",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":"true",focusable:"false",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",children:[e.jsx("path",{fill:"url(#icon-lm-studio-a)",d:"M19.337 0H4.663A4.663 4.663 0 0 0 0 4.663v14.674A4.663 4.663 0 0 0 4.663 24h14.674A4.663 4.663 0 0 0 24 19.337V4.663A4.663 4.663 0 0 0 19.337 0"}),e.jsx("g",{fill:"#fff",opacity:".266",children:e.jsx("path",{d:"M15.803 4.35H7.418a1 1 0 0 0 0 2h8.385a1 1 0 0 0 0-2M19.928 7.063h-8.385a1 1 0 0 0 0 2h8.385a1 1 0 0 0 0-2M17.51 9.776H9.125a1 1 0 0 0 0 2h8.385a1 1 0 0 0 0-2M14.523 12.632H6.138a1 1 0 0 0 0 2h8.385a1 1 0 0 0 0-2M17.51 15.345H9.125a1 1 0 1 0 0 2h8.385a1 1 0 1 0 0-2M20.497 18.059h-4.829a1 1 0 1 0 0 1.999h4.829a1 1 0 1 0 0-2"})}),e.jsx("g",{fill:"#fff",opacity:".845",children:e.jsx("path",{d:"M12.65 4.345H4.265a1 1 0 0 0 0 2h8.385a1 1 0 0 0 0-2M16.775 7.058H8.39a1 1 0 0 0 0 2h8.385a1 1 0 0 0 0-2M14.357 9.771H5.972a1 1 0 0 0 0 2h8.385a1 1 0 0 0 0-2M11.37 12.627H2.985a1 1 0 1 0 0 2h8.385a1 1 0 0 0 0-2M14.357 15.34H5.972a1 1 0 1 0 0 2h8.385a1 1 0 0 0 0-2M17.344 18.054h-4.828a1 1 0 1 0 0 1.999h4.828a1 1 0 1 0 0-2"})}),e.jsx("defs",{children:e.jsxs("linearGradient",{id:"icon-lm-studio-a",x1:"78.731",x2:"2229.6",y1:"0",y2:"2218.01",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#6E7EF3"}),e.jsx("stop",{offset:"1",stopColor:"#4F13BE"})]})})]}),instructions:[{type:"text",content:e.jsx("a",{href:"https://lmstudio.ai/install-mcp?name=huggingface&config=eyJ1cmwiOiJodHRwczovL2h1Z2dpbmdmYWNlLmNvL21jcCIsImhlYWRlcnMiOnsiQXV0aG9yaXphdGlvbiI6IkJlYXJlciA8WU9VUl9IRl9UT0tFTj4ifX0%3D",target:"_blank",rel:"noopener noreferrer",className:"inline-block border border-border rounded-lg p-2 hover:bg-accent/10 transition-colors duration-200",children:e.jsx("img",{src:"https://files.lmstudio.ai/deeplink/mcp-install-dark.svg",alt:"Add MCP Server huggingface to LM Studio",className:"hover:scale-105 transition-transform duration-200"})})},{type:"text",content:e.jsxs("span",{children:["After clicking, replace"," ",e.jsx("code",{className:"bg-muted px-1 py-0.5 rounded text-xs font-mono",children:"<HF_TOKEN>"})," with your READ Hugging Face API token."]})}]},{id:"claude-code",name:"Claude Code",icon:e.jsxs("svg",{className:"h-5 w-5",width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("g",{"clip-path":"url(#a)",children:e.jsx("path",{d:"m2.96 7.65 1.97-1.1.03-.1-.03-.05h-.1l-.33-.02-1.12-.03-.97-.04-.95-.06-.24-.05L1 5.91l.02-.15.2-.13.29.02.63.05.95.06.69.04 1.02.11h.16L5 5.84l-.06-.04-.04-.04-.99-.66-1.06-.7-.56-.41-.3-.2-.15-.2-.07-.42.28-.3.36.03.1.02.37.29.8.61 1.03.77.16.12.06-.04v-.03l-.06-.11-.57-1.02-.6-1.04-.27-.43-.07-.26c-.03-.1-.04-.2-.04-.3l.3-.42L3.8 1l.42.06.17.15.26.59.42.93.64 1.26.2.37.1.35.03.1h.07v-.06l.05-.7.1-.88.1-1.12.03-.32.16-.38.3-.2.25.11.2.29-.03.18-.12.77-.23 1.21-.15.81h.09l.1-.1.41-.54.69-.86.3-.34.36-.38.22-.18h.43l.32.47-.14.49-.44.56-.37.47-.53.71-.33.57.03.04h.08l1.2-.26.63-.11.77-.13.35.16.04.16-.14.34-.82.2-.96.2-1.44.33-.01.01.02.03.64.06.28.02h.68l1.25.09.33.22.2.26-.03.2-.5.26-.7-.16-1.59-.38-.54-.13h-.08v.04l.46.45.83.75 1.05.97.05.24-.13.2-.15-.03-.92-.69-.35-.31-.8-.68h-.06v.08l.19.27.98 1.46.05.45-.07.15-.26.09-.28-.05-.57-.8-.59-.9-.47-.82-.06.04-.28 3.02-.13.15-.3.12-.26-.2-.14-.3.14-.62.16-.8.13-.64.12-.79.07-.26v-.02H5.9l-.6.83-.9 1.22-.73.77-.17.07-.3-.15.03-.28.17-.24 1-1.27.6-.78.38-.46v-.06h-.03L2.72 8.73l-.47.06-.2-.19.02-.3.1-.1.8-.55Z",fill:"#D97757"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"a",children:e.jsx("path",{fill:"#fff",transform:"translate(1 1)",d:"M0 0h10v10H0z"})})})]}),instructions:[{type:"text",content:"Enter the command below to install in Claude Code:"},{type:"code",content:"claude mcp add hf-mcp-server -t http https://huggingface.co/mcp?login",copyable:!0},{type:"text",content:"Then start Claude and follow the instructions to complete authentication."}],actionButtons:[{type:"external",label:"Claude Code Docs",url:"https://docs.anthropic.com/en/docs/claude-code",variant:"outline"}],manualConfig:{title:"Using a READ HF_TOKEN instead of OAuth:",steps:[{type:"text",content:"To use a READ HF_TOKEN instead of OAuth, use the following command:"},{type:"code",content:`claude mcp add hf-mcp-server \\
|
|
69
|
+
-t http https://huggingface.co/mcp \\
|
|
70
|
+
-H "Authorization: Bearer <HF_TOKEN>"`,copyable:!0},{type:"text",content:e.jsxs("span",{children:["Replace ",e.jsx("code",{className:"bg-muted px-1 py-0.5 rounded text-xs font-mono",children:"<HF_TOKEN>"})," with your Hugging Face API token."]})}]}},{id:"codex-cli",name:"Codex CLI",icon:e.jsx("svg",{className:"h-5 w-5",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 32 32",children:e.jsx("path",{stroke:"#000",strokeLinecap:"round",strokeWidth:"2.484",d:"M22.356 19.797H17.17M9.662 12.29l1.979 3.576a.511.511 0 0 1-.005.504l-1.974 3.409M30.758 16c0 8.15-6.607 14.758-14.758 14.758-8.15 0-14.758-6.607-14.758-14.758C1.242 7.85 7.85 1.242 16 1.242c8.15 0 14.758 6.608 14.758 14.758Z"})}),instructions:[{type:"text",content:e.jsxs("a",{href:"https://github.com/openai/codex",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center space-x-2 text-primary hover:underline cursor-pointer",children:[e.jsx("span",{children:"Codex CLI Instructions are at: https://github.com/openai/codex"}),e.jsx(r,{className:"h-3 w-3"})]})},{type:"text",content:e.jsxs("span",{children:["Edit your ",e.jsx("code",{className:"bg-muted px-1 py-0.5 rounded text-xs font-mono",children:"~/.codex/config.toml"})," and include the below:"]})},{type:"code",content:`[mcp_servers.huggingface]
|
|
71
|
+
command = "npx"
|
|
72
|
+
args = ["-y", "mcp-remote@latest", "https://huggingface.co/mcp?login"]`,copyable:!0}],actionButtons:[{type:"external",label:"Codex CLI Instructions",url:"https://github.com/openai/codex",variant:"outline"}]}];function P(){const[p,i]=w.useState(new Set),c=async()=>{const s="https://huggingface.co/mcp?login";try{await navigator.clipboard.writeText(s)}catch(t){console.error("Failed to copy URL:",t)}},d=()=>{window.open("https://huggingface.co/settings/mcp","_blank")},m=s=>{i(t=>{const a=new Set(t);return a.has(s)?a.delete(s):a.add(s),a})},h=async s=>{switch(s.type){case"copy":if(s.content)try{await navigator.clipboard.writeText(s.content)}catch(t){console.error("Failed to copy content:",t)}break;case"link":case"external":s.url&&window.open(s.url,"_blank");break;case"download":if(s.url){const t=document.createElement("a");t.href=s.url,t.download=s.label,document.body.appendChild(t),t.click(),document.body.removeChild(t)}break}},o=(s,t)=>{const a="text-sm";switch(s.type){case"warning":return e.jsxs("div",{className:"flex items-start space-x-2 p-3 bg-yellow-50 border border-yellow-200 rounded-lg",children:[e.jsx(M,{className:"h-4 w-4 text-yellow-600 mt-0.5 flex-shrink-0"}),e.jsx("div",{className:"text-sm text-yellow-800",children:s.content})]},t);case"info":return e.jsxs("div",{className:"flex items-start space-x-2 p-3 bg-blue-50 border border-blue-200 rounded-lg",children:[e.jsx(I,{className:"h-4 w-4 text-blue-600 mt-0.5 flex-shrink-0"}),e.jsx("div",{className:"text-sm text-blue-800",children:s.content})]},t);case"code":return e.jsxs("div",{className:"relative group",children:[e.jsx("pre",{className:"bg-muted p-3 rounded-md text-xs overflow-x-auto",children:e.jsx("code",{className:"text-foreground font-mono",children:s.content})}),s.copyable&&e.jsx(v,{content:s.content,variant:"ghost",size:"sm",iconOnly:!0,className:"absolute top-2 right-2 h-6 px-2 text-xs"})]},t);case"button":return e.jsxs("div",{className:"flex items-center space-x-3",children:[e.jsx("span",{className:a+" text-muted-foreground flex-grow",children:s.content}),s.button&&e.jsxs(x,{variant:s.button.variant||"default",size:"sm",onClick:()=>h(s.button),className:"ml-auto cursor-pointer",children:[s.button.type==="external"&&e.jsx(r,{className:"h-4 w-4 mr-2"}),s.button.type==="download"&&e.jsx(N,{className:"h-4 w-4 mr-2"}),s.button.type==="copy"&&e.jsx(y,{className:"h-4 w-4 mr-2"}),s.button.label]})]},t);default:return e.jsx("div",{className:a+" text-muted-foreground",children:s.content},t)}};return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx("div",{className:"bg-gradient-to-b from-primary/5 to-background px-8 pt-12 pb-8",children:e.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[e.jsx("img",{src:D,alt:"Hugging Face",className:"h-16 mx-auto mb-8"}),e.jsx("h2",{className:"text-3xl font-bold text-foreground mb-4",children:"Welcome to the Hugging Face MCP Server"}),e.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:"Connect assistants to the Hub and thousands of AI Apps"})]})}),e.jsx("div",{className:"px-8 pb-12",children:e.jsxs("div",{className:"max-w-3xl mx-auto",children:[e.jsxs(u,{children:[e.jsx(f,{className:"pb-0",children:e.jsx(g,{className:"text-xl font-semibold",children:"Get Started"})}),e.jsx(j,{className:"space-y-6 pt-0",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center space-x-3 mb-4",children:[e.jsx("span",{className:"flex-shrink-0 w-10 h-10 rounded-full bg-primary/10 text-primary flex items-center justify-center text-lg font-bold",children:"1"}),e.jsx("span",{className:"text-lg font-medium text-foreground",children:"Setup your Client with this URL:"})]}),e.jsxs("div",{className:"relative",children:[e.jsx("input",{type:"text",value:"https://huggingface.co/mcp?login",readOnly:!0,className:"w-full px-4 py-3 pr-12 text-sm font-mono bg-muted border border-border rounded-lg focus:outline-none focus:ring-2 focus:ring-primary/20 h-12 cursor-pointer hover:bg-muted/80 transition-colors",onClick:c}),e.jsx(v,{content:"https://huggingface.co/mcp?login",variant:"secondary",size:"sm",iconOnly:!0,className:"absolute right-2 top-1/2 transform -translate-y-1/2 h-8 px-2"})]})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center space-x-3 mb-4",children:[e.jsx("span",{className:"flex-shrink-0 w-10 h-10 rounded-full bg-primary/10 text-primary flex items-center justify-center text-lg font-bold",children:"2"}),e.jsx("span",{className:"text-lg font-medium text-foreground",children:"Choose your Apps and Tools"})]}),e.jsxs("div",{className:"relative",children:[e.jsx("input",{type:"text",value:"Go to MCP Settings",readOnly:!0,className:"w-full pl-12 pr-12 py-3 text-sm bg-muted border border-border rounded-lg focus:outline-none focus:ring-2 focus:ring-primary/20 h-12 cursor-pointer hover:bg-muted/80 transition-colors",onClick:d}),e.jsx(x,{size:"sm",onClick:d,className:"absolute right-2 top-1/2 transform -translate-y-1/2 h-8 px-2 hover:bg-secondary/80 transition-colors cursor-pointer",variant:"secondary",children:e.jsx(r,{className:"h-4 w-4"})}),e.jsx(b,{className:"absolute left-4 top-1/2 transform -translate-y-1/2 h-4 w-4 text-muted-foreground pointer-events-none"})]})]})]})})]}),e.jsxs(u,{className:"mt-8",children:[e.jsxs(f,{className:"pb-0",children:[e.jsx(g,{className:"text-xl font-semibold",children:"Detailed Client Setup"}),e.jsx(C,{children:"Choose your preferred AI client and follow the setup instructions"})]}),e.jsx(j,{className:"space-y-4 pt-0",children:G.map(s=>{const t=p.has(s.id);return e.jsxs("div",{className:"border border-border rounded-lg",children:[e.jsxs("button",{onClick:()=>m(s.id),className:"w-full px-4 py-3 flex items-center justify-between hover:bg-accent/50 transition-colors rounded-lg",children:[e.jsxs("div",{className:"flex items-center space-x-3",children:[e.jsx("div",{className:"text-primary",children:s.icon}),e.jsxs("div",{className:"text-left",children:[e.jsx("h4",{className:"font-semibold text-foreground",children:s.name}),e.jsx("p",{className:"text-sm text-muted-foreground",children:s.description})]})]}),e.jsx("div",{className:"text-muted-foreground",children:t?e.jsx(k,{className:"h-6 w-6"}):e.jsx(L,{className:"h-6 w-6"})})]}),t&&e.jsxs("div",{className:"px-4 pb-4 space-y-4 border-t border-border mt-3 pt-4",children:[s.actionButtons&&s.actionButtons.length>0&&e.jsx("div",{className:"flex flex-wrap gap-2",children:s.actionButtons.map((a,l)=>e.jsxs(x,{variant:a.variant||"default",size:"sm",onClick:()=>h(a),className:"h-8 cursor-pointer",children:[a.type==="external"&&e.jsx(r,{className:"h-4 w-4 mr-2"}),a.type==="download"&&e.jsx(N,{className:"h-4 w-4 mr-2"}),a.type==="copy"&&e.jsx(y,{className:"h-4 w-4 mr-2"}),a.label]},l))}),e.jsxs("div",{children:[e.jsx("h5",{className:"font-semibold text-sm text-foreground mb-2",children:s.id==="lm-studio"||s.id==="cursor"||s.id==="vscode"?"One Click Install:":"Instructions:"}),e.jsx("div",{className:"space-y-2",children:s.instructions.map((a,l)=>typeof a=="string"?e.jsxs("div",{className:"flex items-start space-x-2",children:[e.jsxs("span",{className:"text-sm text-muted-foreground flex-shrink-0 mt-0.5",children:[l+1,"."]}),e.jsx("span",{className:"text-sm text-muted-foreground",children:a})]},l):o(a,l))})]}),s.configExample&&e.jsxs("div",{className:"relative group",children:[e.jsx("div",{className:"flex items-center justify-between mb-2",children:e.jsx("h5",{className:"font-semibold text-sm text-foreground",children:"Configuration:"})}),e.jsx("pre",{className:"bg-muted p-3 rounded-md text-xs overflow-x-auto",children:e.jsx("code",{className:"text-foreground font-mono",children:s.configExample})}),e.jsx(v,{content:s.configExample,variant:"ghost",size:"sm",className:"absolute top-2 right-2 h-6 px-2 text-xs"})]}),s.manualConfig&&e.jsxs("div",{children:[e.jsx("h5",{className:"font-semibold text-sm text-foreground mb-2",children:s.manualConfig.title}),e.jsx("div",{className:"space-y-2",children:s.manualConfig.steps.map((a,l)=>o(a,l))})]})]})]},s.id)})})]}),e.jsxs(u,{className:"mt-8",children:[e.jsx(f,{className:"pb-3",children:e.jsx(g,{className:"text-xl font-semibold",children:"What is MCP?"})}),e.jsxs(j,{className:"space-y-4",children:[e.jsx("p",{className:"text-base text-muted-foreground leading-relaxed",children:"The Model Context Protocol (MCP) is an open standard that enables AI assistants to securely connect to external data sources and tools."}),e.jsx("p",{className:"text-base text-muted-foreground leading-relaxed",children:"The Hugging Face MCP Server provides seamless access to Hugging Face's vast ecosystem of Models, Datasets, Research Papers and state-of-the-art AI tools. This server is Open Source, click the link below for details of alternative deployment options, to raise issues or suggest a contribution."}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 pt-4",children:[e.jsxs("div",{className:"flex items-start space-x-3",children:[e.jsx(T,{className:"h-5 w-5 text-primary mt-0.5"}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-semibold text-sm text-foreground",children:"Search Models and Datasets"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Discover Models and Trends"})]})]}),e.jsxs("div",{className:"flex items-start space-x-3",children:[e.jsx(U,{className:"h-5 w-5 text-primary mt-0.5"}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-semibold text-sm text-foreground",children:"Discover Spaces"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Add the latest AI Applications"})]})]}),e.jsxs("div",{className:"flex items-start space-x-3",children:[e.jsx("svg",{className:"h-5 w-5 mt-0.5",viewBox:"0 0 98 96",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z",fill:"#6b7280"})}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-semibold text-sm text-foreground",children:e.jsxs("a",{href:"https://github.com/evalstate/hf-mcp-server",target:"_blank",rel:"noopener noreferrer",className:"hover:text-primary hover:underline transition-colors duration-200 inline-flex items-center space-x-1",children:[e.jsx("span",{children:"Open Source"}),e.jsx(r,{className:"h-3 w-3"})]})}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Contribute on GitHub"})]})]})]})]})]})]})})]})}_.createRoot(document.getElementById("root")).render(e.jsx(w.StrictMode,{children:e.jsx(P,{})}));
|
package/dist/web/index.html
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
<link rel="icon" type="image/svg+xml" href="/assets/hf-logo-DbjPOSLw.svg" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
7
|
<title>HF MCP Server</title>
|
|
8
|
-
<script type="module" crossorigin src="/assets/main-
|
|
9
|
-
<link rel="modulepreload" crossorigin href="/assets/button-
|
|
10
|
-
<link rel="stylesheet" crossorigin href="/assets/button-
|
|
8
|
+
<script type="module" crossorigin src="/assets/main-CN6ZjpZA.js"></script>
|
|
9
|
+
<link rel="modulepreload" crossorigin href="/assets/button-BfAUzAE-.js">
|
|
10
|
+
<link rel="stylesheet" crossorigin href="/assets/button-7on4uJ5J.css">
|
|
11
11
|
</head>
|
|
12
12
|
<body>
|
|
13
13
|
<div id="root"></div>
|