@capagents/forgeqe 3.1.2 → 3.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/HOW_TO_USE.md +5003 -2077
- package/README.md +155 -449
- package/dist/docs-site/docs/app-theme.css +30 -9
- package/dist/docs-site/docs/architecture/index.html +45 -515
- package/dist/docs-site/docs/architecture-reference/index.html +1781 -0
- package/dist/docs-site/docs/area-api/index.html +257 -116
- package/dist/docs-site/docs/area-automated-tests/index.html +1229 -419
- package/dist/docs-site/docs/area-browser/index.html +167 -125
- package/dist/docs-site/docs/area-data/index.html +178 -188
- package/dist/docs-site/docs/area-desktop/index.html +329 -282
- package/dist/docs-site/docs/area-mobile/index.html +138 -86
- package/dist/docs-site/docs/area-operations/index.html +567 -393
- package/dist/docs-site/docs/area-pull-requests/index.html +114 -32
- package/dist/docs-site/docs/area-quality/index.html +111 -49
- package/dist/docs-site/docs/area-release/index.html +180 -65
- package/dist/docs-site/docs/area-setup/index.html +742 -339
- package/dist/docs-site/docs/area-systems/index.html +32 -48
- package/dist/docs-site/docs/area-test-cases/index.html +387 -154
- package/dist/docs-site/docs/containers/index.html +87 -101
- package/dist/docs-site/docs/cost-architecture/index.html +4 -3
- package/dist/docs-site/docs/custom-agents-first-run/index.html +108 -50
- package/dist/docs-site/docs/desktop/index.html +277 -297
- package/dist/docs-site/docs/desktop-ci/index.html +15 -5
- package/dist/docs-site/docs/docs-tabs.js +56 -0
- package/dist/docs-site/docs/evidence/index.html +50 -49
- package/dist/docs-site/docs/feature-test-prompts/index.html +34 -24
- package/dist/docs-site/docs/get-started/index.html +464 -168
- package/dist/docs-site/docs/graphify/index.html +8 -7
- package/dist/docs-site/docs/guardrails/index.html +20 -4
- package/dist/docs-site/docs/index.html +4 -3
- package/dist/docs-site/docs/mobile/index.html +96 -76
- package/dist/docs-site/docs/model-routing/index.html +44 -18
- package/dist/docs-site/docs/overview/index.html +23 -7
- package/dist/docs-site/docs/product-graph/index.html +13 -12
- package/dist/docs-site/docs/product-knowledge/index.html +16 -5
- package/dist/docs-site/docs/product-views/index.html +7 -6
- package/dist/docs-site/docs/reference/index.html +95 -65
- package/dist/docs-site/docs/search.js +1 -1
- package/dist/docs-site/docs/using/index.html +444 -126
- package/dist/docs-site/docs/web-app/index.html +54 -51
- package/dist/forgeqe.js +1822 -1822
- package/dist/web/assets/Agent-3pV8Rwap.js +8 -0
- package/dist/web/assets/AgentWork-DAnmH0My.js +2 -0
- package/dist/web/assets/ApiTests-DW4MRFzG.js +10 -0
- package/dist/web/assets/Browse-Bd0ZZfc2.js +1 -0
- package/dist/web/assets/Chat-DnBUm_97.js +3 -0
- package/dist/web/assets/CommandPalette-B1O9aDTk.js +1 -0
- package/dist/web/assets/Compare-1v7_ca7z.js +1 -0
- package/dist/web/assets/Cost-CWrc4McH.js +1 -0
- package/dist/web/assets/Data-rWSiG4Cq.js +6 -0
- package/dist/web/assets/Desktop-3x6EQqos.js +1 -0
- package/dist/web/assets/DesktopReview-cSA10Rm3.js +1 -0
- package/dist/web/assets/Evidence-CKy3o7cw.js +1 -0
- package/dist/web/assets/{Explore-ObkEpUyS.js → Explore-CMAxWE_8.js} +2 -2
- package/dist/web/assets/Features-haQchkhA.js +1 -0
- package/dist/web/assets/{Flags-0-RniPJm.js → Flags-BaQjYi_t.js} +2 -2
- package/dist/web/assets/Flaky-DUuC0qTn.js +1 -0
- package/dist/web/assets/Impact-CP0H8ygo.js +3 -0
- package/dist/web/assets/Jobs-cYxoYd3i.js +5 -0
- package/dist/web/assets/KindPage-DWW8gN5_.js +6 -0
- package/dist/web/assets/Migration-Bsm7WU1d.js +2 -0
- package/dist/web/assets/PageAgent-c95zT2PJ.js +1 -0
- package/dist/web/assets/Product-BQSiR28a.js +7 -0
- package/dist/web/assets/Production-CAv0Vtoy.js +1 -0
- package/dist/web/assets/Quality-aQPaPYQc.js +1 -0
- package/dist/web/assets/Readiness-CkknP87n.js +1 -0
- package/dist/web/assets/Record-09IsC9U-.js +1 -0
- package/dist/web/assets/Regression-BL4MfN47.js +5 -0
- package/dist/web/assets/RelationGraph-Dg4fqt7l.js +1 -0
- package/dist/web/assets/Reports-CMV1l-iS.js +2 -0
- package/dist/web/assets/Response-DTBFBeKB.js +9 -0
- package/dist/web/assets/Responsive-DBRQ9FUO.js +3 -0
- package/dist/web/assets/RunDiff-CMDrnsA3.js +1 -0
- package/dist/web/assets/Runs-Dkeu6_vZ.js +2 -0
- package/dist/web/assets/Settings-KjKm8h-_.js +21 -0
- package/dist/web/assets/{Steps-D-YG0eJy.js → Steps-HYHK9psI.js} +1 -1
- package/dist/web/assets/TestCases-Cv6-OSv0.js +1 -0
- package/dist/web/assets/TestData-DbEfNlUE.js +2 -0
- package/dist/web/assets/TestDebt-DzHQIU4X.js +1 -0
- package/dist/web/assets/TestManagement-BgRTGHMT.js +1 -0
- package/dist/web/assets/Tosca-DZpHAtnH.js +3 -0
- package/dist/web/assets/WhatsNew-jp0c4WSV.js +1 -0
- package/dist/web/assets/coverage-BB9BLjGz.js +5 -0
- package/dist/web/assets/{dataParts-DbeCj9ga.js → dataParts-DEPK4eQE.js} +2 -2
- package/dist/web/assets/{diff-BStuTmsN.js → diff-CcNwLCX6.js} +1 -1
- package/dist/web/assets/{families-BBFFrUlo.js → families-gkpkloLT.js} +1 -1
- package/dist/web/assets/filters-C7phIFfd.js +1 -0
- package/dist/web/assets/fold-i73P-EDV.js +1 -0
- package/dist/web/assets/head-BtTqyLlj.js +1 -0
- package/dist/web/assets/{highlight-BcFZIf59.js → highlight-DZI39CzZ.js} +1 -1
- package/dist/web/assets/index-ClFOh63x.css +2 -0
- package/dist/web/assets/index-YGWJEkAT.js +64 -0
- package/dist/web/assets/input-C2vQ9O3a.js +1 -0
- package/dist/web/assets/logos-BmbNTDu2.js +1 -0
- package/dist/web/assets/palette-XFlqvgZl.js +1 -0
- package/dist/web/assets/{paletteCommands-Co-RlQ8q.js → paletteCommands-DsbD2ASU.js} +1 -1
- package/dist/web/assets/parts-DEVx2Sea.js +1 -0
- package/dist/web/assets/productParts-Bi-XjszL.js +1 -0
- package/dist/web/assets/qualityParts-Dbu01g7G.js +1 -0
- package/dist/web/assets/{recordTest-Cez2sDJO.js → recordTest--Wr40QdN.js} +1 -1
- package/dist/web/assets/route-Dg53WdFu.js +1 -0
- package/dist/web/index.html +6 -7
- package/docs/ARCHITECTURE.md +50 -563
- package/docs/ARCHITECTURE_REFERENCE.md +1484 -0
- package/docs/CONTAINERS.md +87 -87
- package/docs/CUSTOM_AGENTS_FIRST_RUN.md +125 -43
- package/docs/DESKTOP-CI.md +18 -3
- package/docs/DESKTOP.md +298 -297
- package/docs/MOBILE.md +103 -71
- package/docs/MODEL_ROUTING.md +48 -15
- package/docs/WEB_APP.md +49 -44
- package/docs/feature-test-prompts.md +29 -16
- package/docs/user-guide.html +5263 -2453
- package/guardrails/README.md +22 -2
- package/knowledge/README.md +15 -2
- package/package.json +1 -1
- package/prompts/brain.md +1 -0
- package/py/forgeqe_engine/recordsession.py +100 -24
- package/dist/web/assets/Agent-CPhmZdFX.js +0 -8
- package/dist/web/assets/AgentWork-BXdN9xgi.js +0 -2
- package/dist/web/assets/ApiTests-Do3xLjfB.js +0 -10
- package/dist/web/assets/Browse-WVkJT6Bs.js +0 -2
- package/dist/web/assets/Chat-CDc9UcQX.js +0 -3
- package/dist/web/assets/CommandPalette-BAZm62lV.js +0 -1
- package/dist/web/assets/Compare-Br6n9T9L.js +0 -1
- package/dist/web/assets/Cost-BBUyBu3Y.js +0 -1
- package/dist/web/assets/Data-Ch2DPEWp.js +0 -6
- package/dist/web/assets/Desktop-Qzoq-cQv.js +0 -1
- package/dist/web/assets/DesktopReview-CF_jQYAM.js +0 -1
- package/dist/web/assets/Evidence-C72Lj5_Q.js +0 -1
- package/dist/web/assets/Features-CQzNo_WP.js +0 -1
- package/dist/web/assets/Flaky-BPJvNLCA.js +0 -1
- package/dist/web/assets/Impact-CfccsL_k.js +0 -3
- package/dist/web/assets/Jobs-T6m4zhDy.js +0 -5
- package/dist/web/assets/KindPage-BDUvWe2p.js +0 -6
- package/dist/web/assets/Migration-Dqeh4x5u.js +0 -2
- package/dist/web/assets/PageAgent-DNjzIgeY.js +0 -1
- package/dist/web/assets/Product-nYV_scOV.js +0 -7
- package/dist/web/assets/Production-CGSbEWVa.js +0 -1
- package/dist/web/assets/Quality-BIypojZm.js +0 -1
- package/dist/web/assets/Readiness-BlRjwJRg.js +0 -1
- package/dist/web/assets/Record-v2KLI-_Z.js +0 -1
- package/dist/web/assets/Regression-B-jSt4Jz.js +0 -5
- package/dist/web/assets/RelationGraph-8J98lOVG.js +0 -1
- package/dist/web/assets/Reports-GI4u6SyW.js +0 -2
- package/dist/web/assets/Response-mhBThq2b.js +0 -9
- package/dist/web/assets/Responsive-DXu7Ra7K.js +0 -3
- package/dist/web/assets/RunDiff-D0SHDNp0.js +0 -1
- package/dist/web/assets/Runs-C1Gjdi9M.js +0 -2
- package/dist/web/assets/Settings-BGGeuvyF.js +0 -21
- package/dist/web/assets/TestCases-DC4w77eQ.js +0 -1
- package/dist/web/assets/TestData-CvKWRVVV.js +0 -2
- package/dist/web/assets/TestDebt-D8YzN29_.js +0 -1
- package/dist/web/assets/TestManagement-C5cDCqrD.js +0 -1
- package/dist/web/assets/Tosca-BGUv3RiJ.js +0 -3
- package/dist/web/assets/WhatsNew-B_Gyuv8O.js +0 -1
- package/dist/web/assets/coverage-BMP6ELFJ.js +0 -5
- package/dist/web/assets/filters-CnAMr286.js +0 -1
- package/dist/web/assets/fold-D_O_VZui.js +0 -1
- package/dist/web/assets/head-CRo48rPt.js +0 -1
- package/dist/web/assets/index-B3JsM7tv.js +0 -64
- package/dist/web/assets/index-CafApcbZ.css +0 -2
- package/dist/web/assets/input-CtzK50ZF.js +0 -1
- package/dist/web/assets/line-icons-rdF8DYDJ.js +0 -1
- package/dist/web/assets/logos-D4oVWzqa.js +0 -1
- package/dist/web/assets/palette-DAaGSao7.js +0 -1
- package/dist/web/assets/parts-D357Wolo.js +0 -1
- package/dist/web/assets/productParts-B8oHRCJF.js +0 -1
- package/dist/web/assets/qualityParts-BLkmIfDY.js +0 -1
- package/dist/web/assets/route-BloYJWgw.js +0 -1
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
<link rel="stylesheet" href="../docs.css">
|
|
12
12
|
<script src="../search.js" defer></script>
|
|
13
13
|
<script src="../docs.js" defer></script>
|
|
14
|
+
<script src="../docs-tabs.js" defer></script>
|
|
14
15
|
<link rel="stylesheet" href="../../app-look.css">
|
|
15
16
|
<link rel="stylesheet" href="../app-theme.css">
|
|
16
17
|
</head>
|
|
@@ -112,25 +113,31 @@
|
|
|
112
113
|
<div class="container docs-layout">
|
|
113
114
|
<nav class="docs-side" aria-label="Docs">
|
|
114
115
|
<a class="side-home" href="../index.html" aria-current="page"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg>Docs home</a>
|
|
115
|
-
<div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="../area-quality/index.html"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="../area-desktop/index.html"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="../area-setup/index.html"><span>Setup and configuration</span></a></li><li><a href="../area-operations/index.html"><span>Operations and monitoring</span></a></li><li><a href="../area-data/index.html"><span>Test data and databases</span></a></li><li><a href="../area-pull-requests/index.html"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li
|
|
116
|
+
<div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="../area-quality/index.html"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="../area-desktop/index.html"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="../area-setup/index.html"><span>Setup and configuration</span></a></li><li><a href="../area-operations/index.html"><span>Operations and monitoring</span></a></li><li><a href="../area-data/index.html"><span>Test data and databases</span></a></li><li><a href="../area-pull-requests/index.html"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li></ul></div><div class="side-group"><p class="side-head">How ForgeQE works</p><ul><li><a href="../area-systems/index.html"><span>Connected systems</span></a></li><li><a href="../architecture/index.html"><span>How ForgeQE works</span></a></li><li><a href="../../architecture-map/index.html"><span>Architecture map</span></a></li><li><a href="../../security/index.html"><span>Security and data flows</span></a></li><li><a href="../guardrails/index.html"><span>Guardrails</span></a></li></ul></div><div class="side-group"><p class="side-head">Look it up</p><ul><li><a href="index.html" aria-current="page"><span>Reference</span></a></li></ul></div><div class="side-group"><p class="side-head">For contributors</p><ul><li><a href="../architecture-reference/index.html"><span>Architecture reference</span></a></li><li><a href="../product-graph/index.html"><span>Product knowledge graph</span></a></li><li><a href="../product-views/index.html"><span>Product views</span></a></li><li><a href="../graphify/index.html"><span>Reading product code</span></a></li><li><a href="../evidence/index.html"><span>Evidence</span></a></li><li><a href="../cost-architecture/index.html"><span>Cost-aware execution</span></a></li></ul></div>
|
|
116
117
|
</nav>
|
|
117
118
|
<main id="main" class="docs-main guide chapter-page">
|
|
118
119
|
<p class="crumbs"><a href="../index.html">Docs</a><span>/</span>Look it up</p>
|
|
119
|
-
<div class="page-bar"><details class="bar-menu"><summary>Docs menu</summary><nav class="bar-panel" aria-label="Docs menu"><div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="../area-quality/index.html"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="../area-desktop/index.html"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="../area-setup/index.html"><span>Setup and configuration</span></a></li><li><a href="../area-operations/index.html"><span>Operations and monitoring</span></a></li><li><a href="../area-data/index.html"><span>Test data and databases</span></a></li><li><a href="../area-pull-requests/index.html"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li
|
|
120
|
+
<div class="page-bar"><details class="bar-menu"><summary>Docs menu</summary><nav class="bar-panel" aria-label="Docs menu"><div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="../area-quality/index.html"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="../area-desktop/index.html"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="../area-setup/index.html"><span>Setup and configuration</span></a></li><li><a href="../area-operations/index.html"><span>Operations and monitoring</span></a></li><li><a href="../area-data/index.html"><span>Test data and databases</span></a></li><li><a href="../area-pull-requests/index.html"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li></ul></div><div class="side-group"><p class="side-head">How ForgeQE works</p><ul><li><a href="../area-systems/index.html"><span>Connected systems</span></a></li><li><a href="../architecture/index.html"><span>How ForgeQE works</span></a></li><li><a href="../../architecture-map/index.html"><span>Architecture map</span></a></li><li><a href="../../security/index.html"><span>Security and data flows</span></a></li><li><a href="../guardrails/index.html"><span>Guardrails</span></a></li></ul></div><div class="side-group"><p class="side-head">Look it up</p><ul><li><a href="index.html" aria-current="page"><span>Reference</span></a></li></ul></div><div class="side-group"><p class="side-head">For contributors</p><ul><li><a href="../architecture-reference/index.html"><span>Architecture reference</span></a></li><li><a href="../product-graph/index.html"><span>Product knowledge graph</span></a></li><li><a href="../product-views/index.html"><span>Product views</span></a></li><li><a href="../graphify/index.html"><span>Reading product code</span></a></li><li><a href="../evidence/index.html"><span>Evidence</span></a></li><li><a href="../cost-architecture/index.html"><span>Cost-aware execution</span></a></li></ul></div></nav></details><details class="bar-toc"><summary>On this page</summary><nav class="bar-panel" aria-label="On this page"><ul><li><a href="#doc-how_to_use-10-mcp">MCP</a></li><li><a href="#doc-how_to_use-12-engine-tuning">Engine tuning</a></li><li><a href="#doc-how_to_use-13-logs-for-debugging">Logs for debugging</a></li><li><a href="#doc-how_to_use-14-env-overrides">Env overrides</a></li></ul></nav></details></div>
|
|
120
121
|
<h1 class="topic-h"><svg class="pix pix--title ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg>Reference</h1>
|
|
121
122
|
<p class="guide-lead">MCP, tuning, logs, environment variables, and every command</p>
|
|
122
123
|
<section class="doc" id="doc-how_to_use-10-mcp">
|
|
123
124
|
<h3>MCP</h3>
|
|
124
125
|
<div class="prose"></div>
|
|
125
|
-
<section class="doc sub" id="doc-how_to_use-servers-forgeqes-agent-connects-to"><h4>Servers ForgeQE's agent connects to</h4><div class="prose"><p>
|
|
126
|
-
<p><strong>Every tool, without paying for every tool.</strong> Each server is started with everything it has: Azure DevOps with all its tool groups, Jira and Confluence with
|
|
126
|
+
<section class="doc sub" id="doc-how_to_use-servers-forgeqes-agent-connects-to"><h4>Servers ForgeQE's agent connects to</h4><div class="prose"><p>ForgeQE's agent connects to an MCP server for each system set up under <code>sources:</code>. The server settings come from the same place as everything else: the organization and project, the site URL, and the names of the environment variables that hold the tokens. You don't write MCP config for these: set up the system under <strong>Settings › Integrations</strong> in the web app, or under <code>sources:</code> in <code>forgeqe.yaml</code>.</p>
|
|
127
|
+
<p><strong>Every tool, without paying for every tool.</strong> Each server is started with everything it has: Azure DevOps with all its tool groups, Jira and Confluence with every toolset, GitHub with every toolset. Every tool given to the model is sent with each of its requests (GitHub's are about 79K tokens, Jira's and Confluence's about 29K, Azure DevOps' about 21K), so a turn gets only the groups of tools its request needs:</p>
|
|
127
128
|
<ul>
|
|
128
|
-
<li>ForgeQE asks each server for its tools when the session starts
|
|
129
|
-
<li>A turn gets a group when its request names what the group is about ("create a PR", "the current sprint", "dependabot alerts"), when its tools ran in the last turns, or when the agent asks for it
|
|
130
|
-
<li>A small server (under about 3K tokens) is one group, on every turn. A server ForgeQE could not ask keeps all its tools on every turn
|
|
129
|
+
<li>ForgeQE asks each server for its tools when the session starts, keeps the list for a week, and groups the tools by their names. A group is named <code><server>:<group></code>, such as <code>github:pull-request</code> or <code>atlassian:jira-sprint</code>.</li>
|
|
130
|
+
<li>A turn gets a group when its request names what the group is about ("create a PR", "the current sprint", "dependabot alerts"), when its tools ran in the last turns, or when the agent asks for it. Every group is in the list of what the agent can use, so none is out of reach and the browser is never the way round a missing tool. A request that names a system ("the GitHub repository", "in Azure DevOps") gets that system's groups, not another's.</li>
|
|
131
|
+
<li>A small server (under about 3K tokens) is one group, on every turn. A server ForgeQE could not ask keeps all its tools on every turn.</li>
|
|
131
132
|
<li><code>agent.capabilities.always</code> and <code>off</code> take group ids too: <code>always: [github:issue]</code>, <code>off: [github:copilot]</code>.</li>
|
|
132
133
|
</ul>
|
|
133
|
-
<p><strong>Azure DevOps.</strong> Microsoft's <a href="https://github.com/microsoft/azure-devops-mcp" class="ext" rel="noopener">Azure DevOps MCP server</a>,
|
|
134
|
+
<p><strong>Azure DevOps.</strong> Microsoft's <a href="https://github.com/microsoft/azure-devops-mcp" class="ext" rel="noopener">Azure DevOps MCP server</a>, with every tool group it has: projects and teams (<code>azure-devops:core</code>), iterations and boards (<code>azure-devops:work</code>), work items (<code>azure-devops:wit</code>), pipelines (<code>azure-devops:pipeline</code>), repositories and pull requests (<code>azure-devops:repo</code>), wiki (<code>azure-devops:wiki</code>), test plans (<code>azure-devops:testplan</code>), search (<code>azure-devops:search</code>), and security alerts (<code>azure-devops:advsec</code>). Each comes, and the server connects, only on a turn that needs it.</p>
|
|
135
|
+
<ul>
|
|
136
|
+
<li>ForgeQE's own tools also make dashboards, write wiki pages in a project without a wiki, open and review pull requests, and read anything else, such as classic releases.</li>
|
|
137
|
+
<li>The organization comes from <code>org_url</code> (<code>https://dev.azure.com/acme</code> or <code>https://acme.visualstudio.com</code>). ForgeQE passes the PAT from <code>token_env</code> (default <code>ADO_PAT</code>); without a PAT it uses your <code>az login</code> session.</li>
|
|
138
|
+
<li><code>mcp_domains</code> says which groups are on every turn (default none; <code>[core, work, work-items, pipelines]</code> is about 21 tools and 10.7K tokens a request, <code>[all]</code> about 21K). <code>agent.capabilities.off</code> switches a group off for good (<code>[azure-devops:advsec]</code>).</li>
|
|
139
|
+
<li>It needs Node.js. Azure DevOps Server (on-premises) isn't supported by Microsoft's server, so ForgeQE uses its own API calls there.</li>
|
|
140
|
+
</ul>
|
|
134
141
|
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">sources:
|
|
135
142
|
</span></span><span class="ln"><span class="cmd"> azure_devops:
|
|
136
143
|
</span></span><span class="ln ln--pair"><span class="cmd"> org_url: https://dev.azure.com/acme</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the MCP server takes the organization, not a project
|
|
@@ -139,45 +146,60 @@
|
|
|
139
146
|
</span></span><span class="ln ln--pair"><span class="cmd"> mcp: true</span><span class="pad"> </span><span class="cm"><span class="h">#</span> false: API only
|
|
140
147
|
</span></span><span class="ln ln--pair"><span class="cmd"> mcp_domains: [core, work, work-items, pipelines, repositories]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> optional: groups on every turn; the others come when needed
|
|
141
148
|
</span></span></code></pre></div>
|
|
142
|
-
<p>Microsoft's server has no dashboard tools and can't save queries. Ask for a dashboard ("create a dashboard in QI-Payments with all defects in every state and the current sprint's stories") and ForgeQE
|
|
143
|
-
<p>Microsoft's wiki tools
|
|
144
|
-
<p><strong>Jira.</strong>
|
|
149
|
+
<p><strong>Azure DevOps dashboards.</strong> Microsoft's server has no dashboard tools and can't save queries. Ask for a dashboard ("create a dashboard in QI-Payments with all defects in every state and the current sprint's stories") and ForgeQE makes it through the REST API with <code>ADO_PAT</code>: it runs each WIQL query once to check it, saves it as a shared query under <code>Shared Queries/ForgeQE</code> (updating one of the same name), and creates a team or project dashboard with a work item list or count tile per query, plus optional markdown text. The PAT needs Work Items (read and write) and permission to edit dashboards. Chart widgets cannot be made through the API; for those the agent uses the browser, which has to be signed in to <code>dev.azure.com</code> (<code>forgeqe login <name></code> with a login for it under <code>logins:</code>).</p>
|
|
150
|
+
<p><strong>Azure DevOps wiki pages.</strong> Microsoft's wiki tools only work in a wiki that already exists; in a project without one they answer "No wiki found". Ask for a wiki page and ForgeQE writes it through the REST API instead. If the project has no wiki, it creates the project wiki (<code><Project>.wiki</code>) first, then any missing parent pages (empty), then the page itself. A page that already exists is replaced. Code wikis are written on their published branch. The PAT needs Wiki (read and write). A login added to <code>forgeqe.yaml</code> while ForgeQE is running is picked up the next time the agent lists logins or signs in.</p>
|
|
151
|
+
<p><strong>Jira.</strong> The community Jira server (<code>mcp: mcp-atlassian</code>, the default), for Jira Cloud (<code>JIRA_EMAIL</code> and an API token in <code>JIRA_API_TOKEN</code>) and Server/Data Center (a personal access token in <code>token_env</code>). It gets and searches issues (JQL), creates and updates issues, and handles comments, transitions and fields. For Jira Cloud you can use Atlassian's hosted <a href="https://github.com/atlassian/atlassian-mcp-server" class="ext" rel="noopener">Rovo MCP server</a> instead with <code>mcp: rovo</code>. It authenticates with your email and API token, but an organization admin must first turn on API token authentication for it. The community server (and the Confluence one) needs <a href="https://docs.astral.sh/uv/" class="ext" rel="noopener">uv</a> on this computer, since it runs with <code>uvx</code>; without it, ForgeQE says so and its own Jira tools cover it.</p>
|
|
145
152
|
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">sources:
|
|
146
153
|
</span></span><span class="ln"><span class="cmd"> jira:
|
|
147
154
|
</span></span><span class="ln"><span class="cmd"> url: https://acme.atlassian.net
|
|
148
155
|
</span></span><span class="ln ln--pair"><span class="cmd"> mcp: mcp-atlassian</span><span class="pad"> </span><span class="cm"><span class="h">#</span> rovo | false
|
|
149
156
|
</span></span></code></pre></div>
|
|
150
|
-
<p><strong>Xray.</strong> Xray has no official MCP server, so ForgeQE's own tools cover it. You can add a community server
|
|
151
|
-
<p><strong>GitLab, BrowserStack, Postman, Azure, AWS, Google Cloud, Dataverse, Sentry and TestMu AI.</strong> Their vendors' own MCP servers
|
|
157
|
+
<p><strong>Xray.</strong> Xray has no official MCP server, so ForgeQE's own tools cover it. You can add a community server as another server (below) if you want one.</p>
|
|
158
|
+
<p><strong>GitLab, BrowserStack, Postman, Azure, AWS, Google Cloud, Dataverse, Sentry and TestMu AI.</strong> Their vendors' own MCP servers. All nine are listed whether set up or not.</p>
|
|
159
|
+
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
160
|
+
<ol>
|
|
161
|
+
<li>Open <strong>Settings › MCP servers</strong>.</li>
|
|
162
|
+
<li>Press <strong>Set up</strong> on a server's card and fill in its fields, or <strong>Edit</strong> to change one. <strong>Edit</strong> also has its sign-in where the server offers one.</li>
|
|
163
|
+
<li>Press <strong>Test</strong> to check the connection (GitLab, BrowserStack, Postman, Sentry and TestMu AI, once signed in). Azure, AWS, Google Cloud and Dataverse sign in on this computer when the agent starts them.</li>
|
|
164
|
+
</ol>
|
|
165
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
166
|
+
<p>Set them under <code>integrations:</code> in <code>forgeqe.yaml</code> (each <code>true</code> for its defaults, or a map; see <code>forgeqe.example.yaml</code>):</p>
|
|
152
167
|
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">integrations:
|
|
153
168
|
</span></span><span class="ln ln--pair"><span class="cmd"> gitlab: { url: https://gitlab.acme.com, token_env: GITLAB_TOKEN }</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a fine-grained PAT with the MCP permission
|
|
154
169
|
</span></span><span class="ln ln--pair"><span class="cmd"> browserstack: true</span><span class="pad"> </span><span class="cm"><span class="h">#</span> BROWSERSTACK_USERNAME, BROWSERSTACK_ACCESS_KEY
|
|
155
170
|
</span></span><span class="ln ln--pair"><span class="cmd"> postman: { region: eu }</span><span class="pad"> </span><span class="cm"><span class="h">#</span> POSTMAN_API_KEY
|
|
156
171
|
</span></span><span class="ln ln--pair"><span class="cmd"> azure: { namespaces: [storage] }</span><span class="pad"> </span><span class="cm"><span class="h">#</span> az login; read-only unless read_only: false
|
|
157
|
-
</span></span><span class="ln ln--pair"><span class="cmd"> aws: true</span><span class="pad"> </span><span class="cm"><span class="h">#</span> AWS MCP Server
|
|
158
|
-
</span></span><span class="ln ln--pair"><span class="cmd"> gcp: { allow: [pubsub topics publish] }</span><span class="pad"> </span><span class="cm"><span class="h">#</span> gcloud
|
|
172
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> aws: true</span><span class="pad"> </span><span class="cm"><span class="h">#</span> AWS MCP Server through AWS's proxy; read-only unless read_only: false
|
|
173
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> gcp: { allow: [pubsub topics publish] }</span><span class="pad"> </span><span class="cm"><span class="h">#</span> gcloud auth login; reads, plus the commands listed
|
|
159
174
|
</span></span><span class="ln ln--pair"><span class="cmd"> dataverse: { url: https://acme.crm.dynamics.com }</span><span class="pad"> </span><span class="cm"><span class="h">#</span> npx @microsoft/dataverse@1.0.82 auth create --environment <url>, once
|
|
160
175
|
</span></span><span class="ln ln--pair"><span class="cmd"> sentry: { organization: acme }</span><span class="pad"> </span><span class="cm"><span class="h">#</span> SENTRY_ACCESS_TOKEN; url: for self-hosted Sentry
|
|
161
176
|
</span></span><span class="ln ln--pair"><span class="cmd"> testmu: true</span><span class="pad"> </span><span class="cm"><span class="h">#</span> TestMu AI (LambdaTest), hosted; forgeqe auth login testmu, in the browser
|
|
162
177
|
</span></span></code></pre></div>
|
|
163
|
-
<
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
178
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe auth login gitlab</span><span class="pad"> </span><span class="cm"><span class="h">#</span> sign in in the browser instead of a token (also postman, sentry, browserstack, testmu)
|
|
179
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe auth login azure</span><span class="pad"> </span><span class="cm"><span class="h">#</span> sign in through the Azure CLI (also dataverse)
|
|
180
|
+
</span></span></code></pre></div>
|
|
181
|
+
</div></div><p><strong>About these servers.</strong></p>
|
|
182
|
+
<ul>
|
|
183
|
+
<li>GitLab's, Postman's and TestMu AI's servers are hosted (GitLab's is on your GitLab, at <code>/api/v4/mcp</code>); the others run on this computer with <code>npx</code>, so they need Node.js.</li>
|
|
184
|
+
<li>Instead of a token, GitLab, Postman (US), Sentry (sentry.io) and BrowserStack can be signed in to in the browser, and then use the vendor's hosted server. Azure and Dataverse sign in through their CLIs.</li>
|
|
185
|
+
<li>TestMu AI's server takes only its browser sign-in, never a key; its remote browsers and devices still use the user name and access key.</li>
|
|
186
|
+
<li>Their tools show to the agent as <code>gitlab_*</code>, <code>browserstack_*</code>, <code>postman_*</code>, <code>azure_*</code>, <code>aws_*</code>, <code>gcp_*</code>, <code>dataverse_*</code>, <code>sentry_*</code> and <code>testmu_*</code>. A custom agent gets them only through <code>scope.systems</code>, where a tool the server does not mark read-only is a change a person approves.</li>
|
|
187
|
+
</ul>
|
|
188
|
+
<p><strong>The clouds' servers.</strong> Each is the vendor's own, pinned to an exact release, and signs in as this computer's account for that cloud: ForgeQE passes no key, and <code>forgeqe.yaml</code> takes none (a key like <code>secret_access_key</code> stops it loading). They read by default, and the account's own permissions stay the real limit: give them a reader role where you can.</p>
|
|
167
189
|
<ul>
|
|
168
|
-
<li><strong>AWS</strong> is AWS's managed AWS MCP Server, reached through AWS's proxy (<code>uvx
|
|
169
|
-
<
|
|
170
|
-
tools that are not marked read-only, which can include the one that reads resources (<code>aws___run_script</code>); to read
|
|
171
|
-
resources, set <code>read_only: false</code> with a profile whose IAM policy only reads. <code>profile</code> and <code>region</code> default to the
|
|
172
|
-
active environment's <code>cloud.aws</code> in env.yaml; <code>endpoint_region</code> is the region of the server's address (<code>us-east-1</code>).</li>
|
|
173
|
-
<li><strong>Google Cloud</strong> is Google's gcloud MCP server (<code>npx @google-cloud/gcloud-mcp@0.5.3</code>, preview, needs the gcloud CLI).
|
|
174
|
-
Its one tool runs a gcloud command, with no shell. It has no read-only switch, so ForgeQE always gives it an allowlist:
|
|
175
|
-
<code>list</code> and <code>describe</code> of the common services (and <code>storage ls</code>, <code>logging read</code>), never reading a secret's value or an
|
|
176
|
-
object's contents. <code>allow:</code> adds whole commands (<code>pubsub topics publish</code>), never flags. gcloud-mcp checks each command
|
|
177
|
-
as gcloud itself parses it, and refuses anything else. <code>project</code> (else the environment's <code>cloud.gcp.project</code>) becomes
|
|
178
|
-
gcloud's default project for that server only.</li>
|
|
190
|
+
<li><strong>AWS</strong> is AWS's managed AWS MCP Server, reached through AWS's proxy (it needs <a href="https://docs.astral.sh/uv/" class="ext" rel="noopener">uv</a> on this computer, which runs the proxy with <code>uvx</code>), read-only unless <code>read_only: false</code>. Read-only turns off the server's tools that are not marked read-only, which can include the one that reads resources (<code>aws___run_script</code>); to read resources, set <code>read_only: false</code> with a profile whose IAM policy only reads. <code>profile</code> and <code>region</code> default to the active environment's <code>cloud.aws</code> in env.yaml; <code>endpoint_region</code> is the region of the server's address (<code>us-east-1</code>).</li>
|
|
191
|
+
<li><strong>Google Cloud</strong> is Google's gcloud MCP server (preview, needs the gcloud CLI). Its one tool runs a gcloud command, with no shell. It has no read-only switch, so ForgeQE always gives it an allowlist: <code>list</code> and <code>describe</code> of the common services (and <code>storage ls</code>, <code>logging read</code>), never reading a secret's value or an object's contents. <code>allow:</code> adds whole commands (<code>pubsub topics publish</code>), never flags. Each command is checked as gcloud itself parses it, and anything else is refused. <code>project</code> (else the environment's <code>cloud.gcp.project</code>) becomes gcloud's default project for that server only.</li>
|
|
179
192
|
</ul>
|
|
180
|
-
<p><strong>Other servers.</strong> Add any MCP server
|
|
193
|
+
<p><strong>Other servers.</strong> Add any MCP server you want the agent to use. A server with the same name as a built-in one (<code>azure_devops</code>, <code>atlassian</code>, <code>github</code>, or one of <code>integrations:</code>) replaces it.</p>
|
|
194
|
+
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
195
|
+
<ol>
|
|
196
|
+
<li>Open <strong>Settings › MCP servers</strong> and press <strong>Add</strong>.</li>
|
|
197
|
+
<li>Fill in <strong>Name</strong> (its tools show to the agent as <code><name>_<tool></code>).</li>
|
|
198
|
+
<li>Under <strong>Where it runs</strong>, pick <strong>A server at an address</strong> and fill in <strong>Address</strong>, or <strong>A command on this machine</strong> and fill in <strong>Command</strong>. Name secrets as <code>{env:NAME}</code>, never their values.</li>
|
|
199
|
+
<li>Press <strong>Test</strong>, then <strong>Connect</strong>.</li>
|
|
200
|
+
</ol>
|
|
201
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
202
|
+
<p>Add it under <code>mcp:</code> in <code>forgeqe.yaml</code>. A local server has a <code>command</code> (and optional <code>args</code>, <code>env</code>, <code>cwd</code>); a remote one has a <code>url</code> (and optional <code>headers</code>). Write secrets as <code>{env:NAME}</code>; ForgeQE fills them in from the environment. <code>enabled: false</code> turns one off.</p>
|
|
181
203
|
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">mcp:
|
|
182
204
|
</span></span><span class="ln"><span class="cmd"> github:
|
|
183
205
|
</span></span><span class="ln"><span class="cmd"> url: https://api.githubcopilot.com/mcp/
|
|
@@ -186,22 +208,25 @@ gcloud's default project for that server only.</li>
|
|
|
186
208
|
</span></span><span class="ln"><span class="cmd"> command: npx -y @triparc/xray-mcp
|
|
187
209
|
</span></span><span class="ln"><span class="cmd"> env: { XRAY_CLIENT_ID: "{env:XRAY_CLIENT_ID}", XRAY_CLIENT_SECRET: "{env:XRAY_CLIENT_SECRET}" }
|
|
188
210
|
</span></span></code></pre></div>
|
|
189
|
-
<
|
|
211
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe mcp list</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the servers your settings give, secrets shown only as {env:…}, and why any system is left out
|
|
212
|
+
</span></span></code></pre></div>
|
|
213
|
+
</div></div><p><strong>Connecting.</strong> When a turn first needs a server (or, for a server ForgeQE could not list, when the agent starts), the transcript shows the result:</p>
|
|
190
214
|
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>text</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd"> ▸ Connecting to Azure DevOps MCP, Jira MCP (mcp-atlassian)…
|
|
191
215
|
</span></span><span class="ln"><span class="cmd"> ✓ Azure DevOps MCP connected
|
|
192
216
|
</span></span><span class="ln"><span class="cmd"> ✗ Jira MCP (mcp-atlassian) did not connect (…). ForgeQE's API tools cover it.
|
|
193
217
|
</span></span></code></pre></div>
|
|
194
218
|
<p><strong>Without an MCP server.</strong> A system with no server, or whose server didn't start, still works through ForgeQE's own tools, which call the REST APIs with the same settings:</p>
|
|
195
219
|
<ul>
|
|
196
|
-
<li
|
|
197
|
-
<li
|
|
198
|
-
<li
|
|
220
|
+
<li>Test cases are read, and results posted back (test runs, comments, Xray Test Executions), whether or not an MCP server is connected.</li>
|
|
221
|
+
<li>Confluence pages are read (by id, link, or CQL) as text, with table cells kept apart.</li>
|
|
222
|
+
<li>Anything else can be read: work items, WIQL results, builds, Jira issues and JQL searches, Xray tests and executions, Confluence spaces and pages. These reads never change anything, only reach the configured hosts, and cut large answers to fit the agent's context.</li>
|
|
199
223
|
</ul>
|
|
200
|
-
<p>The agent runs test cases with
|
|
224
|
+
<p>The agent runs test cases with ForgeQE's own tool even when an MCP server is connected, so reports and write-back work the same either way. It uses the MCP tools for everything else, and creates or changes items (a bug, a comment, a transition) only when you ask.</p>
|
|
201
225
|
</div></section>
|
|
202
|
-
<section class="doc sub" id="doc-how_to_use-forgeqe-as-an-mcp-server"><h4>ForgeQE as an MCP server</h4><div class="prose"><p
|
|
226
|
+
<section class="doc sub" id="doc-how_to_use-forgeqe-as-an-mcp-server"><h4>ForgeQE as an MCP server</h4><div class="prose"><p>This is done at a terminal only: <code>forgeqe mcp</code> serves ForgeQE's tools to other agents (Claude Desktop, Cursor, Claude Code and others) over stdio. Add it to the client's MCP settings:</p>
|
|
203
227
|
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>json</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">{ "mcpServers": { "forgeqe": { "command": "forgeqe", "args": ["mcp", "--repo", "/path/to/app"] } } }
|
|
204
228
|
</span></span></code></pre></div>
|
|
229
|
+
<p>The table lists the main tools. The client gets every tool of the capabilities this project can use (the Capabilities table names each capability's tools); <code>use_capabilities</code> or <code>--all-tools</code> gives the rest.</p>
|
|
205
230
|
<div class="tbl tbl--cols-2"><table>
|
|
206
231
|
<thead>
|
|
207
232
|
<tr><th>Tool</th><th>What it does</th></tr>
|
|
@@ -224,7 +249,7 @@ gcloud's default project for that server only.</li>
|
|
|
224
249
|
<tr><td data-label="Tool"><code>list_sprints</code></td><td data-label="What it does">Recent sprints from Azure DevOps and Jira with their dates</td></tr>
|
|
225
250
|
<tr><td data-label="Tool"><code>monitor</code></td><td data-label="What it does">One monitor round, start/stop/status of a background monitor, or a test alert</td></tr>
|
|
226
251
|
<tr><td data-label="Tool"><code>logins</code></td><td data-label="What it does">List logins, forget sessions, or sign in by hand (not over stdio, which has no one to wait for)</td></tr>
|
|
227
|
-
<tr><td data-label="Tool"><code>forgeqe_setup</code></td><td data-label="What it does">Profiles, MCP servers, the docs by topic, installing
|
|
252
|
+
<tr><td data-label="Tool"><code>forgeqe_setup</code></td><td data-label="What it does">Profiles, MCP servers, the docs by topic, installing what ForgeQE runs on, scaffolding a config, and listing, showing, or creating skills</td></tr>
|
|
228
253
|
<tr><td data-label="Tool"><code>databases</code></td><td data-label="What it does">The databases set up for the project (never passwords or connection strings); with <code>test</code>, connect to one</td></tr>
|
|
229
254
|
<tr><td data-label="Tool"><code>database_schema</code></td><td data-label="What it does">What a database holds: its tables, or the tables a question needs with their columns and joins</td></tr>
|
|
230
255
|
<tr><td data-label="Tool"><code>run_sql</code></td><td data-label="What it does">One checked SQL statement: reads in a read-only session with a row cap; a write only on a writable database, after the user agrees (<code>confirmed: true</code> over MCP)</td></tr>
|
|
@@ -240,12 +265,12 @@ gcloud's default project for that server only.</li>
|
|
|
240
265
|
<tr><td data-label="Tool"><code>forgeqe_command</code></td><td data-label="What it does">A <code>forgeqe</code> command no other tool covers, in an allowlisted shape; reading commands run at once, the others after the user agrees (<code>confirmed: true</code> over MCP)</td></tr>
|
|
241
266
|
</tbody>
|
|
242
267
|
</table></div>
|
|
243
|
-
<p><code>--repo</code> sets the working directory (default: where it starts), and <code>--profile</code>, <code>--url</code>, <code>--headed</code> and <code>--browser-provider</code> apply to browser runs. Progress goes to stderr; stdout carries only MCP messages. Long calls send progress notifications, and a cancelled call stops its browser
|
|
268
|
+
<p><code>--repo</code> sets the working directory (default: where it starts), and <code>--profile</code>, <code>--url</code>, <code>--headed</code> and <code>--browser-provider</code> apply to browser runs. Progress goes to stderr; stdout carries only MCP messages. Long calls send progress notifications, and a cancelled call stops its browser.</p>
|
|
244
269
|
</div></section>
|
|
245
270
|
</section>
|
|
246
271
|
<section class="doc" id="doc-how_to_use-12-engine-tuning">
|
|
247
272
|
<h3>Engine tuning</h3>
|
|
248
|
-
<div class="prose"><p>
|
|
273
|
+
<div class="prose"><p>These variables tune browser runs. Set them in the shell or <code>.env</code>; they win over <code>forgeqe.yaml</code>. They are set in the environment only, not in the web app.</p>
|
|
249
274
|
<div class="tbl tbl--cols-3"><table>
|
|
250
275
|
<thead>
|
|
251
276
|
<tr><th>Variable</th><th>Default</th><th>Effect</th></tr>
|
|
@@ -253,10 +278,10 @@ gcloud's default project for that server only.</li>
|
|
|
253
278
|
<tbody>
|
|
254
279
|
<tr><td data-label="Variable"><code>FORGEQE_ENGINE_TIMEOUT_SECONDS</code></td><td data-label="Default"><code>timeout_seconds</code> (600)</td><td data-label="Effect">Whole-run limit</td></tr>
|
|
255
280
|
<tr><td data-label="Variable"><code>FORGEQE_ENGINE_STEP_TIMEOUT</code></td><td data-label="Default">180</td><td data-label="Effect">Per-step limit</td></tr>
|
|
256
|
-
<tr><td data-label="Variable"><code>FORGEQE_ENGINE_FAST_MODE</code></td><td data-label="Default">true</td><td data-label="Effect">
|
|
257
|
-
<tr><td data-label="Variable"><code>FORGEQE_ENGINE_FULL_AGENT_MODE</code></td><td data-label="Default">false</td><td data-label="Effect">
|
|
258
|
-
<tr><td data-label="Variable"><code>FORGEQE_ENGINE_MAX_ACTIONS_PER_STEP</code></td><td data-label="Default">
|
|
259
|
-
<tr><td data-label="Variable"><code>FORGEQE_ENGINE_MAX_FAILURES</code></td><td data-label="Default">
|
|
281
|
+
<tr><td data-label="Variable"><code>FORGEQE_ENGINE_FAST_MODE</code></td><td data-label="Default">true</td><td data-label="Effect">Fast mode: act without planning first</td></tr>
|
|
282
|
+
<tr><td data-label="Variable"><code>FORGEQE_ENGINE_FULL_AGENT_MODE</code></td><td data-label="Default">false</td><td data-label="Effect">Plan each step instead of fast mode</td></tr>
|
|
283
|
+
<tr><td data-label="Variable"><code>FORGEQE_ENGINE_MAX_ACTIONS_PER_STEP</code></td><td data-label="Default">built-in default</td><td data-label="Effect">Actions per model call</td></tr>
|
|
284
|
+
<tr><td data-label="Variable"><code>FORGEQE_ENGINE_MAX_FAILURES</code></td><td data-label="Default">built-in default</td><td data-label="Effect">Consecutive failures before stopping</td></tr>
|
|
260
285
|
<tr><td data-label="Variable"><code>FORGEQE_ENGINE_LOW_VISION_DETAIL</code></td><td data-label="Default">from <code>vision_detail</code></td><td data-label="Effect">Low-detail screenshots</td></tr>
|
|
261
286
|
<tr><td data-label="Variable"><code>FORGEQE_ENGINE_CONTROL_LOOP_MAX_RETRIES</code></td><td data-label="Default">4</td><td data-label="Effect">Repeats of the same click, input, search, or select before the agent is told to change approach; the same number again after that stops the run</td></tr>
|
|
262
287
|
<tr><td data-label="Variable"><code>FORGEQE_ENGINE_CHANNEL</code> / <code>FORGEQE_ENGINE_EXECUTABLE_PATH</code></td><td data-label="Default">chrome</td><td data-label="Effect">Browser to launch</td></tr>
|
|
@@ -268,7 +293,8 @@ gcloud's default project for that server only.</li>
|
|
|
268
293
|
</section>
|
|
269
294
|
<section class="doc" id="doc-how_to_use-13-logs-for-debugging">
|
|
270
295
|
<h3>Logs for debugging</h3>
|
|
271
|
-
<div class="prose"><p>Every session
|
|
296
|
+
<div class="prose"><p>Every session that runs agents or tools writes a log to <code>.forgeqe/logs/</code> next to <code>forgeqe.yaml</code> (the newest 30 are kept): each chat in the web app, and the terminal's <code>forgeqe start</code>, <code>run</code>, <code>chat</code>, <code>suite</code>, <code>heal</code>, <code>code</code>, <code>monitor</code>, <code>explore</code>, <code>record</code>, <code>migrate</code>, <code>tosca</code>, <code>pack</code>, <code>desktop</code>, <code>mobile</code>, <code>mcp</code>, <code>login</code>, <code>setup</code>, and the data commands.</p>
|
|
297
|
+
<p>A log has the versions and settings in use, what you asked, ForgeQE's agent's answers and every tool call with its result, every browser step and result, the browser's own log lines, and errors. Secrets are replaced before anything is written: API keys, tokens and passwords from the environment, keys in <code>llms.json</code>, and credentials you gave in a message.</p>
|
|
272
298
|
<p>Each session has two files with the same events:</p>
|
|
273
299
|
<ul>
|
|
274
300
|
<li>
|
|
@@ -286,27 +312,30 @@ apart with a blank line around them:</p>
|
|
|
286
312
|
</li>
|
|
287
313
|
<li>
|
|
288
314
|
<p><code><time>-<command>.jsonl</code>, the same events as data, one <code>{"at", "kind", "data"}</code> object a line, for scripts and
|
|
289
|
-
tools
|
|
290
|
-
and are still read.</p>
|
|
315
|
+
tools. Older logs are one file with a line of data each, and are still read.</p>
|
|
291
316
|
</li>
|
|
292
317
|
</ul>
|
|
293
|
-
<p>
|
|
294
|
-
<
|
|
318
|
+
<p><strong>Reading and sharing a log.</strong></p>
|
|
319
|
+
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
320
|
+
<ol>
|
|
321
|
+
<li>Open <strong>Settings › Logs</strong> (under <strong>Activity</strong>). It lists each chat, run and suite's session log.</li>
|
|
322
|
+
<li>Press a log to open it.</li>
|
|
323
|
+
</ol>
|
|
324
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
325
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe logs</span><span class="pad"> </span><span class="cm"><span class="h">#</span> recent session logs
|
|
326
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe logs bundle</span><span class="pad"> </span><span class="cm"><span class="h">#</span> one archive of the newest session to share (--shots adds screenshots)
|
|
327
|
+
</span></span></code></pre></div>
|
|
328
|
+
<p>In the shell, <code>/logs</code> does the same as <code>forgeqe logs bundle</code> (<code>/logs shots</code> adds screenshots). The archive is one <code>.tar.gz</code> with the session log, the run folders it mentions (<code>run.json</code>, <code>steps.json</code>, <code>trace.md</code>, <code>resume.json</code>, <code>workflow.yaml</code>, the failure screenshot), your <code>forgeqe.yaml</code>, your profiles without keys, and the versions.</p>
|
|
329
|
+
</div></div><p><strong>More detail.</strong> Start with <code>--debug</code> (or set <code>FORGEQE_DEBUG=1</code>) for more: the browser logs at debug level, and long values such as tool results are kept whole instead of cut at 8,000 characters.</p>
|
|
295
330
|
</div>
|
|
296
331
|
<section class="doc sub" id="doc-how_to_use-which-tools-forgeqes-agent-gets"><h4>Which tools ForgeQE's agent gets</h4><div class="prose"><p>Every model call carries the definitions of the tools the agent has, so it does not get all of them. Each turn gets:</p>
|
|
297
332
|
<ul>
|
|
298
|
-
<li><strong>the core:</strong> help, setup,
|
|
299
|
-
<li><strong>the capabilities the request is about</strong>, picked without a model call from its words (
|
|
300
|
-
in <code>src/capabilities/registry.ts</code>), the apps of the environment it names (a mobile app means the mobile tools), and
|
|
301
|
-
links (the browser);</li>
|
|
333
|
+
<li><strong>the core:</strong> help, setup, asking for more capabilities, and the test environments and their apps;</li>
|
|
334
|
+
<li><strong>the capabilities the request is about</strong>, picked without a model call from its words, the apps of the environment it names (a mobile app means the mobile tools), and links (the browser);</li>
|
|
302
335
|
<li><strong>capabilities used in the last few turns</strong>, so a conversation keeps its tools.</li>
|
|
303
336
|
</ul>
|
|
304
|
-
<p>A capability this project cannot use yet (no mobile apps, no Jira) is not picked from words alone. When a request
|
|
305
|
-
|
|
306
|
-
with its tools. With fewer tools in view, the agent also cannot mix up similar ones (<code>browser_run</code>, <code>desktop_explore</code>,
|
|
307
|
-
<code>mobile_explore</code>). <code>forgeqe context</code> shows what a turn carries, and what each capability adds. The session log
|
|
308
|
-
(<code>/logs</code>) records which capabilities each turn got and why (<code>agent.scope</code>).</p>
|
|
309
|
-
<p>Pin capabilities on, or switch them off for a project, in forgeqe.yaml (ids from <code>forgeqe features</code>):</p>
|
|
337
|
+
<p>A capability this project cannot use yet (no mobile apps, no Jira) is not picked from words alone. When a request needs a capability the turn did not get, the agent asks for it (<code>use_capabilities</code>), and ForgeQE continues the same request with its tools. With fewer tools in view, the agent also cannot mix up similar ones (browser runs, desktop apps, mobile apps). <code>forgeqe context</code> shows what a turn carries, and what each capability adds. The session log records which capabilities each turn got and why (<code>agent.scope</code>).</p>
|
|
338
|
+
<p>Pin capabilities on, or switch them off for a project, in <code>forgeqe.yaml</code> (ids from <code>forgeqe features</code>):</p>
|
|
310
339
|
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">agent:
|
|
311
340
|
</span></span><span class="ln"><span class="cmd"> capabilities:
|
|
312
341
|
</span></span><span class="ln"><span class="cmd"> always: [regression-packs]
|
|
@@ -321,7 +350,8 @@ the list again. For a client that ignores it, <code>forgeqe mcp --all-tools</cod
|
|
|
321
350
|
</section>
|
|
322
351
|
<section class="doc" id="doc-how_to_use-14-env-overrides">
|
|
323
352
|
<h3>Env overrides</h3>
|
|
324
|
-
<div class="prose"><
|
|
353
|
+
<div class="prose"><p>These environment variables change where ForgeQE reads its settings and how it starts. Set them in the shell, in <code>.env</code>, or in a pipeline. Keys and tokens can also be saved under <strong>Settings › Secrets</strong> in the web app.</p>
|
|
354
|
+
<div class="tbl tbl--cols-2"><table>
|
|
325
355
|
<thead>
|
|
326
356
|
<tr><th>Variable</th><th>Effect</th></tr>
|
|
327
357
|
</thead>
|
|
@@ -333,17 +363,17 @@ the list again. For a client that ignores it, <code>forgeqe mcp --all-tools</cod
|
|
|
333
363
|
<tr><td data-label="Variable"><code>COPILOT_GITHUB_TOKEN</code></td><td data-label="Effect">A <code>github_copilot</code> profile's GitHub token (fine-grained, with the Copilot Requests permission), unless the profile's <code>api_key_env</code> names another; else the saved token, then the browser sign-in (<code>forgeqe auth login copilot</code>)</td></tr>
|
|
334
364
|
<tr><td data-label="Variable"><code>FORGEQE_COPILOT_TOKEN</code></td><td data-label="Effect">The token <code>forgeqe auth login copilot</code> saves; set by ForgeQE from the credential store, not by hand</td></tr>
|
|
335
365
|
<tr><td data-label="Variable"><code>FORGEQE_CONFIG_DIR</code></td><td data-label="Effect">Global config folder (default <code>~/.config/forgeqe</code>): <code>forgeqe.yaml</code>, <code>llms.json</code> and <code>.env</code> used when a project has none</td></tr>
|
|
336
|
-
<tr><td data-label="Variable"><code>FORGEQE_PYTHON</code></td><td data-label="Effect">A Python
|
|
366
|
+
<tr><td data-label="Variable"><code>FORGEQE_PYTHON</code></td><td data-label="Effect">A Python to run the browser with instead of the one ForgeQE sets up (skipped, with a note, when it cannot)</td></tr>
|
|
337
367
|
<tr><td data-label="Variable"><code>FORGEQE_DEBUG</code></td><td data-label="Effect"><code>1</code> logs at debug level, like <code>--debug</code></td></tr>
|
|
338
368
|
<tr><td data-label="Variable"><code>FORGEQE_TOOL_SCOPE</code></td><td data-label="Effect"><code>off</code> gives ForgeQE's agent every tool on every turn, instead of the tools of the capabilities each request is about</td></tr>
|
|
339
|
-
<tr><td data-label="Variable"><code>FORGEQE_ROUTING</code></td><td data-label="Effect"><code>off</code> also puts every playbook in the agent's
|
|
340
|
-
<tr><td data-label="Variable"><code>FORGEQE_HOME</code></td><td data-label="Effect">
|
|
369
|
+
<tr><td data-label="Variable"><code>FORGEQE_ROUTING</code></td><td data-label="Effect"><code>off</code> also puts every playbook in the agent's instructions (for comparing, or ruling out a routing fault)</td></tr>
|
|
370
|
+
<tr><td data-label="Variable"><code>FORGEQE_HOME</code></td><td data-label="Effect">ForgeQE's own folder: what it downloads, user skills (<code>skills/</code>), and page memory when there is no config file (default <code>~/.forgeqe</code>)</td></tr>
|
|
341
371
|
<tr><td data-label="Variable"><code>FORGEQE_ENV</code></td><td data-label="Effect">The test environment of env.yaml for every command, like <code>--env NAME</code></td></tr>
|
|
342
372
|
<tr><td data-label="Variable"><code>FORGEQE_VERBOSE</code></td><td data-label="Effect"><code>1</code> starts with every detail shown, like <code>--verbose</code></td></tr>
|
|
343
373
|
<tr><td data-label="Variable"><code>FORGEQE_THEME</code></td><td data-label="Effect"><code>light</code> or <code>dark</code>: the shell's colours at start</td></tr>
|
|
344
374
|
<tr><td data-label="Variable"><code>FORGEQE_PRICES</code></td><td data-label="Effect"><code>off</code> stops the daily download of the model price lists</td></tr>
|
|
345
375
|
<tr><td data-label="Variable"><code>FORGEQE_USAGE</code> / <code>FORGEQE_USAGE_DIR</code></td><td data-label="Effect"><code>off</code> keeps no usage ledger on disk; or a folder for it instead of <code>~/.forgeqe/usage</code></td></tr>
|
|
346
|
-
<tr><td data-label="Variable"><code>FORGEQE_BUN</code></td><td data-label="Effect">A Bun to run ForgeQE with, instead of the one
|
|
376
|
+
<tr><td data-label="Variable"><code>FORGEQE_BUN</code></td><td data-label="Effect">A Bun to run ForgeQE with, instead of the one installed with it</td></tr>
|
|
347
377
|
<tr><td data-label="Variable"><code>FORGEQE_SECRET_STORE</code></td><td data-label="Effect"><code>file</code> keeps saved secrets in <code>~/.forgeqe/credentials.json</code> (readable only by you) instead of the system's credential store</td></tr>
|
|
348
378
|
<tr><td data-label="Variable"><code>SERVICENOW_URL</code> / <code>SERVICENOW_USER</code> / <code>SERVICENOW_PASSWORD</code></td><td data-label="Effect">ServiceNow instance and sign-in when <code>sources.servicenow</code> doesn't set them</td></tr>
|
|
349
379
|
<tr><td data-label="Variable"><code>ADO_ORG_URL</code> / <code>ADO_PROJECT</code> / <code>ADO_PAT</code></td><td data-label="Effect">Azure DevOps organization, project, and token when <code>sources.azure_devops</code> doesn't set them</td></tr>
|
|
@@ -363,7 +393,7 @@ the list again. For a client that ignores it, <code>forgeqe mcp --all-tools</cod
|
|
|
363
393
|
|
|
364
394
|
<nav class="pager" aria-label="Previous and next">
|
|
365
395
|
<a class="prev" href="../guardrails/index.html"><small>Previous</small><span>Guardrails</span></a>
|
|
366
|
-
<a class="next" href="../
|
|
396
|
+
<a class="next" href="../architecture-reference/index.html"><small>Next</small><span>Architecture reference</span></a>
|
|
367
397
|
</nav>
|
|
368
398
|
</main>
|
|
369
399
|
<aside class="docs-toc" aria-label="On this page"><p class="side-head">On this page</p><ul><li><a href="#doc-how_to_use-10-mcp">MCP</a></li><li><a href="#doc-how_to_use-12-engine-tuning">Engine tuning</a></li><li><a href="#doc-how_to_use-13-logs-for-debugging">Logs for debugging</a></li><li><a href="#doc-how_to_use-14-env-overrides">Env overrides</a></li></ul></aside>
|