{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-mcp-server/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["callout"]},"type":"markdown"},"seo":{"title":"Karzoun MCP Server","description":"Developer API, partner integration, MCP, SDK, and customer help center.","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"karzoun-mcp-server","__idx":0},"children":["Karzoun MCP Server"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Give AI assistants ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["structured access"]}," to your Karzoun workspace — customers, tags, products, users, webhooks, and more — through the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://modelcontextprotocol.io/"},"children":["Model Context Protocol"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["@karzounchat/mcp-server"]}," package maps the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["public GraphQL API"]}," to MCP tools ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["one-to-one"]},". When an agent calls ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["customers"]},", it runs the same operation you would send from the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://karzoun.chat/developer/playground"},"children":["Playground"]}," or your backend."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Package:"]}," ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://www.npmjs.com/package/@karzounchat/mcp-server"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["@karzounchat/mcp-server"]}]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Source:"]}," ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://github.com/KarzounApps/mcp-server"},"children":["KarzounApps/mcp-server"]}]},{"$$mdtype":"Tag","name":"Callout","attributes":{"type":"tip","title":"Video overview"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Coming soon:"]}," ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["Karzoun MCP in 3 minutes"]}," — what MCP is, when to use stdio vs hosted, and a live Cursor demo. ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["(Embed placeholder)"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"choose-your-setup","__idx":1},"children":["Choose your setup"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Local (stdio)"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Hosted (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/mcp"]},")"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Best for"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Cursor, Claude Desktop, local dev"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Backend agents, automations, SaaS workers"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Runs as"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["npx @karzounchat/mcp-server"]}," on your machine"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["HTTP on Karzoun gateway"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Token lives"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["MCP config ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["env"]}," (your laptop)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Your server only — never the browser"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Setup guide"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/mcp-server/setup/cursor"},"children":["Cursor"]}," · ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/mcp-server/setup/claude-desktop"},"children":["Claude Desktop"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/mcp-server/setup/ai-connectors"},"children":["AI connectors"]}," · ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/mcp-server/setup/hosted"},"children":["Hosted MCP"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Mermaid","attributes":{"data-language":"mermaid","diagramSource":"flowchart LR\n  subgraph Local[\"Local IDE\"]\n    C[Cursor / Claude]\n    STDIO[stdio MCP server]\n    C <--> STDIO\n  end\n\n  subgraph Cloud[\"Your backend\"]\n    AG[Agent / worker]\n  end\n\n  subgraph Karzoun[\"Karzoun\"]\n    MCP[\"/mcp endpoint\"]\n    GQL[GraphQL API]\n    MCP --> GQL\n  end\n\n  STDIO --> GQL\n  AG --> MCP\n","diagramHtml":"<div class=\"mermaid\" data-processed=\"true\"><svg id=\"mermaid-1782217768059\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" class=\"flowchart\" style=\"max-width: 758.6875px;\" viewBox=\"0 0 758.6875 294\" role=\"graphics-document document\" aria-roledescription=\"flowchart-v2\"><style>#mermaid-1782217768059{font-family:\"trebuchet ms\",verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-1782217768059 .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-1782217768059 .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-1782217768059 .error-icon{fill:#552222;}#mermaid-1782217768059 .error-text{fill:#552222;stroke:#552222;}#mermaid-1782217768059 .edge-thickness-normal{stroke-width:1px;}#mermaid-1782217768059 .edge-thickness-thick{stroke-width:3.5px;}#mermaid-1782217768059 .edge-pattern-solid{stroke-dasharray:0;}#mermaid-1782217768059 .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-1782217768059 .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-1782217768059 .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-1782217768059 .marker{fill:#333333;stroke:#333333;}#mermaid-1782217768059 .marker.cross{stroke:#333333;}#mermaid-1782217768059 svg{font-family:\"trebuchet ms\",verdana,arial,sans-serif;font-size:16px;}#mermaid-1782217768059 p{margin:0;}#mermaid-1782217768059 .label{font-family:\"trebuchet ms\",verdana,arial,sans-serif;color:#333;}#mermaid-1782217768059 .cluster-label text{fill:#333;}#mermaid-1782217768059 .cluster-label span{color:#333;}#mermaid-1782217768059 .cluster-label span p{background-color:transparent;}#mermaid-1782217768059 .label text,#mermaid-1782217768059 span{fill:#333;color:#333;}#mermaid-1782217768059 .node rect,#mermaid-1782217768059 .node circle,#mermaid-1782217768059 .node ellipse,#mermaid-1782217768059 .node polygon,#mermaid-1782217768059 .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-1782217768059 .rough-node .label text,#mermaid-1782217768059 .node .label text,#mermaid-1782217768059 .image-shape .label,#mermaid-1782217768059 .icon-shape .label{text-anchor:middle;}#mermaid-1782217768059 .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-1782217768059 .rough-node .label,#mermaid-1782217768059 .node .label,#mermaid-1782217768059 .image-shape .label,#mermaid-1782217768059 .icon-shape .label{text-align:center;}#mermaid-1782217768059 .node.clickable{cursor:pointer;}#mermaid-1782217768059 .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-1782217768059 .arrowheadPath{fill:#333333;}#mermaid-1782217768059 .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-1782217768059 .flowchart-link{stroke:#333333;fill:none;}#mermaid-1782217768059 .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-1782217768059 .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-1782217768059 .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-1782217768059 .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-1782217768059 .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-1782217768059 .cluster text{fill:#333;}#mermaid-1782217768059 .cluster span{color:#333;}#mermaid-1782217768059 div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\"trebuchet ms\",verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-1782217768059 .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-1782217768059 rect.text{fill:none;stroke-width:0;}#mermaid-1782217768059 .icon-shape,#mermaid-1782217768059 .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-1782217768059 .icon-shape p,#mermaid-1782217768059 .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-1782217768059 .icon-shape rect,#mermaid-1782217768059 .image-shape rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-1782217768059 .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-1782217768059 .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-1782217768059 :root{--mermaid-font-family:\"trebuchet ms\",verdana,arial,sans-serif;}</style><g><marker id=\"mermaid-1782217768059_flowchart-v2-pointEnd\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"5\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"8\" markerHeight=\"8\" orient=\"auto\"><path d=\"M 0 0 L 10 5 L 0 10 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"mermaid-1782217768059_flowchart-v2-pointStart\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"4.5\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"8\" markerHeight=\"8\" orient=\"auto\"><path d=\"M 0 5 L 10 10 L 10 0 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"mermaid-1782217768059_flowchart-v2-circleEnd\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"11\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"mermaid-1782217768059_flowchart-v2-circleStart\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"-1\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"mermaid-1782217768059_flowchart-v2-crossEnd\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 11 11\" refX=\"12\" refY=\"5.2\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><path d=\"M 1,1 l 9,9 M 10,1 l -9,9\" class=\"arrowMarkerPath\" style=\"stroke-width: 2; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"mermaid-1782217768059_flowchart-v2-crossStart\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 11 11\" refX=\"-1\" refY=\"5.2\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><path d=\"M 1,1 l 9,9 M 10,1 l -9,9\" class=\"arrowMarkerPath\" style=\"stroke-width: 2; stroke-dasharray: 1, 0;\"></path></marker><g class=\"root\"><g class=\"clusters\"><g class=\"cluster\" id=\"Karzoun\" data-look=\"classic\"><rect style=\"\" x=\"284\" y=\"8\" width=\"466.6875\" height=\"134\"></rect><g class=\"cluster-label\" transform=\"translate(486.3515625, 8)\"><foreignObject width=\"61.984375\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Karzoun</p></span></div></foreignObject></g></g><g class=\"cluster\" id=\"Cloud\" data-look=\"classic\"><rect style=\"\" x=\"8\" y=\"8\" width=\"226\" height=\"124\"></rect><g class=\"cluster-label\" transform=\"translate(69.7890625, 8)\"><foreignObject width=\"102.421875\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Your backend</p></span></div></foreignObject></g></g><g class=\"cluster\" id=\"Local\" data-look=\"classic\"><rect style=\"\" x=\"8\" y=\"162\" width=\"511.859375\" height=\"124\"></rect><g class=\"cluster-label\" transform=\"translate(230.078125, 162)\"><foreignObject width=\"67.703125\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Local IDE</p></span></div></foreignObject></g></g></g><g class=\"edgePaths\"><path d=\"M213,224L216.5,224C220,224,227,224,234.667,224C242.333,224,250.667,224,259,224C267.333,224,275.667,224,283.333,224C291,224,298,224,301.5,224L305,224\" id=\"L_C_STDIO_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_C_STDIO_0\" data-points=\"W3sieCI6MjA5LCJ5IjoyMjR9LHsieCI6MjM0LCJ5IjoyMjR9LHsieCI6MjU5LCJ5IjoyMjR9LHsieCI6Mjg0LCJ5IjoyMjR9LHsieCI6MzA5LCJ5IjoyMjR9XQ==\" marker-start=\"url(#mermaid-1782217768059_flowchart-v2-pointStart)\" marker-end=\"url(#mermaid-1782217768059_flowchart-v2-pointEnd)\"></path><path d=\"M486.852,70L492.353,70C497.854,70,508.857,70,518.525,70C528.193,70,536.526,70,544.196,70.34C551.866,70.681,558.872,71.362,562.375,71.702L565.878,72.042\" id=\"L_MCP_GQL_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_MCP_GQL_0\" data-points=\"W3sieCI6NDg2Ljg1MTU2MjUsInkiOjcwfSx7IngiOjUxOS44NTkzNzUsInkiOjcwfSx7IngiOjU0NC44NTkzNzUsInkiOjcwfSx7IngiOjU2OS44NTkzNzUsInkiOjcyLjQyOTIxMTI2NTQ2NzI1fV0=\" marker-end=\"url(#mermaid-1782217768059_flowchart-v2-pointEnd)\"></path><path d=\"M494.859,224L499.026,224C503.193,224,511.526,224,519.859,203.5C528.193,183,536.526,142,544.206,120.783C551.886,99.566,558.913,98.132,562.427,97.415L565.94,96.698\" id=\"L_STDIO_GQL_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_STDIO_GQL_0\" data-points=\"W3sieCI6NDk0Ljg1OTM3NSwieSI6MjI0fSx7IngiOjUxOS44NTkzNzUsInkiOjIyNH0seyJ4Ijo1NDQuODU5Mzc1LCJ5IjoxMDF9LHsieCI6NTY5Ljg1OTM3NSwieSI6OTUuODk4NjU2MzQyNTE4Nzl9XQ==\" marker-end=\"url(#mermaid-1782217768059_flowchart-v2-pointEnd)\"></path><path d=\"M205.992,70L210.66,70C215.328,70,224.664,70,233.499,70C242.333,70,250.667,70,259,70C267.333,70,275.667,70,284.668,70C293.669,70,303.339,70,308.173,70L313.008,70\" id=\"L_AG_MCP_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_AG_MCP_0\" data-points=\"W3sieCI6MjA1Ljk5MjE4NzUsInkiOjcwfSx7IngiOjIzNCwieSI6NzB9LHsieCI6MjU5LCJ5Ijo3MH0seyJ4IjoyODQsInkiOjcwfSx7IngiOjMxNy4wMDc4MTI1LCJ5Ijo3MH1d\" marker-end=\"url(#mermaid-1782217768059_flowchart-v2-pointEnd)\"></path></g><g class=\"edgeLabels\"><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_C_STDIO_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_MCP_GQL_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_STDIO_GQL_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_AG_MCP_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g></g><g class=\"nodes\"><g class=\"node default\" id=\"flowchart-C-0\" transform=\"translate(121, 224)\"><rect class=\"basic label-container\" style=\"\" x=\"-88\" y=\"-27\" width=\"176\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-58, -12)\"><rect></rect><foreignObject width=\"116\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Cursor / Claude</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"flowchart-STDIO-1\" transform=\"translate(401.9296875, 224)\"><rect class=\"basic label-container\" style=\"\" x=\"-92.9296875\" y=\"-27\" width=\"185.859375\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-62.9296875, -12)\"><rect></rect><foreignObject width=\"125.859375\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>stdio MCP server</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"flowchart-AG-4\" transform=\"translate(121, 70)\"><rect class=\"basic label-container\" style=\"\" x=\"-84.9921875\" y=\"-27\" width=\"169.984375\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-54.9921875, -12)\"><rect></rect><foreignObject width=\"109.984375\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Agent / worker</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"flowchart-MCP-5\" transform=\"translate(401.9296875, 70)\"><rect class=\"basic label-container\" style=\"\" x=\"-84.921875\" y=\"-27\" width=\"169.84375\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-54.921875, -12)\"><rect></rect><foreignObject width=\"109.84375\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>/mcp endpoint</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"flowchart-GQL-6\" transform=\"translate(647.7734375, 80)\"><rect class=\"basic label-container\" style=\"\" x=\"-77.9140625\" y=\"-27\" width=\"155.828125\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-47.9140625, -12)\"><rect></rect><foreignObject width=\"95.828125\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>GraphQL API</p></span></div></foreignObject></g></g></g></g></g></svg></div>"},"children":["flowchart LR\n  subgraph Local[\"Local IDE\"]\n    C[Cursor / Claude]\n    STDIO[stdio MCP server]\n    C <--> STDIO\n  end\n\n  subgraph Cloud[\"Your backend\"]\n    AG[Agent / worker]\n  end\n\n  subgraph Karzoun[\"Karzoun\"]\n    MCP[\"/mcp endpoint\"]\n    GQL[GraphQL API]\n    MCP --> GQL\n  end\n\n  STDIO --> GQL\n  AG --> MCP\n"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"prerequisites","__idx":2},"children":["Prerequisites"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["App token"]}," — Create in ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Developer → Apps"]}," (",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/developers/getting-started/authentication"},"children":["authentication guide"]},")"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["GraphQL URL"]}," — ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://{subdomain}.api.karzoun.chat/graphql"]}," (",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/developers/getting-started/quickstart"},"children":["quickstart"]},")"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Permissions"]}," — Scope the app to the operations your agent needs"]}]},{"$$mdtype":"Tag","name":"Callout","attributes":{"type":"warning","title":"Not a replacement for GraphQL"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["MCP is a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["convenience layer for AI clients"]},". Production integrations that do not need an LLM should call GraphQL or ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/developers/guides/webhooks"},"children":["webhooks"]}," directly."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"start-here","__idx":3},"children":["Start here"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Step"},"children":["Step"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Guide"},"children":["Guide"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["1"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/mcp-server/guides/how-it-works"},"children":["How it works"]}," — Tools, auth, and responses"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["2"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Pick a setup: ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/mcp-server/setup/cursor"},"children":["Cursor"]},", ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/mcp-server/setup/ai-connectors"},"children":["AI connectors"]}," (Claude, Manus, ChatGPT…), or ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/mcp-server/setup/hosted"},"children":["Hosted"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["3"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/mcp-server/guides/agent-patterns"},"children":["Agent patterns"]}," — Prompts that work well"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["4"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/mcp-server/tools/_generated/catalog"},"children":["Tool catalog"]}," — All ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["75+"]}," operations"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"configuration-reference","__idx":4},"children":["Configuration reference"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Variable"},"children":["Variable"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Required"},"children":["Required"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["KARZOUN_API_URL"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["GraphQL endpoint URL"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["KARZOUN_APP_TOKEN"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["App JWT from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["appsAdd"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["KARZOUN_MCP_TOOL_PREFIX"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Limit tools (e.g. ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tags"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["customers"]},")"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["KARZOUN_MCP_MAX_RESPONSE_BYTES"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Response cap (default: 524288)"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Older environment variable names from previous releases are still accepted as fallbacks."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"related","__idx":5},"children":["Related"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/mcp-server/setup/security"},"children":["Security"]}," — Token handling and permissions"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/mcp-server/guides/troubleshooting"},"children":["Troubleshooting"]}," — Common MCP errors"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/developers"},"children":["Developers hub"]}," — API, webhooks, playground"]}]}]},"headings":[{"value":"Karzoun MCP Server","id":"karzoun-mcp-server","depth":1},{"value":"Choose your setup","id":"choose-your-setup","depth":2},{"value":"Prerequisites","id":"prerequisites","depth":2},{"value":"Start here","id":"start-here","depth":2},{"value":"Configuration reference","id":"configuration-reference","depth":2},{"value":"Related","id":"related","depth":2}],"frontmatter":{"title":"MCP","titleTranslationKey":"products.mcp","description":"Connect Cursor, Claude, and server-side agents to Karzoun via Model Context Protocol.","audience":"developer","status":"published","locales":["en","ar"],"seo":{"title":"Karzoun MCP Server"}},"lastModified":"2026-06-23T14:20:16.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/mcp-server","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}