1import{h as P,b as _,r as j,j as e,L as C,T as M,w as m,f as L}from"./index-CB3Md__C.js";import{i as w}from"./firebaseUser-B-xqOxJa.js";import{u as k}from"./useAuth-Yl-re7rJ.js";import{C as T}from"./copy-DOc4qhLL.js";import{E as n}from"./external-link-N12WgXSD.js";import"./auth-context-gc1lMV8D.js";const l=L("/mcp"),A=`[mcp_servers.iteratio-cards] 2url = "${l}"`,p=`{ 3 "mcpServers": { 4 "iteratio-cards": { 5 "type": "http", 6 "url": "${l}" 7 } 8 } 9}`,O=`claude mcp add --transport http --scope user iteratio-cards ${l}`,R=`openclaw mcp set iteratio-cards '{"url":"${l}","transport":"streamable-http"}'`,E=[["Name","iteratio-cards"],["Type","Streamable HTTP"],["URL",l],["Command to launch","оÑÑавÑÑе пÑÑÑÑм"],["Arguments","оÑÑавÑÑе пÑÑÑÑм"],["Environment variables","оÑÑавÑÑе пÑÑÑÑм"],["Environment variable passthrough","оÑÑавÑÑе пÑÑÑÑм"],["Working directory","оÑÑавÑÑе пÑÑÑÑм"]],t=[{id:"codex",title:"Codex",body:"ÐобавÑÑе remote MCP server в ~/.codex/config.toml или ÑеÑез CLI, заÑем запÑÑÑиÑе OAuth login Ð´Ð»Ñ ÑеÑвеÑа.",ariaLabel:"Codex MCP config example",code:A},{id:"claude-desktop",title:"Claude Desktop",body:"ÐобавÑÑе remote HTTP MCP server и пÑойдиÑе авÑоÑизаÑÐ¸Ñ ÑеÑез OAuth, когда Claude попÑоÑÐ¸Ñ Ð¿Ð¾Ð´ÐºÐ»ÑÑиÑÑ Iteratio.",ariaLabel:"Claude Desktop MCP config example",code:p},{id:"claude-code",title:"Claude Code",body:"Ðоманда добавлÑÐµÑ remote MCP server в полÑзоваÑелÑÑкÑÑ ÐºÐ¾Ð½ÑигÑÑаÑÐ¸Ñ Claude Code.",ariaLabel:"Claude Code MCP command example",code:O},{id:"cursor",title:"Cursor",body:"СоздайÑе .cursor/mcp.json в пÑоекÑе или ~/.cursor/mcp.json Ð´Ð»Ñ Ð³Ð»Ð¾Ð±Ð°Ð»Ñного подклÑÑениÑ.",ariaLabel:"Cursor MCP config example",code:p},{id:"openclaw",title:"OpenClaw",body:"OpenClaw Ñ ÑÐ°Ð½Ð¸Ñ MCP-ÑеÑвеÑÑ Ð² mcp.servers и подклÑÑÐ°ÐµÑ remote server ÑеÑез streamable-http.",ariaLabel:"OpenClaw MCP command example",code:R},{id:"windsurf",title:"Windsurf и дÑÑгие клиенÑÑ Ñ mcpServers",body:"ÐÑполÑзÑйÑе ÑÐ¾Ñ Ð¶Ðµ JSON-ÑоÑмаÑ, еÑли ÐºÐ»Ð¸ÐµÐ½Ñ Ð¿Ð¾Ð´Ð´ÐµÑÐ¶Ð¸Ð²Ð°ÐµÑ remote HTTP MCP-ÑеÑвеÑÑ Ñ OAuth.",ariaLabel:"Generic MCP config example",code:p}],I=async o=>{if(navigator.clipboard?.writeText){await navigator.clipboard.writeText(o);return}const r=document.createElement("textarea");r.value=o,r.setAttribute("readonly",""),r.style.position="fixed",r.style.left="-9999px",document.body.appendChild(r),r.select(),document.execCommand("copy"),document.body.removeChild(r)};function J(){const{loading:o,user:r}=k(),{theme:d,setTheme:f}=P(),h=_(),[b,x]=j.useState(t[0].id),u=j.useRef([]),g=d==="dark"||d==="purple"?m.assets.fullLogoOnDark:m.assets.fullLogoOnLight,a=t.find(s=>
9s.id===b)??t[0],y=w(r),v=async()=>{try{await I(a.code),h.success("СкопиÑовано")}catch(s){h.error(s instanceof Error?s.message:"Ðе ÑдалоÑÑ ÑкопиÑоваÑÑ.")}},N=(s,i)=>{let c=i;if(s.key==="ArrowRight")c=(i+1)%t.length;else if(s.key==="ArrowLeft")c=(i-1+t.length)%t.length;else if(s.key==="Home")c=0;else if(s.key==="End")c=t.length-1;else return;s.preventDefault(),x(t[c].id),u.current[c]?.focus()};return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"page-chrome legal-page__chrome",children:[e.jsx(C,{to:"/",className:"page-link-button",children:"ÐлавнаÑ"}),e.jsx("div",{className:"page-chrome__theme",children:e.jsx(M,{theme:d,onChange:f})})]}),e.jsx("main",{id:"main-content",className:"mcp-page","data-route-focus-target":!0,children:e.jsxs("article",{className:"mcp-document",children:[e.jsxs("header",{className:"mcp-document__header",children:[e.jsx("img",{src:g,alt:m.name,className:"mcp-document__logo"}),e.jsx("p",{className:"mcp-document__eyebrow",children:"MCP server"}),e.jsx("h1",{children:"Iteratio Cards Ð´Ð»Ñ Ð°Ð³ÐµÐ½Ñов"}),e.jsx("p",{className:"mcp-document__intro",children:"ÐодклÑÑение позволÑÐµÑ Ð°Ð³ÐµÐ½ÑÑ ÑоздаваÑÑ Ð¿Ð°Ð¿ÐºÐ¸ и модÑли Ñ Ð³Ð¾ÑовÑми каÑÑоÑками в Iteratio. ÐаÑÑинки необÑзаÑелÑнÑ: Ð°Ð³ÐµÐ½Ñ Ð¼Ð¾Ð¶ÐµÑ Ð´Ð¾Ð±Ð°Ð²Ð¸ÑÑ Ð¸Ñ
Ñ Ð»Ð¸Ñензией и metadata или оÑÑавиÑÑ ÐºÐ°ÑÑоÑÐºÑ Ð±ÐµÐ· изобÑажениÑ."})]}),e.jsxs("section",{className:"mcp-section","aria-labelledby":"mcp-tools-title",children:[e.jsx("h2",{id:"mcp-tools-title",children:"ЧÑо доÑÑÑпно"}),e.jsxs("ul",{children:[e.jsx("li",{children:"OAuth-авÑоÑизаÑÐ¸Ñ ÑеÑез бÑаÑÐ·ÐµÑ Ð²ÑдаÑÑ Ð°Ð³ÐµÐ½ÑÑ scoped MCP access token."}),e.jsxs("li",{children:[e.jsx("code",{children:"profile"})," показÑÐ²Ð°ÐµÑ ÑекÑÑего полÑзоваÑÐµÐ»Ñ Ð¸ меÑÑÑнÑÑ ÐºÐ²Ð¾ÑÑ."]}),e.jsxs("li",{children:[e.jsx("code",{children:"create_folder"})," ÑоздаÑÑ Ð¿Ð°Ð¿ÐºÑ."]}),e.jsxs("li",{children:[e.jsx("code",{children:"create_module"})," ÑоздаÑÑ Ð¼Ð¾Ð´ÑÐ»Ñ Ñ Ð·Ð°Ð¿Ð¾Ð»Ð½ÐµÐ½Ð½Ñми каÑÑоÑками и опÑионалÑнÑми каÑÑинками."]}),e.jsxs("li",{children:[e.jsx("code",{children:"create_exercises"})," добавлÑÐµÑ Ð³Ð¾ÑовÑе ÑпÑÐ°Ð¶Ð½ÐµÐ½Ð¸Ñ Ð´Ð»Ñ Ñозданного модÑлÑ."]})]})]}),e.jsxs("section",{className:"mcp-section","aria-labelledby":"mcp-config-title",children:[e.jsx("h2",{id:"mcp-config-title",children:"ÐодклÑÑение в агенÑаÑ
"}),e.jsxs("p",{children:["Remote MCP URL: ",e.jsx("code",{children:l}),". ÐоÑле Ð´Ð¾Ð±Ð°Ð²Ð»ÐµÐ½Ð¸Ñ ÑеÑÐ²ÐµÑ Ñам обÑÑвлÑÐµÑ OAuth metadata, а ÐºÐ»Ð¸ÐµÐ½Ñ Ð¾ÑкÑÑÐ²Ð°ÐµÑ Ð±ÑаÑÐ·ÐµÑ Ð´Ð»Ñ Ð°Ð²ÑоÑизаÑии в Iteratio."]}),e.jsxs("div",{className:"mcp-manual-card","aria-labelledby":"mcp-manual-title",children:[e.jsx("h3",{id:"mcp-manual-title",children:"ÐÑли заполнÑеÑе ÑоÑÐ¼Ñ Ð²ÑÑÑнÑÑ"}),e.jsxs("p",{children:["Рполе ",e.jsx("code",{children:"Name"})," пиÑеÑÑÑ ÐºÐ¾ÑоÑкое имÑ, а не URL. ÐеÑеклÑÑиÑе Ñип подклÑÑÐµÐ½Ð¸Ñ Ð½Ð° ",e.jsx("code",{children:"Streamable HTTP"})," и вÑÑавÑÑе URL в поле адÑеÑа ÑеÑвеÑа."]}),e.jsx("dl",{className:"mcp-manual-fields",children:E.map(([s,i])=>e.jsxs("div",{className:"mcp-manual-fields__row",children:[e.jsx("dt",{children:s}),e.jsx("dd",{children:e.jsx("code",{children:i})})]},s))}),e.jsx("p",{children:"ÐоÑле ÑоÑ
ÑÐ°Ð½ÐµÐ½Ð¸Ñ Ð¾ÑкÑойÑе новÑй ÑÐ°Ñ Ð¸Ð»Ð¸ обновиÑе MCP server в наÑÑÑойкаÑ
, заÑем пÑойдиÑе авÑоÑизаÑÐ¸Ñ Ð² бÑаÑзеÑе."})]}),e.jsxs("div",{className:"mcp-config-tabs",children:[e.jsx("div",{className:"mcp-config-tabs__list",role:"tablist",children:t.map((s,i)=>e.jsx("button",{type:"button",ref:c=>{u.current[i]=c},"aria-controls":`mcp-panel-${s.id}`,"aria-selected":s.id===a.id,className:"mcp-config-tabs__tab",id:`mcp-tab-${s.id}`,onClick:()=>x(s.id),onKeyDown:c=>N(c,i),role:"tab",tabIndex:s.id===a.id?0:-1,children:s.title},s.id))}),e.jsxs("section",{"aria-labelledby":`mcp-tab-${a.id}`,className:"mcp-config-card",id:`mcp-panel-${a.id}`,role:"tabpanel",children:[e.jsx("h3",{children:a.title}),a.body?e.jsx("p",{children:a.body}):null,e.jsxs("div",{className:"mcp-code-wrap",children:[e.jsxs("button",{type:"button",className:"mcp-copy-button",onClick:()=>{v()},children:[e.jsx(T,{size:16,"aria-hidden":"true"}),e.jsx("span",{children:"ÐопиÑоваÑÑ"})]}),e.jsx("pre",{className:"mcp-code","aria-label":a.ariaLabel,children:e.jsx("code",{children:a.code})})]})]})]})]}),e.jsxs("section",{className:"mcp-section","aria-labelledby":"mcp-auth-title",children:[e.jsx("h2",{id:"mcp-auth-title",children:"ÐвÑоÑизаÑиÑ"}),e.jsx("p",{children:"ÐвÑоÑизаÑÐ¸Ñ ÑепеÑÑ Ð¸Ð´ÑÑ Ð¿Ð¾ OAuth: MCP-ÐºÐ»Ð¸ÐµÐ½Ñ Ð¾ÑкÑÑÐ²Ð°ÐµÑ ÑÑÑаниÑÑ Iteratio, Ð²Ñ Ð²Ñ
одиÑе ÑеÑез обÑÑнÑй Firebase login, подÑвеÑждаеÑе доÑÑÑп, и ÐºÐ»Ð¸ÐµÐ½Ñ Ð¿Ð¾Ð»ÑÑÐ°ÐµÑ Ð¾ÑделÑнÑй MCP access token."}),!o&&!y?e.jsx("div",{className:"mcp-auth-card__actions",children:e.jsx(C,{to:"/login?next=/mcp",className:"mcp-auth-card__link",children:"ÐойÑи в Iteratio"})}):null,e.jsxs("ol",{className:"mcp-auth-steps",children:[e.jsx("li",{children:"ÐобавÑÑе remote MCP URL в агенÑ."}),e.jsxs("li",{children:["УбедиÑеÑÑ, ÑÑо ÑеÑÐ²ÐµÑ ",e.jsx("code",{children:"iteratio-cards"})," поÑвилÑÑ Ð² ÑпиÑке MCP-ÑеÑвеÑов."]}),e.jsx("li",{children:"ÐапÑÑÑиÑе авÑоÑизаÑÐ¸Ñ MCP в клиенÑе, еÑли он не оÑкÑÑл бÑаÑÐ·ÐµÑ Ð°Ð²ÑомаÑиÑеÑки."}),e.jsxs("li",{children:["ÐопÑоÑиÑе вÑзваÑÑ ",e.jsx("code",{children:"profile"}),". ÐÑли Ð°Ð³ÐµÐ½Ñ Ð¿Ð¾ÐºÐ°Ð¶ÐµÑ Ð²Ð°Ñ email и меÑÑÑнÑÑ ÐºÐ²Ð¾ÑÑ MCP-запÑоÑов, авÑоÑизаÑÐ¸Ñ Ð¿ÑоÑла."]})]}
9),e.jsx("p",{children:"ÐÑли OAuth-ÑеÑÑÐ¸Ñ Ð¸ÑÑекла или ÐºÐ»Ð¸ÐµÐ½Ñ ÑбÑоÑил ÑокенÑ, повÑоÑиÑе подклÑÑение ÑеÑез бÑаÑзеÑ."})]}),e.jsxs("section",{className:"mcp-section","aria-labelledby":"mcp-limits-title",children:[e.jsx("h2",{id:"mcp-limits-title",children:"ÐгÑаниÑениÑ"}),e.jsxs("ul",{children:[e.jsx("li",{children:"ÐоÑÑÑпно 5 ÑÑпеÑнÑÑ
запÑоÑов ÑÐ¾Ð·Ð´Ð°Ð½Ð¸Ñ Ð¼Ð¾Ð´ÑÐ»Ñ Ð² меÑÑÑ."}),e.jsx("li",{children:"Ðдин модÑÐ»Ñ Ð¼Ð¾Ð¶ÐµÑ ÑодеÑжаÑÑ Ð´Ð¾ 200 каÑÑоÑек."}),e.jsxs("li",{children:["ÐаÑÑинки вклÑÑÐµÐ½Ñ Ð² Ñежиме ",e.jsx("code",{children:"auto"}),": еÑли Ð°Ð³ÐµÐ½Ñ Ð½Ðµ наÑÑл легалÑнÑй иÑÑоÑник Ñ metadata, модÑÐ»Ñ Ð²ÑÑ Ñавно ÑоздаÑÑÑÑ."]}),e.jsx("li",{children:"ÐÐ»Ñ ÑоÑ
ÑанÑнной каÑÑинки нÑÐ¶Ð½Ñ provider, source page, license, license URL и review status."})]})]}),e.jsxs("footer",{className:"mcp-document__footer",children:[e.jsxs("a",{href:"https://developers.openai.com/codex/mcp",target:"_blank",rel:"noopener noreferrer",children:["ÐокÑменÑаÑÐ¸Ñ Codex MCP",e.jsx(n,{size:15,"aria-hidden":"true"})]}),e.jsxs("a",{href:"https://code.claude.com/docs/en/mcp",target:"_blank",rel:"noopener noreferrer",children:["ÐокÑменÑаÑÐ¸Ñ Claude Code MCP",e.jsx(n,{size:15,"aria-hidden":"true"})]}),e.jsxs("a",{href:"https://docs.cursor.com/context/model-context-protocol",target:"_blank",rel:"noopener noreferrer",children:["ÐокÑменÑаÑÐ¸Ñ Cursor MCP",e.jsx(n,{size:15,"aria-hidden":"true"})]}),e.jsxs("a",{href:"/llms.txt",children:["llms.txt",e.jsx(n,{size:15,"aria-hidden":"true"})]})]})]})})]})}export{J as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.