[{"data":1,"prerenderedAt":287},["ShallowReactive",2],{"navigation_docs":3,"-integrations-mcp-gateway":102,"-integrations-mcp-gateway-surround":282},[4,26,77],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":25},"Getting Started","i-lucide-rocket","\u002Fgetting-started","1.getting-started",[10,15,20],{"title":11,"path":12,"stem":13,"icon":14},"Overview","\u002Fgetting-started\u002Foverview","1.getting-started\u002F1.overview","i-lucide-info",{"title":16,"path":17,"stem":18,"icon":19},"Platform Navigation","\u002Fgetting-started\u002Fplatform-navigation","1.getting-started\u002F2.platform-navigation","i-lucide-compass",{"title":21,"path":22,"stem":23,"icon":24},"Quickstart","\u002Fgetting-started\u002Fquickstart","1.getting-started\u002F3.quickstart","i-lucide-play-circle",false,{"title":27,"icon":28,"path":29,"stem":30,"children":31,"page":25},"Features","i-lucide-star","\u002Ffeatures","2.features",[32,37,42,47,52,57,62,67,72],{"title":33,"path":34,"stem":35,"icon":36},"Feature Overview","\u002Ffeatures\u002Foverview","2.features\u002F1.overview","i-lucide-list",{"title":38,"path":39,"stem":40,"icon":41},"Company Setup","\u002Ffeatures\u002Fcompany-setup","2.features\u002F2.company-setup","i-lucide-building-2",{"title":43,"path":44,"stem":45,"icon":46},"Applications","\u002Ffeatures\u002Fapplications","2.features\u002F3.applications","i-lucide-box",{"title":48,"path":49,"stem":50,"icon":51},"Observability","\u002Ffeatures\u002Fobservability","2.features\u002F4.observability","i-lucide-activity",{"title":53,"path":54,"stem":55,"icon":56},"Guardrails","\u002Ffeatures\u002Fguardrails","2.features\u002F5.guardrails","i-lucide-shield-alert",{"title":58,"path":59,"stem":60,"icon":61},"Data Integrations","\u002Ffeatures\u002Fdata-integrations","2.features\u002F6.data-integrations","i-lucide-database",{"title":63,"path":64,"stem":65,"icon":66},"Models and Routing","\u002Ffeatures\u002Fmodels-and-routing","2.features\u002F7.models-and-routing","i-lucide-git-branch",{"title":68,"path":69,"stem":70,"icon":71},"Governance","\u002Ffeatures\u002Fgovernance","2.features\u002F8.governance","i-lucide-shield-check",{"title":73,"path":74,"stem":75,"icon":76},"Tools","\u002Ffeatures\u002Ftools","2.features\u002F9.tools","i-lucide-wrench",{"title":78,"icon":79,"path":80,"stem":81,"children":82,"page":25},"Integrations","i-lucide-plug","\u002Fintegrations","3.integrations",[83,88,92,97],{"title":84,"path":85,"stem":86,"icon":87},"Using the API","\u002Fintegrations\u002Fapi-usage","3.integrations\u002F3.api-usage","i-lucide-terminal-square",{"title":89,"path":90,"stem":91,"icon":79},"Test an MCP connection","\u002Fintegrations\u002Fmcp-gateway","3.integrations\u002F4.mcp-gateway",{"title":93,"path":94,"stem":95,"icon":96},"API Keys","\u002Fintegrations\u002Fapi-keys","3.integrations\u002Fapi-keys","i-lucide-key-round",{"title":98,"path":99,"stem":100,"icon":101},"Providers","\u002Fintegrations\u002Fproviders","3.integrations\u002Fproviders","i-lucide-cpu",{"id":103,"title":89,"body":104,"description":275,"extension":276,"links":277,"meta":278,"navigation":279,"path":90,"seo":280,"stem":91,"__hash__":281},"docs\u002F3.integrations\u002F4.mcp-gateway.md",{"type":105,"value":106,"toc":272},"minimark",[107,120,123,126,221,232,237,261,268],[108,109,110,111,115,116,119],"p",{},"Use the ",[112,113,114],"strong",{},"MCP"," quick start in ",[112,117,118],{},"Applications -> your application -> Credentials"," to test a new application API key. Copy its cURL command and run it in a terminal. It lists the tools available to that application; the URL shown there is separate from the Gateway API URL.",[108,121,122],{},"The command includes the key because Optiak shows its full value only once. Treat the copied command as a secret; do not share or commit it.",[108,124,125],{},"You can also run the check with values stored in environment variables:",[127,128,133],"pre",{"className":129,"code":130,"language":131,"meta":132,"style":132},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","curl \"$OPTIAK_MCP_URL\" \\\n  -H \"Authorization: Bearer $OPTIAK_API_KEY\" \\\n  -H \"Accept: application\u002Fjson, text\u002Fevent-stream\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"tools\u002Flist\"}'\n","bash","",[134,135,136,159,178,192,206],"code",{"__ignoreMap":132},[137,138,141,145,149,153,156],"span",{"class":139,"line":140},"line",1,[137,142,144],{"class":143},"sBMFI","curl",[137,146,148],{"class":147},"sMK4o"," \"",[137,150,152],{"class":151},"sTEyZ","$OPTIAK_MCP_URL",[137,154,155],{"class":147},"\"",[137,157,158],{"class":151}," \\\n",[137,160,162,166,168,171,174,176],{"class":139,"line":161},2,[137,163,165],{"class":164},"sfazB","  -H",[137,167,148],{"class":147},[137,169,170],{"class":164},"Authorization: Bearer ",[137,172,173],{"class":151},"$OPTIAK_API_KEY",[137,175,155],{"class":147},[137,177,158],{"class":151},[137,179,181,183,185,188,190],{"class":139,"line":180},3,[137,182,165],{"class":164},[137,184,148],{"class":147},[137,186,187],{"class":164},"Accept: application\u002Fjson, text\u002Fevent-stream",[137,189,155],{"class":147},[137,191,158],{"class":151},[137,193,195,197,199,202,204],{"class":139,"line":194},4,[137,196,165],{"class":164},[137,198,148],{"class":147},[137,200,201],{"class":164},"Content-Type: application\u002Fjson",[137,203,155],{"class":147},[137,205,158],{"class":151},[137,207,209,212,215,218],{"class":139,"line":208},5,[137,210,211],{"class":164},"  -d",[137,213,214],{"class":147}," '",[137,216,217],{"class":164},"{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"tools\u002Flist\"}",[137,219,220],{"class":147},"'\n",[108,222,223,224,227,228,231],{},"Set ",[134,225,226],{},"OPTIAK_MCP_URL"," to the URL in the quick start. It ends in ",[134,229,230],{},"\u002Fmcp",".",[233,234,236],"h2",{"id":235},"read-the-result","Read the result",[238,239,240,248,251],"ul",{},[241,242,243,244,247],"li",{},"A successful response has a ",[134,245,246],{},"result.tools"," list. An empty list means the connection works but no tools are currently available to that application.",[241,249,250],{},"If authentication fails, check that the key belongs to this application and has not expired or been revoked.",[241,252,253,254,257,258,231],{},"If tools are missing, check that the setup is active, assigned to the application, enabled in ",[112,255,256],{},"Modules -> Tools",", and that any external connection is ready. See ",[259,260,73],"a",{"href":74},[108,262,263,264,267],{},"MCP clients use the same gateway URL and application key. The client must support Streamable HTTP and an ",[134,265,266],{},"Authorization: Bearer \u003Capplication-api-key>"," header.",[269,270,271],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}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":132,"searchDepth":161,"depth":161,"links":273},[274],{"id":235,"depth":161,"text":236},"Check that an application key can reach the Optiak MCP gateway and list its tools.","md",null,{},{"icon":79},{"title":89,"description":275},"J342kMHWRo4GxggXtvMn5KnkS1Px0C2wFanj2Yc8oUM",[283,285],{"title":84,"path":85,"stem":86,"description":284,"icon":87,"children":-1},"How to call Optiak from your application.",{"title":93,"path":94,"stem":95,"description":286,"icon":96,"children":-1},"How to manage your API keys in Optiak.",1790696496444]