About Cloud MCP Gateway
Cloud MCP Gateway is an MCP server published by open-gsd in the Science category: a powerful meta-prompting, context engineering and spec-driven development system that enables agents to work for long periods of time autonomously without losing track of the big picture. Conduid read 89 tools from its source: ask_user_questions, get_session_detail, get_status, gsd_cancel, gsd_cancel_by_project, gsd_capture_complete and 83 more. No package is published for it, so it installs from a source checkout.
The open-gsd/gsd-pi monorepo this package is published from has 1.4K stars and 122 forks, is licensed MIT, and its last commit was on 30 Nov 2026. The latest release is v1.23.0 (29 Oct 2026): Added auto: add native-approved bounded mechanical recovery (#2920) gsd: opt-in reuse of the executor's gsd_exec run in host verification (#2984) gsd: discussion.questio… It follows v1.22.0 (12 Oct 2026), and the 5 most recent releases go back to v1.20.1 (18 Sep 2026). It passes all 4 static checks Conduid ran on the repository. Its topics include context-engineering, meta-prompting and spec-driven-development.
Install
git clone https://github.com/open-gsd/gsd-piTools (89)
ask_user_questionsRequest user input for one to three short questions and wait for the response. Single-select questions include a free-form "None of the above" path. Multi-select questions allow multiple choices.| Parameter | Type | Description |
|---|---|---|
| questions | array | Stable identifier for mapping answers (snake_case) |
get_session_detailGet detailed information about a specific session including cost breakdown, recent events, pending blockers, and error state.| Parameter | Type | Description |
|---|---|---|
| sessionId * | string | The session ID to inspect |
get_statusGet the current status of all active GSD sessions. Shows project name, status, duration, and cost for each.gsd_cancelCancel a running GSD session. Aborts the current operation and stops the process. Provide sessionId (from gsd_execute) or projectDir as a fallback for interactive/restarted sessions.| Parameter | Type | Description |
|---|---|---|
| projectDir | string | Absolute path to the project directory (fallback when sessionId is unavailable) |
| sessionId | string | Session ID returned from gsd_execute |
gsd_cancel_by_projectCancel the active GSD session for a project directory. Use when sessionId is unknown (e.g. Hermes gateway /gsd cancel).| Parameter | Type | Description |
|---|---|---|
| projectDir * | string | Absolute path to the project directory |
gsd_capture_completeRecord the outcome of a quick-task capture in one SQLite Domain Operation. The capture counts as executed only after this call.gsd_capture_resolveClassify one user capture (triage) in one SQLite Domain Operation. The tool only records the classification; CAPTURES.md is rendered from the database.gsd_capture_thoughtRecord a durable project insight into the GSD memory store. Categories: architecture, convention, gotcha, preference, environment, pattern, rule. Rule, pattern and gotcha captures get a K/P/L id and appear in KNOWLEDGE.md at once. Mirrors the in-process capture_thought tool for external MCP clients.gsd_capturesGet captured ideas and thoughts with triage status. Filter by pending, actionable, or all. No session required — reads the workflow database when the GSD runtime is available, .gsd/CAPTURES.md otherwise (the result then carries readMetadata { source: projection, authority: projection-fallback }).| Parameter | Type | Description |
|---|---|---|
| filter | string | Filter captures (default: "all") |
| projectDir * | string | Absolute path to the project directory |
gsd_checkpoint_dbFlush the SQLite WAL into gsd.db. Reports failure when the checkpoint did not complete. gsd.db is git-ignored runtime state: do not stage or commit it.gsd_checkpoint_saveSave a Work Checkpoint row (pause or handoff) for a milestone, slice or task. The row is the resume state; CONTINUE.md is rendered from it.gsd_complete_milestoneCommit validated Milestone completion atomically, then render its readable SUMMARY projection.gsd_complete_sliceAlias for gsd_slice_complete (same behavior).gsd_complete_taskAlias for gsd_task_complete (same behavior).gsd_decision_getFetch a single decision by ID from the GSD database. Returns the full row or error (not_found / db_unavailable).| Parameter | Type | Description |
|---|---|---|
| id * | string | Decision ID (e.g. 'D007'). |
| includeSuperseded | boolean | Include superseded decisions (default false). |
| projectDir | string | Absolute path to the project directory (defaults to MCP server cwd) |
gsd_decision_listList decisions from the GSD database. Returns canonical store (never stale). Use instead of parsing DECISIONS.md.| Parameter | Type | Description |
|---|---|---|
| includeSuperseded | boolean | Include superseded decisions (default false). |
| limit | number | Maximum results (default 200, max 500). |
| milestoneId | string | Filter by milestone ID in when_context. |
| projectDir | string | Absolute path to the project directory (defaults to MCP server cwd) |
| scope | string | Filter by scope (exact match). |
gsd_decision_saveRecord a project decision to the GSD database and regenerate DECISIONS.md.gsd_doctorRun a lightweight health check on the project hierarchy: status inconsistencies and missing projection files, plus readMetadata provenance. No session required — checks the workflow database (the workflow authority) when the GSD runtime is available, the .gsd/ directory structure otherwise.| Parameter | Type | Description |
|---|---|---|
| projectDir * | string | Absolute path to the project directory |
| scope | string | Limit checks to a specific milestone (e.g. "M001") |
gsd_execRun a short bash/node/python script in the project directory. Capped stdout/stderr and metadata persist under .gsd/exec; only a digest returns to MCP.gsd_exec_searchSearch prior gsd_exec runs from .gsd/exec/*.meta.json without re-running them.gsd_executeStart a GSD auto-mode session for a project directory. Returns a sessionId for tracking.| Parameter | Type | Description |
|---|---|---|
| bare | boolean | Run in bare mode (skip user config) |
| command | string | Command to send (default: "/gsd auto") |
| model | string | Model ID override |
| projectDir * | string | Absolute path to the project directory |
gsd_generate_milestone_idAlias for gsd_milestone_generate_id (same behavior).gsd_graph| Parameter | Type | Description |
|---|---|---|
| budget | number | Token budget for query mode (default: 4000) |
| mode * | string | Operation: build | query | status | diff |
| projectDir * | string | Absolute path to the project directory |
| snapshot | boolean | Write snapshot before build (for future diff) |
| term | string | Search term for query mode (case-insensitive) |
gsd_historyGet execution history with cost, token usage, model, and duration per unit. Returns totals across all units. No session required — reads the workflow database when the GSD runtime is available. When the database is not available or holds no unit rows, reads .gsd/metrics.json (the result then carries readMetadata { source: projection, authority: projection-fallback }).| Parameter | Type | Description |
|---|---|---|
| limit | number | Max entries to return (most recent first). Default: all. |
| projectDir * | string | Absolute path to the project directory |
gsd_hook_verdict_saveRecord a post-unit hook gate verdict in the GSD database. The workflow reads this recorded verdict; the artifact file is a report for the operator.gsd_journal_queryQuery the structured event journal for auto-mode iterations.gsd_knowledgeGet the project knowledge base: rules, patterns, and lessons learned accumulated during development. No session required — reads the workflow database when the GSD runtime is available, .gsd/KNOWLEDGE.md otherwise (the result then carries readMetadata { source: projection, authority: projection-fallback }).| Parameter | Type | Description |
|---|---|---|
| projectDir * | string | Absolute path to the project directory |
gsd_memory_graphInspect the relationship graph between memories. mode=query walks edges from a given memoryId. mode=build is a placeholder reserved for future graph rebuilds. Distinct from gsd_graph (project knowledge graph) — see ADR-013.gsd_memory_querySearch the GSD memory store by keyword. Returns ranked memories with id, category, content, confidence, scope, and tags. Mirrors the in-process memory_query tool for external MCP clients.gsd_milestone_completeAlias for gsd_complete_milestone (same behavior).gsd_milestone_discardDiscard a Milestone in one SQLite Domain Operation: the Milestone and its open Slices and Tasks are cancelled with a Waiver, its id is never reused, and its files, worktree and branch are removed after the commit. This cannot be undone.gsd_milestone_generate_idGenerate the next milestone ID for a new GSD milestone and register its database row in one Domain Operation.gsd_milestone_parkPark a Milestone in one SQLite Domain Operation: it leaves the run, keeps its work, and can be unparked later. The PARKED marker is rendered from the database.gsd_milestone_planAlias for gsd_plan_milestone (same behavior).gsd_milestone_reopenReopen a terminal Milestone hierarchy atomically while preserving immutable history, then refresh readable projections. Pass keepCompleted=true to unlock the milestone without resetting completed slices/tasks or deleting their SUMMARYs.gsd_milestone_reorderSet the execution order of the open Milestones in one SQLite Domain Operation. List every open Milestone in the wanted order; one that is not listed keeps its relative position after the listed ones. An order that puts a Milestone before one it depends on is refused. QUEUE-ORDER.json is rendered from the database.gsd_milestone_set_dependenciesReplace the depends_on list of one open Milestone in one SQLite Domain Operation. Unknown or discarded Milestones and dependency cycles are refused.gsd_milestone_statusRead the current status of a milestone and all its slices from the GSD database. Includes `dependsOn`, the persisted milestone dependencies.gsd_milestone_unparkReturn a parked Milestone to the run in one SQLite Domain Operation. The PARKED marker is removed after the commit.gsd_milestone_validateAlias for gsd_validate_milestone (same behavior).gsd_plan_milestoneWrite milestone planning state to the GSD database and render ROADMAP.md from DB.gsd_plan_sliceWrite slice/task planning state to the GSD database and render plan artifacts from DB.gsd_plan_taskWrite task planning state to the GSD database and render the slice PLAN from DB.gsd_prepare_milestone_subjective_uatPrepare a source-bound subjective Milestone UAT question with a recommendation for a real user decision.gsd_progressGet structured project progress: active milestone/slice/task, phase, completion counts, blockers, next action, and readMetadata provenance. No session required — reads the workflow database (the workflow authority) when the GSD runtime is available, .gsd/ projections otherwise.| Parameter | Type | Description |
|---|---|---|
| projectDir * | string | Absolute path to the project directory |
gsd_project_progressgsd_project_snapshotRead the project snapshot from the GSD database (DB-authoritative, never projections). Returns authority, current focus, progress, blockers, open questions, verification, and bounded milestones in one payload.| Parameter | Type | Description |
|---|---|---|
| projectDir | string | Absolute path to the project directory (defaults to MCP server cwd) |
gsd_queryQuery GSD project state. By default returns the state, project and requirements documents and the milestone listing with status, plus readMetadata provenance. Pass `query` to narrow the response (accepted: "state"/"status", "project", "requirements", "milestones", "all"). Does not require an active session — reads the workflow database (the workflow authority) when the GSD runtime is available, .gsd/ projections otherwise.| Parameter | Type | Description |
|---|---|---|
| projectDir * | string | Absolute path to the project directory |
| query | string | Narrow the response to a single field (default: "all") |
gsd_reassess_roadmapReassess a milestone roadmap after a slice completes, writing ROADMAP-ASSESSMENT.md and re-rendering ROADMAP.md.gsd_reopen_milestoneAlias for gsd_milestone_reopen (same behavior).gsd_reopen_sliceAlias for gsd_slice_reopen (same behavior).gsd_reopen_taskAlias for gsd_task_reopen (same behavior).gsd_replan_sliceReplan a slice after a blocker is discovered, preserving completed tasks and re-rendering PLAN.md + REPLAN.md.gsd_replan_taskUpdate one pending task's planning contract after rework without touching sibling tasks.gsd_requirement_getFetch a single requirement by ID from the GSD database. Returns the full row or error (not_found / db_unavailable).| Parameter | Type | Description |
|---|---|---|
| id * | string | Requirement ID (e.g. 'R021'). |
| projectDir | string | Absolute path to the project directory (defaults to MCP server cwd) |
gsd_requirement_listList requirements from the GSD database. Returns canonical store (never stale). Use instead of parsing REQUIREMENTS.md.| Parameter | Type | Description |
|---|---|---|
| class | string | Filter by class: core-capability, primary-user-loop, launchability, continuity, failure-visibility, integration, quality-attribute, operability, admin/support, compliance/security, differentiator, constraint, anti-feature. |
| limit | number | Maximum results (default 200, max 500). |
| milestoneId | string | Filter to requirements owned by or supporting a specific milestone. |
| projectDir | string | Absolute path to the project directory (defaults to MCP server cwd) |
| status | string | Filter by status (e.g. 'active', 'validated', 'deferred'). |
gsd_requirement_saveRecord a new requirement to the GSD database and regenerate REQUIREMENTS.md.gsd_requirement_updateUpdate an existing requirement in the GSD database and regenerate REQUIREMENTS.md.gsd_research_decision_saveRecord the project research decision (research or skip) in one SQLite Domain Operation. The deep project setup gate reads this decision from the database.gsd_resolve_blockerResolve a live-session UI request with sessionId, or a persisted escalation with projectDir and optional questionId. Escalation response is "<choice> [rationale]": an option id, "accept", or "reject-blocker". MCP callers remain agents. The by-id pauseBlockerId selector always refuses, including retries and historical receipts; a human must use the native terminal /gsd blocker resolve command with evidence and confirmation. Closure never resumes auto, authorizes retry, settles an Attempt, waives a gate, or completes a Task.| Parameter | Type | Description |
|---|---|---|
| expectedAuthorityEpoch | number | Required with pauseBlockerId: authority.authorityEpoch from the same gsd_project_snapshot. |
| expectedRevision | number | Required with pauseBlockerId: authority.revision from the gsd_project_snapshot that supplied the selected blocker. |
| pauseBlockerId | string | The exact open auto-pause blocker id to clear-only resolve (blockers in gsd_project_snapshot). Mutually exclusive with sessionId and questionId. |
| projectDir | string | Absolute path to the project directory. Resolves the open escalation or auto-pause blocker in the project database. |
| questionId | string | The open question to resolve (openQuestions in gsd_project_snapshot). Required only when more than one escalation is open. Mutually exclusive with pauseBlockerId. |
| rationale | string | Required with pauseBlockerId: why the auto-pause blocker is being cleared. |
| response | string | Required for session or database escalation selection; forbidden with pauseBlockerId. |
| sessionId | string | Session ID returned from gsd_execute |
gsd_resultGet the result of a GSD session. Returns partial results if the session is still running.| Parameter | Type | Description |
|---|---|---|
| sessionId * | string | Session ID returned from gsd_execute |
gsd_resumeRead .gsd/last-snapshot.md so agents can re-orient after compaction or session resume.gsd_rework_brief_savePersist a structured task rework brief whose blocking findings gate gsd_task_complete.gsd_roadmapGet the full project roadmap structure: milestones with their slices, tasks, status, risk, and dependencies, plus readMetadata provenance. Optionally filter to a single milestone. No session required — reads the workflow database (the workflow authority) when the GSD runtime is available, .gsd/ projections otherwise.| Parameter | Type | Description |
|---|---|---|
| milestoneId | string | Filter to a specific milestone (e.g. "M001") |
| projectDir * | string | Absolute path to the project directory |
gsd_roadmap_reassessAlias for gsd_reassess_roadmap (same behavior).gsd_save_decisionAlias for gsd_decision_save (same behavior).gsd_save_gate_resultSave a quality gate result to the GSD database.gsd_save_requirementAlias for gsd_requirement_save (same behavior).gsd_save_summaryAlias for gsd_summary_save (same behavior).gsd_skip_sliceCancel a Slice atomically in SQLite, preserve completed work, interrupt running Attempts, and grant a current Slice-scoped dependency Waiver before refreshing projections.gsd_slice_completeCommit evidence-backed Slice completion in one revision- and Authority-Epoch-fenced SQLite operation, then refresh readable projections; projection failure is reported as stale.gsd_slice_planAlias for gsd_plan_slice (same behavior).gsd_slice_reopenReopen a terminal Slice and all Tasks atomically in SQLite while preserving immutable history, revoking cancellation Waivers, and blocking progressed downstream Slices.gsd_slice_replanAlias for gsd_replan_slice (same behavior).gsd_statusGet the current status of a GSD session including progress, recent events, and pending blockers. Provide sessionId, projectDir, or omit both when this server tracks exactly one session.| Parameter | Type | Description |
|---|---|---|
| projectDir | string | Absolute path to the project directory (fallback when sessionId is unavailable) |
| sessionId | string | Session ID returned from gsd_execute. Optional when projectDir is provided or this server tracks exactly one session. |
gsd_summary_saveSave a GSD summary/research/context/assessment artifact to the database and disk. Omit milestone_id only for root-level PROJECT/PROJECT-DRAFT/REQUIREMENTS/REQUIREMENTS-DRAFT artifacts.gsd_task_completeRecord a Task execution result in SQLite; canonical Tasks advance to host verification or recovery, while legacy Tasks complete directly and refresh readable projections.gsd_task_planAlias for gsd_plan_task (same behavior).gsd_task_recovery_resumeAuthorize one new Task Attempt after the current durable abort or remediation cause has been repaired.gsd_task_reopenReset a completed task back to pending so it can be re-done.gsd_task_settleOperator tool: settle a Task's orphaned running Attempt as interrupted. Dry-run by default — prints the exact rows it would change; mutation requires apply: true. Optional reconcileLifecycle adopts ready/completed to match tasks.status without deleting SUMMARYs. Optional settleDisposition 'blocker-accepted' closes a Task whose latest Attempt failed as blocker-discovered: terminal closeout with blocker provenance, then replan via gsd_replan_slice (mutually exclusive with reconcileLifecycle).gsd_uat_execRun one UAT-scoped bash/node/python check with milestone/slice/check metadata. Evidence persists under .gsd/exec with kind=uat_exec.gsd_uat_result_saveSave structured UAT checks, evidence, verdict, and tool-presentation proof. Writes ASSESSMENT, attempt history, and aggregate UAT gate.gsd_update_requirementAlias for gsd_requirement_update (same behavior).gsd_validate_milestoneValidate a milestone, persist validation results to the GSD database, and render VALIDATION.md.list_projectsList all detected projects across configured scan roots. Returns project names, paths, and detected markers (git, node, gsd, etc.).secure_env_collectCollect environment variables securely via form input. Values are written directly to .env (or Vercel/Convex) and NEVER appear in tool output — only key names and applied/skipped status are returned. Use this instead of asking users to manually edit .env files or paste secrets into chat.| Parameter | Type | Description |
|---|---|---|
| destination | string | Where to write secrets. Auto-detected from project files if omitted. |
| envFilePath | string | Path to .env file (dotenv only). Defaults to .env in projectDir. |
| environment | string | Target environment (vercel/convex only) |
| keys | array | Env var name, e.g. OPENAI_API_KEY |
| projectDir * | string | Absolute path to the project directory |
start_sessionStart a new GSD auto-mode session for a project. Provide the absolute project path. Optionally provide a command to run instead of the default "/gsd auto".| Parameter | Type | Description |
|---|---|---|
| command | string | Optional command to send instead of "/gsd auto" |
| projectPath * | string | Absolute path to the project directory |
stop_sessionStop a running GSD session. Provide a session ID or project name — fuzzy matching is used to find the session.| Parameter | Type | Description |
|---|---|---|
| identifier * | string | Session ID or project name to match |
Security checks
From the open-gsd/gsd-pi monorepo, not this package alone.
Static checks derived from the repository 3 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.1K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by pnpm-lock.yaml and 3 more.
2 checks have not been run yet.
Releases
From the open-gsd/gsd-pi monorepo.
README
The repository's README runs to about 1.1K words, fetched 3 days ago. The original in the repository is authoritative.
Read full README