[{"data":1,"prerenderedAt":259},["ShallowReactive",2],{"docs-navigation":3,"docs-\u002Fdocs\u002Fusage\u002Fmcp-servers":94,"docs-surround-\u002Fdocs\u002Fusage\u002Fmcp-servers":254},[4],{"title":5,"path":6,"stem":7,"children":8,"page":34},"Docs","\u002Fdocs","docs",[9,35,60,81],{"title":10,"path":11,"stem":12,"children":13,"page":34},"Get Started","\u002Fdocs\u002Fget-started","docs\u002F1.get-started",[14,18,22,26,30],{"title":15,"path":16,"stem":17},"Introduction","\u002Fdocs\u002Fget-started\u002Fintroduction","docs\u002F1.get-started\u002F1.introduction",{"title":19,"path":20,"stem":21},"Concepts","\u002Fdocs\u002Fget-started\u002Fconcepts","docs\u002F1.get-started\u002F2.concepts",{"title":23,"path":24,"stem":25},"Installation","\u002Fdocs\u002Fget-started\u002Finstallation","docs\u002F1.get-started\u002F3.installation",{"title":27,"path":28,"stem":29},"Setup","\u002Fdocs\u002Fget-started\u002Fsetup","docs\u002F1.get-started\u002F4.setup",{"title":31,"path":32,"stem":33},"Maintenance","\u002Fdocs\u002Fget-started\u002Fmaintenance","docs\u002F1.get-started\u002F5.maintenance",false,{"title":36,"path":37,"stem":38,"children":39,"page":34},"Usage","\u002Fdocs\u002Fusage","docs\u002F2.usage",[40,44,48,52,56],{"title":41,"path":42,"stem":43},"Projects","\u002Fdocs\u002Fusage\u002Fprojects","docs\u002F2.usage\u002F1.projects",{"title":45,"path":46,"stem":47},"Workflows","\u002Fdocs\u002Fusage\u002Fworkflows","docs\u002F2.usage\u002F2.workflows",{"title":49,"path":50,"stem":51},"Triggers","\u002Fdocs\u002Fusage\u002Ftriggers","docs\u002F2.usage\u002F3.triggers",{"title":53,"path":54,"stem":55},"AI Agent","\u002Fdocs\u002Fusage\u002Fagent","docs\u002F2.usage\u002F4.agent",{"title":57,"path":58,"stem":59},"MCP Servers","\u002Fdocs\u002Fusage\u002Fmcp-servers","docs\u002F2.usage\u002F5.mcp-servers",{"title":61,"path":62,"stem":63,"children":64,"page":34},"Integrations","\u002Fdocs\u002Fintegrations","docs\u002F3.integrations",[65,69,73,77],{"title":66,"path":67,"stem":68},"GitHub","\u002Fdocs\u002Fintegrations\u002Fgithub","docs\u002F3.integrations\u002F1.github",{"title":70,"path":71,"stem":72},"Jira","\u002Fdocs\u002Fintegrations\u002Fjira","docs\u002F3.integrations\u002F2.jira",{"title":74,"path":75,"stem":76},"Plane","\u002Fdocs\u002Fintegrations\u002Fplane","docs\u002F3.integrations\u002F3.plane",{"title":78,"path":79,"stem":80},"Linear","\u002Fdocs\u002Fintegrations\u002Flinear","docs\u002F3.integrations\u002F4.linear",{"title":82,"path":83,"stem":84,"children":85,"page":34},"Resources","\u002Fdocs\u002Fresources","docs\u002F4.resources",[86,90],{"title":87,"path":88,"stem":89},"Beta Testers","\u002Fdocs\u002Fresources\u002Fbeta-testers","docs\u002F4.resources\u002F1.beta-testers",{"title":91,"path":92,"stem":93},"Troubleshooting","\u002Fdocs\u002Fresources\u002Ftroubleshooting","docs\u002F4.resources\u002F2.troubleshooting",{"id":95,"title":57,"body":96,"description":248,"extension":249,"meta":250,"navigation":251,"path":58,"seo":252,"stem":59,"__hash__":253},"docs_en\u002Fdocs\u002F2.usage\u002F5.mcp-servers.md",{"type":97,"value":98,"toc":240},"minimark",[99,111,118,123,126,143,146,150,153,156,160,163,215,218,221,224,230,233,237],[100,101,102,103,110],"p",{},"The agent can use the tools of remote ",[104,105,109],"a",{"href":106,"rel":107},"https:\u002F\u002Fmodelcontextprotocol.io\u002Fdocs\u002Fgetting-started\u002Fintro",[108],"nofollow","MCP servers",", for example to read a stack trace from Sentry or a spec from Notion. It decides itself when to call them, like any other tool.",[100,112,113],{},[114,115],"img",{"alt":116,"src":117},"The MCP servers list in the agent settings of a project with two project servers and a global server, and the ready-made servers below it","\u002Fassets\u002Fknecht-mcp-servers-project.png",[119,120,122],"h2",{"id":121},"where-they-apply","Where They Apply",[100,124,125],{},"Servers are set up in two places:",[127,128,129,137],"ul",{},[130,131,132,136],"li",{},[133,134,135],"strong",{},"Settings > Agent:"," the server applies to every project.",[130,138,139,142],{},[133,140,141],{},"The project's agent settings:"," the server applies to this project only. A project server with the same name as a global one replaces it in this project.",[100,144,145],{},"In a project, the list also shows the global servers. Their switch turns one off for this project only; the arrow leads to the global settings to edit it. Only owners add, edit, and remove servers.",[119,147,149],{"id":148},"adding-a-server","Adding a Server",[100,151,152],{},"\"Add custom server\" takes any remote server by its URL. Below it, ready-made servers for Sentry, Context7, Notion, and Cloudflare already know their URL and sign-in. Knecht only offers servers that the vendor runs itself.",[100,154,155],{},"The name is how the agent sees the server's tools: up to 32 lowercase letters, digits, and dashes, starting with a letter. \"Test connection\" in a server's menu checks that it answers and lists its tools.",[119,157,159],{"id":158},"authentication","Authentication",[100,161,162],{},"The dialog's \"Authentication\" field picks how Knecht signs in:",[164,165,166,179],"table",{},[167,168,169],"thead",{},[170,171,172,176],"tr",{},[173,174,175],"th",{},"Method",[173,177,178],{},"Use it for",[180,181,182,191,199,207],"tbody",{},[170,183,184,188],{},[185,186,187],"td",{},"None",[185,189,190],{},"Public servers, for example Context7 with lower rate limits.",[170,192,193,196],{},[185,194,195],{},"Token",[185,197,198],{},"A ready-made server with an API key or token from the vendor.",[170,200,201,204],{},[185,202,203],{},"Headers",[185,205,206],{},"A custom server that expects its own headers, for example an API key.",[170,208,209,212],{},[185,210,211],{},"OAuth",[185,213,214],{},"Signing in with the vendor's account in the browser.",[100,216,217],{},"A ready-made server offers the methods its vendor supports, a custom server None, Headers, and OAuth.",[100,219,220],{},"With OAuth, \"Connect\" registers Knecht with the server and opens its sign-in. The row then shows who connected it and when, and the agent works with the rights of that account. Knecht refreshes the access token before it expires. When the refresh fails, the row shows the reason and \"Reconnect\". A working connection keeps working until a reconnect is finished.",[100,222,223],{},"Some servers do not let clients register themselves. For those, turn on \"Use my own OAuth client\", create a client at the vendor with the shown \"Redirect URL\", and enter its client ID and secret.",[225,226,227],"note",{},[100,228,229],{},"The sign-in redirects back to the dashboard. Many vendors only accept HTTPS or localhost as a redirect address, so an instance on another plain HTTP address is better connected with a token.",[100,231,232],{},"Tokens, header values, and OAuth credentials are stored encrypted and only shown as a preview after saving. The agent gets them as environment variables, never written into its config file.",[119,234,236],{"id":235},"when-a-server-fails","When a Server Fails",[100,238,239],{},"Knecht checks every server before each AI step. A server that does not answer, or whose sign-in expired, is left out of that step, and the run's transcript gets a notice with the reason. The step runs without that server's tools instead of failing.",{"title":241,"searchDepth":242,"depth":242,"links":243},"",2,[244,245,246,247],{"id":121,"depth":242,"text":122},{"id":148,"depth":242,"text":149},{"id":158,"depth":242,"text":159},{"id":235,"depth":242,"text":236},"Give the agent the tools of remote MCP servers, set up for every project or for one.","md",{},true,{"title":57,"description":248},"tWYDPYMipFq-QeAYx0jqekPIwGf8q7m2mH5TV7DTaLw",[255,257],{"title":53,"path":54,"stem":55,"description":256,"children":-1},"How the agent works inside your project and how to steer it.",{"title":66,"path":67,"stem":68,"description":258,"children":-1},"Everything you need to know about the GitHub integration. What it can do and how to set it up.",1795726804160]