unfour
Unfour
Ein lokaler Desktop-Arbeitsbereich für Backend-Entwickler, der API-Debugging, SSH-Terminals und Datenbankverwaltung kombiniert – und diese über einen lokalen MCP-Server für Ihren KI-Agenten bereitstellt.

Erstellt mit Codex & GPT-5.6
Codex wurde verwendet, um die Rust- und TypeScript-Architektur zu überprüfen, Tauri-Befehle zu implementieren und zu refaktorieren, Tests hinzuzufügen sowie Build-Fehler und Probleme im MCP-Prozesslebenszyklus zu untersuchen.
GPT-5.6 half bei der Gestaltung KI-gestützter Backend-Fehlerbehebungsworkflows, der Analyse von SSH- und Datenbank-Berechtigungsgrenzen, der Verfeinerung des MCP-Tool-Designs sowie der Planung der Projektarchitektur und des Release-Prozesses.
Codex ist für Unfour mehr als nur ein Entwicklungswerkzeug: Über den Unfour-MCP-Server kann es API-, SSH- und Datenbankfunktionen nutzen, um ein API-Problem zu reproduzieren, Servicelogs zu inspizieren, die Datenbank abzufragen, die Beweise zu korrelieren und die Ursache zu identifizieren.
Sensible Operationen bleiben unter der Kontrolle des Entwicklers. Arbeitsbereichsgrenzen, Umgang mit Anmeldeinformationen, Host-Vertrauen, Bestätigungen und Tool-Berechtigungen begrenzen, worauf Codex zugreifen und was es ausführen kann; das Verbinden von Codex gewährt standardmäßig keinen uneingeschränkten Zugriff.
[!WARNUNG] Der Quellbaum bereitet die Community Stable
v0.5.0-Version vor. Sie ist unsigniert und muss noch einer Release-Verifizierung unterzogen werden; Installationsprogramme können SmartScreen oder andere Sicherheitswarnungen des Betriebssystems auslösen.
Related MCP server: Workspace MCP
Download
Laden Sie veröffentlichte Builds von GitHub Releases herunter.
Die neueste stabile Version ist v0.4.0;
v0.5.0 wird dort erscheinen, sobald das Release veröffentlicht ist.
Windows: NSIS
.exe-Installationsprogramm.macOS- und Linux-Pakete sind experimentell und unverifiziert, bis Smoke-Checks auf echten Geräten dokumentiert sind; behandeln Sie sie noch nicht als unterstützt oder verifiziert.
Verifizieren Sie heruntergeladene Installationsprogramme mit dem
SHA256SUMS.txt-Asset des Releases.
Was ist Unfour?
Unfour ist ein lokaler Desktop-Arbeitsbereich für Backend- und Betriebsaufgaben. Es hält API-Anfragen, SSH-Verbindungen, Datenbankverbindungen, lokale Aktivitäten und das Arbeitsbereichslayout in einer lokalen Anwendung zusammen und stellt diese Fähigkeiten Ihrem KI-Agenten über einen lokalen MCP-Server bereit. Diese Grundlage unterstützt KI-gestützte Fehlerbehebungsworkflows über diese Werkzeuge hinweg.
Die App ist mit Tauri 2, React, TypeScript und Rust gebaut. Das Frontend besitzt die Workbench-Oberfläche, während sicherheitskritische Ausführungen wie HTTP, SSH, Datenbanktreiber, lokaler Speicher und Anmeldeinformationsreferenzen hinter Rust-Fähigkeits-Crates und dem Befehlsbus liegen.
Module
API-Client – HTTP-Anfragen zusammenstellen und senden, gespeicherte Anfragen in Sammlungen und Ordnern organisieren, gemeinsame Arbeitsbereichsvariablen auflösen, Antwortkörper/Header/Cookies/Timing inspizieren, gespeicherte Pre-Request- und Post-Response-Skripte ausführen, Skripttests und Konsolenausgabe überprüfen und redigierte Historie führen.
SSH-Terminal – SSH-Verbindungen und Terminalsitzungen verwalten (geteilte Fenster, Suche, Kontextmenü für die Zwischenablage, persistente redigierte Befehlshistorie und Tippvorschläge, Host-Key-Vertrauen, redigierte Logs), Remote-Dateien über SFTP durchsuchen und übertragen sowie mehrstufige SSH-Aufgaben (Befehl, Upload, Download) über die Seitenleiste Verbindungen / Dateien / Aufgaben automatisieren.
Datenbank – Datenbankverbindungen verwalten, Schemas durchsuchen, SQL mit bestätigungsbewussten Sicherheitsprüfungen ausführen (einschließlich mehrzeiliger Run Current / Run All), Tabellenzeilen anzeigen und bearbeiten und Abfrageausgaben überprüfen.
Arbeitsbereich – Gespeicherte Anfragen, gemeinsame Umgebungen/Variablen, Verbindungen, Aktivitäten, Tabs und Layoutzustand auf einen lokalen Arbeitsbereich begrenzen, mit Umschaltung der aktiven Umgebung in der Titelleiste.
MCP-Integration für Codex-gestütztes API-, SSH- und Datenbank-Debugging – Sichere lokale Diagnosewerkzeuge für MCP-Clients (wie Codex, Claude Code oder Cursor) über denselben Befehlsbus bereitstellen, den auch die Desktop-App verwendet, damit Ihr KI-Agent mit demselben API-, SSH- und Datenbankkontext arbeiten kann.
Screenshots
App-Übersicht – Seitenleiste mit Modulumschalter und dem API-Client-Arbeitsbereich

API-Client – Anfrage-Builder mit Parametern, Authentifizierung, Headern, Body und Antwort

SSH-Terminal – Verbindungen, Sitzungen, Remote-Dateien und Aufgaben

Datenbank – Schema-Durchsuchung und SQL-Abfrageausgabe

Lokale Entwicklung
Voraussetzungen:
Node.js und pnpm.
Eine stabile Rust-Toolchain.
Tauri-2-Voraussetzungen für Ihr Betriebssystem.
Installieren und ausführen:
pnpm install
pnpm tauri devpnpm install installiert auch Git-Hooks über lefthook. Ein Commit formatiert gestufte Rust-Dateien mit cargo fmt und korrigiert gestufte TypeScript-Dateien automatisch mit ESLint. Überspringen Sie dies einmal mit LEFTHOOK=0 git commit.
Häufige Befehle:
pnpm tauri build # create local Stable-channel Tauri bundles
pnpm tauri build:test # create isolated Test-channel Tauri bundles
pnpm run build # build the desktop frontend only
pnpm run check # frontend build + Rust check + large-file check
pnpm run lint # ESLint
pnpm run test # frontend unit tests (Vitest)
pnpm run test:e2e # Playwright smoke tests
pnpm run check:rust # cargo check --workspace
pnpm run check:rust:ssh # cargo check with the ssh-native feature
pnpm run test:rust # cargo test --workspace
pnpm run test:release-env # release/channel contract unit testsFühren Sie Befehle aus dem Repository-Stammverzeichnis aus, sofern ein Paketdokument nichts anderes angibt. pnpm tauri dev verwendet standardmäßig den Test-Release-Kanal, während lokale pnpm tauri build standardmäßig Stable verwendet. Verwenden Sie pnpm tauri build:test für ein isoliertes Test-Kanal-Bundle. Setzen Sie UNFOUR_STORAGE_PROFILE=dev, wenn Entwicklungsdaten ~/.unfour-dev verwenden sollen; diese Speicherüberschreibung ist unabhängig von der Release-Identität. Nur CI sollte formale veröffentlichbare Stable-Artefakte erstellen, mit UNFOUR_RELEASE_CHANNEL=stable und einem exakten UNFOUR_BUILD_COMMIT.
Projektstruktur
Pfad | Rolle |
| Tauri/Vite-Desktop-App-Einstieg und Tauri-Adapter-Schicht. |
| Globale Shell-Komposition und Modul-Mount-Slots. |
| API-Client-Frontend-Modul. |
| SSH-Terminal-Frontend-Modul. |
| Datenbank-Frontend-Modul. |
| Gemeinsamer Frontend-Arbeitsbereichszustand. |
| Verwaltungsoberfläche für Arbeitsbereichsumgebungen und -variablen. |
| Reservierte lokale Arbeitsbereichs-Lebenszyklusgrenze. |
| Gemeinsame UI-Primitive und zustandslose Layout-Helfer. |
| Typisierte Tauri-Befehls-Wrapper und Frontend-Befehlstypen. |
| Rust-Backend-Fähigkeits-Crates und Adapter. |
Siehe docs/architecture/project-structure.md für die vollständige Paket- und Crate-Karte.
Release-Status
Der Quellbaum bereitet Community Stable v0.5.0 vor; die neueste veröffentlichte stabile Version ist v0.4.0. Die Release-Bereitschaft ist dokumentiert in:
docs/testing/release-verification.mddocs/testing/manual-test-cases.mddocs/release/release-checklist.mddocs/release/distribution.mddocs/release/signing.md
Windows verteilt ein NSIS .exe-Installationsprogramm. Installationsprogramme sind unsigniert und können SmartScreen auslösen. macOS und Linux bleiben experimentell/unverifiziert, bis Smoke-Checks auf echten Geräten abgeschlossen sind. Behaupten Sie nicht, dass ein Release-Check bestanden ist, es sei denn, er wurde erfolgreich für die Zielplattform ausgeführt oder wird durch aktuelle Repository-Beweise gestützt.
Dokumentation
AGENTS.md– Repository-Regeln für Codierungsagenten.docs/agents/START_HERE.md– eingegrenzter Onboarding-Pfad für KI-Agenten.docs/architecture/package-boundaries.md– Paketbesitz und verbotene Abhängigkeitsrichtungen.docs/architecture/project-structure.md– Repository-, Paket-, Crate- und Aufrufketten-Karte.docs/architecture/data-storage.md– Arbeitsbereichsdaten, SQLite, Anmeldeinformationsreferenzen und Regeln für lokale Aktivitäten.docs/architecture/diagnostics.md– lokale strukturierte Logs, Redaktion, Aufbewahrung, Diagnose-Bundles und Entwickler-Logging-Richtlinien.docs/architecture/security-model.md– Sicherheitslage, Redaktion, Host-Key-Richtlinie und Regeln für gefährliche Aktionen.docs/mcp/overview.mdunddocs/mcp/tools.md– Verhalten des lokalen MCP-Servers.docs/testing/release-verification.md– Release-Verifizierungsmatrix.docs/release/release-checklist.md– Checkliste für öffentliche Releases.docs/user/USER_GUIDE.md– benutzerorientierter Workflow-Leitfaden.
Mitwirken
Bitte lesen Sie CONTRIBUTING.md, CODE_OF_CONDUCT.md und die Paketgrenzenregeln in AGENTS.md, bevor Sie einen Pull-Request öffnen.
Sicherheitsprobleme sollten über SECURITY.md gemeldet werden, nicht über ein öffentliches Issue.
Lizenz
Lizenziert unter der Apache License 2.0.
Available Tools
88 toolsunfour.activity.listList Workspace ActivityARead-onlyIdempotent
Lists recent workspace activity events (workspace, connection, API, database, and SSH changes) through the Unfour command bus, newest first. Sensitive fields in event details are masked. Useful for diagnosing what changed before a failure started.
Inputs: limit, workspaceId. Returns: count, source, activity
unfour.api.create_collectionCreate API CollectionA
Creates an API collection in local Unfour metadata through the command bus. Dev/test allow it; prod blocks by workspace policy. Returns the new collection id and summary.
Inputs: name (required), workspaceId. Returns: object
unfour.api.create_environmentCreate API EnvironmentA
Creates an empty API environment in local Unfour metadata through the command bus. Dev/test allow it; prod blocks by workspace policy.
Inputs: name (required), workspaceId. Returns: object
unfour.api.create_folderunfour.api.create_folderA
Creates a folder in a saved API collection. Parent must belong to that collection; null means root.
Inputs: name (required), collectionId (required), parentFolderId (required), workspaceId. Returns: folder
unfour.api.create_requestCreate API RequestA
Creates a saved API request record in the workspace through the Unfour command bus. This mutates local Unfour metadata only; it does not send traffic. Dev/test allow it by default, while prod blocks by workspace policy. Returns the new request id and a redacted summary.
Inputs: url (required), name (required), method (required), auth, +9 more. Returns: object
unfour.api.delete_collectionDelete API CollectionADestructive
Soft-deletes an API collection and cascades soft-deletion to its folders and requests through the command bus. Dev/test require a content-bound confirmation_text; prod blocks by policy.
Inputs: collectionId (required), confirm, workspaceId, confirmationText, +1 more. Returns: object
unfour.api.delete_environmentDelete API EnvironmentADestructive
Soft-deletes an API environment through the command bus. Guarded policy requires a content-bound confirmation_text; read-only policy blocks deletion.
Inputs: environmentId (required), confirm, workspaceId, confirmationText, +1 more. Returns: object
unfour.api.delete_environment_variableDelete API Environment VariableADestructive
Deletes one API environment variable by environmentId and key through the command bus. Guarded policy requires confirmation; read-only policy blocks deletion.
Inputs: key (required), environmentId (required), confirm, workspaceId, +2 more. Returns: key, source, deleted, environmentId
unfour.api.delete_folderunfour.api.delete_folderBDestructive
Recursively soft-deletes a folder, descendant folders and their saved requests. Guarded policy requires confirmation bound to the current subtree and request revisions.
Inputs: folderId (required), confirm, workspaceId, confirmationText, +1 more. Returns: deleted, folderId
unfour.api.delete_requestDelete API RequestADestructive
Soft-deletes a saved API request through the Unfour command bus. Dev/test require a content-bound confirmation_text before deletion; prod blocks by policy. Returns the remaining request count and confirms softDelete=true.
Inputs: requestId (required), confirm, workspaceId, confirmationText, +1 more. Returns: object
unfour.api.duplicate_requestunfour.api.duplicate_requestA
Duplicates the original saved request in its current collection/folder through CommandBus, preserving authentication, scripts and untruncated content. Does not send traffic or return secrets.
Inputs: requestId (required), workspaceId. Returns: request
unfour.api.get_historyGet API Request History DetailARead-onlyIdempotent
Returns a sanitized API history snapshot through the Unfour command bus. Sensitive headers, query parameters, and body fields are masked. This is not a replayable template: original Auth, scripts and variable references are unavailable. To rerun a template, use its saved requestId with the intended environmentId; never resend mask placeholders.
Inputs: historyId (required), workspaceId. Returns: source, history
unfour.api.get_requestGet API Request DetailARead-onlyIdempotent
Returns a saved API request with sensitive headers, query parameters, body fields, and URL parameters redacted through the Unfour command bus.
Inputs: requestId (required), includeBody. Returns: source, request
unfour.api.list_collectionsList API CollectionsARead-onlyIdempotent
Lists API request collections for the active workspace through the Unfour command bus.
Inputs: workspaceId. Returns: count, source, collections
unfour.api.list_environmentsList API EnvironmentsARead-onlyIdempotent
Lists API environments and their variables for the active workspace through the Unfour command bus. Sensitive variable values are masked; non-sensitive values (e.g. base URLs) are shown so requests using variables can be understood.
Inputs: workspaceId. Returns: count, source, environments
unfour.api.list_foldersunfour.api.list_foldersARead-onlyIdempotent
Lists API folder metadata and parent IDs in the selected workspace, optionally restricted to a collection.
Inputs: workspaceId, collectionId. Returns: folders
unfour.api.list_historyList API Request HistoryARead-onlyIdempotent
Lists recent API request/response history for the active workspace through the Unfour command bus. Sensitive URL parameters are masked. Useful for diagnosing when a request started failing.
Inputs: limit, workspaceId. Returns: count, source, history
unfour.api.list_requestsList API RequestsARead-onlyIdempotent
Lists saved API requests for the active workspace through the Unfour command bus. Sensitive URL parameters are redacted.
Inputs: workspaceId, collectionId. Returns: count, source, requests
unfour.api.move_folderunfour.api.move_folderA
Moves a folder within its collection, including to root with parentFolderId=null. Cycles and foreign workspace/collection targets are rejected.
Inputs: folderId (required), parentFolderId (required), workspaceId. Returns: folder
unfour.api.move_requestunfour.api.move_requestA
Moves a saved request to a collection/folder in the same workspace. Explicit parentFolderId=null moves it to the collection root. Preserves its body, authentication and scripts without returning them.
Inputs: requestId (required), collectionId (required), parentFolderId (required), workspaceId. Returns: request
unfour.api.rename_folderunfour.api.rename_folderA
Renames a folder. expectedUpdatedAt from list_folders prevents overwriting a concurrent edit.
Inputs: name (required), folderId (required), expectedUpdatedAt (required), workspaceId. Returns: folder
unfour.api.reorder_foldersunfour.api.reorder_foldersB
Reorders sibling folders in one collection and parent. Supply their IDs in the desired order; no requests are executed.
Inputs: folderIds (required), collectionId (required), parentFolderId (required), workspaceId. Returns: folders
unfour.api.send_requestSend API RequestA
Sends either a saved API request by requestId or one ad-hoc request described by method/url/headers/query/body through the Unfour command bus. Use it to reproduce API failures during agent troubleshooting. Dev allows all HTTP methods; test allows sends but marks mutating methods as write risk; prod only allows GET/HEAD/OPTIONS. Non-2xx HTTP responses return structured status/body data rather than MCP tool failure. Sensitive headers, cookies, URL tokens, and JSON body fields are masked.
Inputs: url, body, name, query, +7 more. Returns: ok, error, source, status, +8 more
unfour.api.set_environment_variableSet API Environment VariableA
Creates or updates one API environment variable by environmentId and key through the command bus. Empty values are allowed. Omitted isSecret/description preserve existing metadata, and returned secrets are masked.
Inputs: key (required), value (required), environmentId (required), enabled, +3 more. Returns: source, created, variable
unfour.api.update_collectionUpdate API CollectionA
Renames an API collection in local Unfour metadata through the command bus. Dev/test allow it; prod blocks by workspace policy.
Inputs: name (required), collectionId (required), workspaceId. Returns: object
unfour.api.update_environmentUpdate API EnvironmentA
Updates an API environment name and variables through the command bus. Sensitive variable values are masked in the result. Dev/test allow it; prod blocks by workspace policy.
Inputs: name (required), variables (required), environmentId (required), workspaceId. Returns: object
unfour.api.update_requestUpdate API RequestA
Updates a saved API request record through the Unfour command bus. Omitted fields keep their existing values. This mutates local metadata only; dev/test allow it, prod blocks or requires future explicit policy. Returns the updated redacted request summary.
Inputs: requestId (required), url, auth, body, +10 more. Returns: object
unfour.connection.listList Unfour ConnectionsBRead-onlyIdempotent
Lists safe connection summaries for the active workspace through the Unfour command bus.
Inputs: type. Returns: count, source, connections
unfour.db.create_connectionCreate Database ConnectionA
Creates a saved database connection through the Unfour command bus. Optional password input is stored in the OS credential store and only a credential reference is persisted; the tool never returns the password or credential reference.
Inputs: name (required), driver (required), host, port, +9 more. Returns: object
unfour.db.delete_connectionDelete Database ConnectionADestructive
Soft-deletes a saved connection through CommandBus. Guarded policy requires confirmation bound to workspace, connection and revision; read-only policy rejects deletion.
Inputs: connectionId (required), confirm, workspaceId, confirmation_text. Returns: source, deleted, workspaceId, connectionId
unfour.db.delete_saved_sqlunfour.db.delete_saved_sqlADestructive
Deletes a saved SQL snippet, never database tables or rows. Requires expectedRevision; guarded policy requires content-bound confirmation. Concurrent changes are rejected atomically.
Inputs: savedSqlId (required), expectedRevision (required), confirm, workspaceId, +2 more. Returns: deleted, savedSqlId
unfour.db.describe_tableDescribe Database TableARead-onlyIdempotent
Describes a table's columns, available indexes, foreign keys and DDL, with runtime metadata capabilities, through the Unfour command bus. Does not read table data.
Inputs: tableName (required), connectionId (required), schema, catalog, +1 more. Returns: table, source, connectionId
unfour.db.executeExecute Database SQLB
Executes one SQL statement against a saved database connection through the Unfour command bus. Use for INSERT/UPDATE/DELETE/DDL when an agent needs to repair dev/test data. Dev allows non-high-risk writes by default; test allows small writes but high-risk SQL requires confirm; prod blocks writes. DELETE/UPDATE without WHERE, DROP, TRUNCATE, ALTER, and multi-row destructive statements require a second call with the returned confirmation_text. Returns affectedRows, statementType, durationMs, and engine safety metadata.
Inputs: sql (required), connectionId (required), limit, dryRun, +8 more. Returns: ok, rows, dryRun, safety, +10 more
unfour.db.explainExplain Database QueryARead-onlyIdempotent
Runs EXPLAIN for a read query against a saved database connection through the Unfour command bus. Use before optimizing slow SELECT/WITH queries. This is read-only in dev/test/prod; it returns structured columns/rows, durationMs, and truncation metadata.
Inputs: sql (required), connectionId (required), limit, schema, +3 more. Returns: ok, sql, rows, source, +5 more
unfour.db.export_tableExport Database TableA
Exports one table to a file in Unfour's managed exports directory. Optional columns, structured filters, and limit apply to the data portion. Data exports without limit require content-bound confirmation; omitted limit still means all matching rows. Returns file metadata; no destination path is accepted.
Inputs: format (required), content (required), tableName (required), connectionId (required), +9 more. Returns: path, format, rowCount, bytesWritten
unfour.db.get_saved_sqlunfour.db.get_saved_sqlBRead-onlyIdempotent
Reads a saved SQL diagnostic projection. Literals and sensitive constructs are masked; sqlRedacted indicates changes or truncation. Never execute or save the masked projection as original SQL.
Inputs: savedSqlId (required), workspaceId. Returns: savedSql
unfour.db.list_catalogsunfour.db.list_catalogsARead-onlyIdempotent
Lists catalogs for a saved database connection through CommandBus. The connection must belong to the selected workspace; accepts no ad-hoc credentials.
Inputs: connectionId (required), workspaceId. Returns: catalogs, connectionId
unfour.db.list_connectionsList Database ConnectionsARead-onlyIdempotent
Lists saved database connections for the active workspace through the Unfour command bus. Returns safe summaries without passwords, tokens, or connection strings.
Inputs: workspaceId. Returns: count, source, connections
unfour.db.list_historyList Database Query HistoryARead-onlyIdempotent
Lists workspace-scoped query history (default 50, maximum 200). SQL literals and quoted tokens are masked; statements with comments, dollar quoting or sensitive markers are withheld. Returns execution summaries, never raw errors or result rows.
Inputs: limit, workspaceId. Returns: count, source, history, workspaceId
unfour.db.list_saved_sqlunfour.db.list_saved_sqlARead-onlyIdempotent
Lists saved SQL metadata in the selected workspace without executing or returning SQL.
Inputs: workspaceId. Returns: savedSql
unfour.db.list_tablesList Database TablesARead-onlyIdempotent
Lists tables and views for a saved database connection through the Unfour command bus. Optional catalog and schema scope the listing. Requires a saved connectionId; does not accept ad-hoc connection strings.
Inputs: connectionId (required), limit, schema, catalog, +1 more. Returns: count, source, tables, truncated, +2 more
unfour.db.query_readonlyExecute Read-Only SQL QueryARead-onlyIdempotent
Executes a read-only SQL query against a saved database connection through the Unfour command bus. Only SELECT, WITH, SHOW, DESCRIBE, DESC, and EXPLAIN statements are allowed. Write operations, DDL, and multi-statement queries are rejected. Optional catalog, schema, and timeoutMs match unfour.db.execute and unfour.db.explain.
Inputs: sql (required), connectionId (required), limit, schema, +3 more. Returns: ok, rows, source, columns, +4 more
unfour.db.save_saved_sqlunfour.db.save_saved_sqlA
Creates or updates saved SQL metadata; never executes SQL. Creation requires name and sql. Updates require savedSqlId and expectedRevision; omitted fields preserve originals, including SQL. Null clears optional context, subject to the engine's default catalog inference. Returned metadata never contains SQL.
Inputs: sql, name, schema, catalog, +4 more. Returns: savedSql
unfour.db.test_connectionTest Database ConnectionARead-onlyIdempotent
Tests connectivity to a saved database connection through the Unfour command bus. Returns whether the connection succeeded and the server version when available.
Inputs: connectionId (required), workspaceId. Returns: ok, source, message, connectionId, +1 more
unfour.db.update_connectionUpdate Database ConnectionA
Updates saved connection metadata through CommandBus. The ID must exist in the selected workspace. Omitted fields and stored credentials are preserved. Secret rotation is not exposed; the result contains only connectionId, workspaceId and source.
Inputs: connectionId (required), host, name, port, +7 more. Returns: source, workspaceId, connectionId
unfour.flow.cancel_rununfour.flow.cancel_runA
Request cancellation of a running Flow; remote effects are not rolled back.
Inputs: runId (required), workspaceId. Returns: run
unfour.flow.deleteunfour.flow.deleteADestructive
Soft-delete a saved Flow definition at expectedRevision while retaining local run history. Guarded workspaces require confirmation bound to that revision.
Inputs: flowId (required), expectedRevision (required), confirm, workspaceId, +2 more. Returns: flowId, deleted
unfour.flow.getunfour.flow.getCRead-onlyIdempotent
Read a saved Flow definition for use in Desktop Canvas or MCP.
Inputs: flowId (required), workspaceId. Returns: flow
unfour.flow.get_rununfour.flow.get_runCRead-onlyIdempotent
Read the complete redacted Flow run history shared with Desktop.
Inputs: runId (required), workspaceId. Returns: run
unfour.flow.listunfour.flow.listARead-onlyIdempotent
List saved Flow summaries; use get for the complete definition.
Inputs: workspaceId. Returns: flows
unfour.flow.list_runsunfour.flow.list_runsBRead-onlyIdempotent
Read lightweight FlowRunSummary history without loading run details.
Inputs: flowId (required), limit, cursor, workspaceId. Returns: runs, nextCursor
unfour.flow.rununfour.flow.runB
Start a Flow with initiator=mcp. Requires payload-bound confirmation even with full_access. Read-only/disabled policy blocks execution. Cancellation does not undo effects.
Inputs: flowId (required), inputs, confirm, workspaceId, +4 more. Returns: run
unfour.flow.saveunfour.flow.saveA
Save a FlowDefinition using existing validation and revision checks. Empty id creates; updates require the current revision.
Inputs: definition (required), workspaceId. Returns: flow
unfour.redis.check_keyunfour.redis.check_keyARead-onlyIdempotent
Check one exact UTF-8 Redis key in a saved connection. Optionally check a hash field or compare the complete string/field against equals. Returns metadata and the comparison outcome.
Inputs: key (required), connectionId (required), field, equals, +1 more. Returns: exists, pttlMs, keyType, matched
unfour.ssh.cancel_task_runCancel SSH Task RunB
Cancels an active SSH task run through the command bus.
Inputs: runId (required), workspaceId. Returns: object
unfour.ssh.clear_task_runsClear SSH Task RunsBDestructive
Deletes saved SSH task run records and local log files for one task or the workspace. Guarded policy requires content-bound confirmation.
Inputs: taskId, confirm, workspaceId, confirmationText, +1 more. Returns: source, warnings, deletedLogs, deletedRuns
unfour.ssh.create_connectionCreate SSH ConnectionA
Creates a saved SSH connection through the Unfour command bus. Optional secret input is stored in the OS credential store by the SSH engine and only a credential reference is persisted; the tool never returns the secret or credential reference.
Inputs: host (required), name (required), authKind (required), username (required), +5 more. Returns: object
unfour.ssh.delete_connectionDelete SSH ConnectionBDestructive
Soft-deletes a saved connection through CommandBus. Guarded policy requires confirmation bound to workspace, connection and revision; read-only policy rejects deletion.
Inputs: connectionId (required), confirm, workspaceId, confirmation_text. Returns: source, deleted, workspaceId, connectionId
unfour.ssh.delete_taskDelete SSH TaskBDestructive
Soft-deletes a saved SSH task. Guarded policy requires content-bound confirmation.
Inputs: taskId (required), confirm, workspaceId, confirmationText, +1 more. Returns: object
unfour.ssh.duplicate_taskDuplicate SSH TaskB
Duplicates a saved SSH task and its steps through the command bus.
Inputs: taskId (required), workspaceId. Returns: object
unfour.ssh.execExecute SSH CommandA
Executes one non-interactive SSH command on a saved connection. Use for dev/test repair loops after diagnostics identify a fix. Dev allows ordinary commands; test allows safe diagnostics and guarded commands; prod only allows read-only diagnostic commands. High-risk commands such as rm -rf, restart/shutdown, kill, docker/kubectl delete, and curl-pipe-shell require confirm with the returned confirmation_text.
Inputs: command (required), connectionId (required), cwd, env, +5 more. Returns: warnings
unfour.ssh.get_host_keyGet SSH Host FingerprintARead-onlyIdempotent
Reads only the stored host fingerprint for a saved connection in the selected workspace. Returns known and a nullable fingerprint without contacting the host, changing trust, or exposing raw known_hosts.
Inputs: connectionId (required), workspaceId. Returns: known, source, fingerprint, workspaceId, +1 more
unfour.ssh.get_taskGet SSH TaskARead-onlyIdempotent
Returns one SSH task with steps and local connection binding. Sensitive fields inside step configuration are masked.
Inputs: taskId (required), workspaceId. Returns: object
unfour.ssh.list_connectionsList SSH ConnectionsARead-onlyIdempotent
Lists saved SSH connections for a workspace through the Unfour command bus. Returns connection id, name, host, port, username, and environment; never returns passwords, private keys, passphrases, or credential references.
Inputs: workspaceId. Returns: object
unfour.ssh.list_dirList SSH DirectoryBRead-onlyIdempotent
Lists a bounded remote directory through SSH and returns structured entry summaries when the remote find utility is available. Safe in dev/test/prod.
Inputs: path (required), connectionId (required), limit, timeoutMs, +1 more. Returns: warnings
unfour.ssh.list_historyList SSH Command HistoryARead-onlyIdempotent
Lists structured SSH command history for the current MCP workspace. Returns connection, command, executedAt, and cwd/exitCode/durationMs when recorded. Results are workspace-scoped and never include terminal buffers or full session logs. Sensitive commands are excluded or replaced with [redacted command]. Use this to inspect recent host activity, then draft a reusable SSH Task for the user to confirm. Do not call unfour.ssh.save_task unless the user explicitly asks to save the draft.
Inputs: limit, query, since, until, +2 more. Returns: count, source, history, workspaceId
unfour.ssh.list_task_runsList SSH Task RunsARead-onlyIdempotent
Lists saved run summaries for one SSH task without exposing local log paths.
Inputs: taskId (required), workspaceId. Returns: object
unfour.ssh.list_tasksList SSH TasksBRead-onlyIdempotent
Lists saved SSH task summaries for a workspace.
Inputs: workspaceId. Returns: object
unfour.ssh.patch_filePatch SSH FileA
Applies a search/replace patch through SSH stdin using Python 3 (4 MiB combined UTF-8 search/replace; 16 MiB target and result limit) and returns a diff summary without file content. Dev allows single-match project-file patches; test, system paths, or multi-match replacements require confirmation; prod is blocked by policy.
Inputs: path (required), search (required), replace (required), connectionId (required), +5 more. Returns: warnings
unfour.ssh.read_fileRead SSH FileBRead-onlyIdempotent
Reads a bounded remote file slice or tail through SSH. Useful for logs and config inspection. Dev/test/prod allow ordinary reads; output is capped and line-redacted by the SSH engine. Sensitive paths may still be blocked by connection or OS permissions.
Inputs: path (required), connectionId (required), limit, offset, +3 more. Returns: warnings
unfour.ssh.read_task_run_logRead SSH Task Run LogARead-onlyIdempotent
Reads a capped SSH task run log. The SSH engine redacts configured secret inputs and the MCP response omits the local log path.
Inputs: runId (required), workspaceId. Returns: object
unfour.ssh.reorder_tasksReorder SSH TasksA
Reorders all active SSH tasks in a workspace. taskIds must contain the exact active task set.
Inputs: taskIds (required), workspaceId. Returns: object
unfour.ssh.run_diagnosticRun SSH Diagnostic CommandARead-onlyIdempotent
Runs a single read-only diagnostic command on a saved SSH connection through the Unfour command bus and returns captured stdout/stderr. Safe in dev/test/prod for allowlisted diagnostics. For broader command execution use unfour.ssh.exec, which applies environment policy and high-risk confirmation.
Inputs: command (required), connectionId (required), timeoutMs, workspaceId. Returns: warnings
unfour.ssh.run_taskRun SSH TaskA
Starts a saved SSH task on its selected saved connection. Production/read-only policy blocks execution; guarded policy requires content-bound confirmation because a task may execute commands or transfer files.
Inputs: taskId (required), inputs, confirm, workspaceId, +4 more. Returns: object
unfour.ssh.save_taskSave SSH TaskA
Creates or updates a saved SSH task through the command bus. On update, omitted description and defaultConnectionId keep their current values; pass null for defaultConnectionId to clear it. Step types and configuration are validated by the SSH engine.
Inputs: name (required), steps (required), taskId, description, +2 more. Returns: object
unfour.ssh.test_connectionTest SSH ConnectionA
Tests a saved SSH connection using the existing CommandBus connection test and host-key checks. Requires native SSH. Returns only success status and a safe generic message, never credentials or raw engine error text.
Inputs: connectionId (required), workspaceId. Returns: ok, source, message, workspaceId, +1 more
unfour.ssh.update_connectionUpdate SSH ConnectionA
Updates saved connection metadata through CommandBus. The ID must exist in the selected workspace. Omitted fields and stored credentials are preserved. Secret rotation is not exposed; the result contains only connectionId, workspaceId and source.
Inputs: connectionId (required), host, name, port, +4 more. Returns: source, workspaceId, connectionId
unfour.ssh.write_fileWrite SSH FileA
Writes or appends a remote file through SFTP. Content is limited to 4 MiB of UTF-8 bytes; no terminal session or remote Python is needed. Overwriting an existing file requires SFTP posix-rename@openssh.com v1; unsupported servers leave the original untouched. Failed or timed-out appends may be partial; inspect before retrying. Dev allows ordinary project paths; test and high-risk paths require confirmation; prod is blocked by policy. The returned result contains only path/mode/byte counts and command status, never file content.
Inputs: path (required), content (required), connectionId (required), mode, +5 more. Returns: warnings
unfour.system.healthUnfour System HealthARead-onlyIdempotent
Returns command-bus and storage readiness for diagnostics through the Unfour command bus.
Inputs: no named parameters. Returns: source, appName, storageReady, commandBusReady
unfour.workspace.createunfour.workspace.createA
Creates a local workspace without activating it. Requires the current workspace to allow MCP writes. Inherits its environment and MCP policy; no policy override, cloud binding, or resource copying is accepted.
Inputs: name (required). Returns: workspace
unfour.workspace.create_variableCreate Workspace VariableC
Creates one workspace-global variable through the command bus. Returned values are masked when secret or sensitive.
Inputs: key (required), value (required), isSecret, isEnabled, +3 more. Returns: object
unfour.workspace.currentCurrent Unfour workspaceARead-onlyIdempotent
Returns the active local workspace through the Unfour command bus.
Inputs: no named parameters. Returns: mode, source, mcpPolicy, workspaceId, +3 more
unfour.workspace.delete_variableDelete Workspace VariableADestructive
Soft-deletes one workspace-global variable. Guarded policy requires the content-bound confirmation handshake.
Inputs: variableId (required), confirm, workspaceId, confirmationText, +1 more. Returns: object
unfour.workspace.listList Unfour workspacesARead-onlyIdempotent
Lists all local workspaces through the Unfour command bus, marking which one is active.
Inputs: no named parameters. Returns: count, source, workspaces, activeWorkspaceId
unfour.workspace.list_variablesList Workspace VariablesARead-onlyIdempotent
Lists workspace-global variables through the command bus. Secret variables and sensitive keys are masked before returning to the MCP client.
Inputs: workspaceId. Returns: object
unfour.workspace.renameunfour.workspace.renameA
Renames the explicitly selected workspace through CommandBus. Supply expectedName from workspace.list to prevent overwriting a concurrent rename. Does not change environment, policy or active workspace.
Inputs: name (required), workspaceId (required), expectedName (required). Returns: workspace
unfour.workspace.replace_variablesReplace Workspace VariablesA
Replaces the complete workspace-global variable set through the command bus. Omitted existing variables are soft-deleted. For items that include an existing id, omitted optional fields keep their current values. Returned values are masked when secret or sensitive.
Inputs: variables (required), workspaceId. Returns: object
unfour.workspace.update_variableUpdate Workspace VariableA
Updates one workspace-global variable through the command bus. Omitted optional fields keep their current values. Returned values are masked when secret or sensitive.
Inputs: key (required), value (required), variableId (required), isSecret, +4 more. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 88 tools
Tools are grouped by domain and mostly have clearly distinct resource/action scopes, such as SSH exec vs. run_diagnostic vs. run_task. A few pairs require reading descriptions to distinguish, especially read-only query vs. execute vs. explain, and saved-task vs. ad-hoc execution paths.
Names consistently follow a namespaced snake_case pattern: unfour.<domain>.<verb>_<noun>. Despite the large surface, the convention is predictable across SSH, API, DB, flow, workspace, and system tools.
With 88 tools, the server is far beyond a well-scoped MCP surface and creates excessive cognitive load. Even across multiple domains, this is an extreme tool count that would benefit from consolidation or splitting into separate servers.
The surface covers CRUD and lifecycle operations across workspaces, API collections/folders/requests/environments, database connections/queries/saved SQL, SSH connections/tasks/execution/logs, flows, activity, and health. Obvious operational gaps are minimal for the apparent domain.
Maintenance
Related MCP Connectors
A full backend your AI coding agent can set up over MCP
Self-hosted AI workspace: semantic RAG document search, long-term memory, and AI chat via MCP.
Persistent cloud workspaces for AI agents: run commands, edit files, use git and a browser.
Agent-native backend: Postgres, auth, storage, functions, hosting and deploy, over MCP
Related MCP Servers
- AlicenseBqualityDmaintenanceProduction-grade MCP server that gives AI agents safe access to your local dev environment: filesystem, databases, processes, and OpenAPI specs.1555 npm4MIT
- FlicenseNot gradedqualityDmaintenanceSecure local development platform that exposes controlled developer capabilities (FS, Git, search, command execution) to AI assistants via MCP with deny-by-default security and audit logging.-
- AlicenseNot gradedqualityCmaintenanceLocal-first MCP server that provides project context, verification gates, and structured tools for coding agents to discover knowledge, run diagnostics, and execute allowlisted commands within a repository.MIT
- AlicenseCqualityBmaintenanceLocal-first MCP runtime for coding agents with bounded workspace access, content-preconditioned writes, AST search, LSP navigation and diagnostics, and Git status/diff. Designed to give coding agents useful repository access without treating unrestricted shell access as the default integration boundary.133MIT