[{"data":1,"prerenderedAt":603},["ShallowReactive",2],{"docs-navigation-en-US":3,"/docs/mcp/connection":73,"/docs/mcp/connection-surround":598},[4],{"title":5,"path":6,"stem":7,"children":8,"page":26},"Docs","/docs","docs",[9,27,56,65],{"title":10,"path":11,"stem":12,"children":13,"page":26},"Getting Started","/docs/start","docs/1.start",[14,18,22],{"title":15,"path":16,"stem":17},"Quick Start","/docs/start/quick-start","docs/1.start/1.quick-start",{"title":19,"path":20,"stem":21},"Choosing an Integration","/docs/start/guide","docs/1.start/2.guide",{"title":23,"path":24,"stem":25},"Glossary","/docs/start/glossary","docs/1.start/3.glossary",false,{"title":28,"path":29,"stem":30,"children":31,"page":26},"Open API","/docs/api","docs/2.api",[32,36,40,44,48,52],{"title":33,"path":34,"stem":35},"V1 API Common Conventions","/docs/api/conventions","docs/2.api/1.conventions",{"title":37,"path":38,"stem":39},"Models API","/docs/api/models","docs/2.api/2.models",{"title":41,"path":42,"stem":43},"Text API","/docs/api/text","docs/2.api/3.text",{"title":45,"path":46,"stem":47},"Images API","/docs/api/images","docs/2.api/4.images",{"title":49,"path":50,"stem":51},"Videos API","/docs/api/videos","docs/2.api/5.videos",{"title":53,"path":54,"stem":55},"Audio API","/docs/api/audio","docs/2.api/6.audio",{"title":57,"path":58,"stem":59,"children":60,"page":26},"MCP Service","/docs/mcp","docs/3.mcp",[61],{"title":62,"path":63,"stem":64},"MCP Connection & Configuration","/docs/mcp/connection","docs/3.mcp/1.connection",{"title":66,"path":67,"stem":68,"children":69,"page":26},"Skills","/docs/skills","docs/4.skills",[70],{"title":66,"path":71,"stem":72},"/docs/skills/skills-intro","docs/4.skills/1.skills-intro",{"id":74,"title":62,"body":75,"description":592,"extension":593,"meta":594,"navigation":595,"path":63,"seo":596,"stem":64,"__hash__":597},"docs/docs/3.mcp/1.connection.md",{"type":76,"value":77,"toc":583},"minimark",[78,82,85,90,112,114,118,121,260,317,323,325,329,332,378,381,383,387,411,422,424,428,431,456,459,472,474,478,566,568,572,579],[79,80,81],"p",{},"This document describes how to connect to and configure the Guid AI MCP service.",[83,84],"hr",{},[86,87,89],"h2",{"id":88},"prerequisites","Prerequisites",[91,92,93,102,109],"ol",{},[94,95,96,97,101],"li",{},"A valid API Key (",[98,99,100],"code",{},"sk-xxx",")",[94,103,104,105,108],{},"The gateway is deployed and exposes the ",[98,106,107],{},"/mcp"," endpoint",[94,110,111],{},"The client supports MCP Streamable HTTP",[83,113],{},[86,115,117],{"id":116},"client-configuration","Client configuration",[79,119,120],{},"Add the following to your MCP config:",[122,123,128],"pre",{"className":124,"code":125,"language":126,"meta":127,"style":127},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"mcpServers\": {\n    \"guid\": {\n      \"url\": \"https://www.guid.ai/mcp\",\n      \"headers\": {\n        \"Authorization\": \"Bearer sk-xxx\"\n      }\n    }\n  }\n}\n","json","",[98,129,130,139,158,174,200,214,236,242,248,254],{"__ignoreMap":127},[131,132,135],"span",{"class":133,"line":134},"line",1,[131,136,138],{"class":137},"sMK4o","{\n",[131,140,142,145,149,152,155],{"class":133,"line":141},2,[131,143,144],{"class":137},"  \"",[131,146,148],{"class":147},"spNyl","mcpServers",[131,150,151],{"class":137},"\"",[131,153,154],{"class":137},":",[131,156,157],{"class":137}," {\n",[131,159,161,164,168,170,172],{"class":133,"line":160},3,[131,162,163],{"class":137},"    \"",[131,165,167],{"class":166},"sBMFI","guid",[131,169,151],{"class":137},[131,171,154],{"class":137},[131,173,157],{"class":137},[131,175,177,180,184,186,188,191,195,197],{"class":133,"line":176},4,[131,178,179],{"class":137},"      \"",[131,181,183],{"class":182},"sbssI","url",[131,185,151],{"class":137},[131,187,154],{"class":137},[131,189,190],{"class":137}," \"",[131,192,194],{"class":193},"sfazB","https://www.guid.ai/mcp",[131,196,151],{"class":137},[131,198,199],{"class":137},",\n",[131,201,203,205,208,210,212],{"class":133,"line":202},5,[131,204,179],{"class":137},[131,206,207],{"class":182},"headers",[131,209,151],{"class":137},[131,211,154],{"class":137},[131,213,157],{"class":137},[131,215,217,220,224,226,228,230,233],{"class":133,"line":216},6,[131,218,219],{"class":137},"        \"",[131,221,223],{"class":222},"swJcz","Authorization",[131,225,151],{"class":137},[131,227,154],{"class":137},[131,229,190],{"class":137},[131,231,232],{"class":193},"Bearer sk-xxx",[131,234,235],{"class":137},"\"\n",[131,237,239],{"class":133,"line":238},7,[131,240,241],{"class":137},"      }\n",[131,243,245],{"class":133,"line":244},8,[131,246,247],{"class":137},"    }\n",[131,249,251],{"class":133,"line":250},9,[131,252,253],{"class":137},"  }\n",[131,255,257],{"class":133,"line":256},10,[131,258,259],{"class":137},"}\n",[261,262,263,276],"table",{},[264,265,266],"thead",{},[267,268,269,273],"tr",{},[270,271,272],"th",{},"Field",[270,274,275],{},"Description",[277,278,279,292,304],"tbody",{},[267,280,281,287],{},[282,283,284],"td",{},[98,285,286],{},"mcpServers.guid",[282,288,289,290],{},"Service key name; recommended value is ",[98,291,167],{},[267,293,294,298],{},[282,295,296],{},[98,297,183],{},[282,299,300,301,303],{},"Gateway address + ",[98,302,107],{},"; must share the same origin as the API Base URL",[267,305,306,311],{},[282,307,308],{},[98,309,310],{},"headers.Authorization",[282,312,313,316],{},[98,314,315],{},"Bearer"," + your API Key",[79,318,319,320,322],{},"Replace ",[98,321,100],{}," with your API Key.",[83,324],{},[86,326,328],{"id":327},"session-management","Session management",[79,330,331],{},"MCP Streamable HTTP uses sessions:",[261,333,334,343],{},[264,335,336],{},[267,337,338,341],{},[270,339,340],{},"Item",[270,342,275],{},[277,344,345,357,368],{},[267,346,347,350],{},[282,348,349],{},"First request",[282,351,352,353,356],{},"Server returns ",[98,354,355],{},"Mcp-Session-Id"," in the response headers",[267,358,359,362],{},[282,360,361],{},"Subsequent requests",[282,363,364,365,367],{},"Client must send the same ",[98,366,355],{}," in request headers",[267,369,370,373],{},[282,371,372],{},"End session",[282,374,375],{},[98,376,377],{},"DELETE /mcp",[79,379,380],{},"Client SDKs usually manage sessions automatically.",[83,382],{},[86,384,386],{"id":385},"authentication","Authentication",[388,389,390,398,401],"ul",{},[94,391,392,393],{},"Auth is identical to the ",[394,395,397],"a",{"href":396},"../api/conventions#authentication","V1 API",[94,399,400],{},"Shares the same API Key billing, limits, and model restrictions",[94,402,403,404,407,408,101],{},"Admins may append ",[98,405,406],{},"-{channelId}"," after the Key to select a channel (e.g. ",[98,409,410],{},"sk-xxx-6",[79,412,413,414,417,418,421],{},"Auth failures return HTTP ",[98,415,416],{},"401"," / ",[98,419,420],{},"403",".",[83,423],{},[86,425,427],{"id":426},"verify-the-connection","Verify the connection",[79,429,430],{},"After configuration, verify via the MCP protocol:",[91,432,433,448],{},[94,434,435,436,439,440,443,444,447],{},"Call ",[98,437,438],{},"tools/list"," and confirm Tools such as ",[98,441,442],{},"list_models"," and ",[98,445,446],{},"generate_image"," are returned",[94,449,435,450,452,453],{},[98,451,442],{}," and confirm returned models include ",[98,454,455],{},"supported_endpoint_types",[79,457,458],{},"If the Tool list is empty or missing expected Tools, check:",[388,460,461,464,467],{},[94,462,463],{},"Whether the API Key is valid and the balance is sufficient",[94,465,466],{},"Whether the token restricts available models",[94,468,469,470],{},"Whether models support the corresponding ",[98,471,455],{},[83,473],{},[86,475,477],{"id":476},"troubleshooting","Troubleshooting",[261,479,480,493],{},[264,481,482],{},[267,483,484,487,490],{},[270,485,486],{},"Symptom",[270,488,489],{},"Likely cause",[270,491,492],{},"Action",[277,494,495,509,520,535,550],{},[267,496,497,500,503],{},[282,498,499],{},"Connection failed",[282,501,502],{},"Wrong URL or gateway not running",[282,504,505,506,508],{},"Check Base URL and ",[98,507,107],{}," reachability",[267,510,511,514,517],{},[282,512,513],{},"401 / 403",[282,515,516],{},"Invalid Key or IP not on allowlist",[282,518,519],{},"Check token settings",[267,521,522,525,528],{},[282,523,524],{},"Tool list missing image/video",[282,526,527],{},"No permission for those models",[282,529,435,530,532,533],{},[98,531,442],{}," and check ",[98,534,455],{},[267,536,537,540,543],{},[282,538,539],{},"Video stuck in queued",[282,541,542],{},"Upstream queue",[282,544,545,546,549],{},"Poll at ",[98,547,548],{},"next_poll_after_sec"," intervals; avoid overly frequent requests",[267,551,552,555,558],{},[282,553,554],{},"TTS returns an error",[282,556,557],{},"Invalid voice",[282,559,435,560,563,564],{},[98,561,562],{},"list_audio_voices"," first to get the correct ",[98,565,98],{},[83,567],{},[86,569,571],{"id":570},"related-docs","Related docs",[388,573,574],{},[94,575,576],{},[394,577,15],{"href":578},"../start/quick-start",[580,581,582],"style",{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":127,"searchDepth":141,"depth":141,"links":584},[585,586,587,588,589,590,591],{"id":88,"depth":141,"text":89},{"id":116,"depth":141,"text":117},{"id":327,"depth":141,"text":328},{"id":385,"depth":141,"text":386},{"id":426,"depth":141,"text":427},{"id":476,"depth":141,"text":477},{"id":570,"depth":141,"text":571},"How to connect to and configure the Guid AI MCP service","md",{},true,{"title":62,"description":592},"9VTG3wF4zwZqGkkeW3lWXIg167CiQEw7XCwp41wuqHo",[599,601],{"title":53,"path":54,"stem":55,"description":600,"children":-1},"Text-to-speech (TTS) and voice list queries",{"title":66,"path":71,"stem":72,"description":602,"children":-1},"Install the guid-ai-skills package to call multimodal generation from Agent conversations",1785407605936]