Skip to main content
Glama

English · 简体中文

Unfour

バックエンド開発者向けのローカルファーストなデスクトップワークスペース。APIデバッグ、SSHターミナル、データベース管理を統合し、ローカルMCPサーバーを通じてAIエージェントにそれらの機能を公開します。

License CI Release Built with Tauri

Unfour overview

Codex & GPT-5.6 で構築

Codex は Rust と TypeScript のアーキテクチャのレビュー、Tauri コマンドの実装とリファクタリング、テストの追加、ビルド失敗や MCP プロセスライフサイクル問題の調査に使用されました。

GPT-5.6 は AI 支援によるバックエンド障害対応ワークフローの設計、SSH とデータベースの権限境界の分析、MCP ツール設計の洗練、プロジェクトアーキテクチャとリリースプロセスの計画に貢献しました。

Codex は Unfour にとって開発ツール以上の存在です。Unfour MCP サーバーを通じて、API・SSH・データベースの機能を利用し、API の問題を再現し、サービスログを調査し、データベースを照会し、証拠を照合して根本原因を特定することができます。

機密性の高い操作は開発者の管理下に留まります。ワークスペースのスコープ、認証情報の取り扱い、ホストの信頼、確認、ツールの権限によって、Codex がアクセス・実行できる範囲が制約されます。Codex を接続しても、デフォルトで無制限のアクセスが許可されるわけではありません。

[!WARNING] ソースツリーは Community Stable v0.5.0 リリースを準備中です。未署名のため、リリース検証がまだ必要です。インストーラーは SmartScreen やその他の OS のセキュリティ警告を引き起こす可能性があります。

Related MCP server: Workspace MCP

ダウンロード

公開ビルドは GitHub Releases からダウンロードできます。最新の安定版は v0.4.0 です。v0.5.0 はリリース公開後にそこに表示されます。

  • Windows: NSIS .exe インストーラー。

  • macOS および Linux パッケージは実験的であり、実機でのスモークチェックが記録されるまで未検証です。サポート対象または検証済みとして扱わないでください。

  • ダウンロードしたインストーラーは、リリースの SHA256SUMS.txt アセットで検証してください。

Unfour とは

Unfour は、バックエンドおよび運用作業のためのローカルファーストなデスクトップワークスペースです。API リクエスト、SSH 接続、データベース接続、ローカルアクティビティ、ワークスペースレイアウトを 1 つのローカルファーストアプリケーションに保持し、ローカル MCP サーバーを通じてそれらの機能を AI エージェントに公開します。この基盤により、それらのツールを横断した AI 支援による障害対応ワークフローが可能になります。

このアプリは Tauri 2、React、TypeScript、Rust で構築されています。フロントエンドはワークベンチ UI を担当し、HTTP、SSH、データベースドライバー、ローカルストレージ、認証情報参照などのセキュリティに敏感な実行は、Rust のケイパビリティクレートとコマンドバスの背後に配置されています。

モジュール

  • API クライアント - HTTP リクエストの作成と送信、保存済みリクエストのコレクションとフォルダーへの整理、共有ワークスペース変数の解決、レスポンス本文/ヘッダー/クッキー/タイミングの確認、保存済みの事前リクエストおよび事後レスポンススクリプトの実行、スクリプトテストとコンソール出力の確認、編集済み履歴の保持。

  • SSH ターミナル - SSH 接続とターミナルセッションの管理(分割ペイン、検索、クリップボードコンテキストメニュー、永続的な編集済みコマンド履歴と入力候補、ホストキーの信頼、編集済みログ)、SFTP によるリモートファイルの閲覧と転送、Connections / Files / Tasks サイドバーからのマルチステップ SSH タスク(コマンド、アップロード、ダウンロード)の自動化。

  • データベース - データベース接続の管理、スキーマの閲覧、確認を伴う安全チェック付き SQL の実行(複数ステートメントの Run Current / Run All を含む)、テーブル行のプレビューと編集、クエリ出力の確認。

  • ワークスペース - 保存済みリクエスト、共有環境/変数、接続、アクティビティ、タブ、レイアウト状態をローカルワークスペースにスコープし、タイトルバーでアクティブ環境を切り替え。

  • Codex を活用した API・SSH・データベースデバッグのための MCP 統合 - デスクトップアプリと同じコマンドバスを通じて、安全なローカル診断ツールを MCP クライアント(Codex、Claude Code、Cursor など)に公開し、AI エージェントが同じ API・SSH・データベースコンテキストで作業できるようにします。

スクリーンショット

アプリ概要 — モジュールスイッチャー付きサイドバーと API クライアントワークスペース

Unfour overview

API クライアント — パラメータ、認証、ヘッダー、ボディ、レスポンスを備えたリクエストビルダー

API Client

SSH ターミナル — 接続、セッション、リモートファイル、タスク

SSH Terminal

データベース — スキーマの閲覧と SQL クエリ出力

Database

ローカル開発

要件:

  • Node.js と pnpm。

  • 安定した Rust ツールチェーン。

  • お使いの OS に対応する Tauri 2 の前提条件。

インストールと実行:

pnpm install
pnpm tauri dev

pnpm install は lefthook を通じて Git フックもインストールします。コミット時にステージングされた Rust ファイルを cargo fmt でフォーマットし、ステージングされた TypeScript を ESLint で自動修正します。LEFTHOOK=0 git commit で一度だけスキップできます。

一般的なコマンド:

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 tests

パッケージのドキュメントに別段の記載がない限り、リポジトリルートからコマンドを実行してください。pnpm tauri dev はデフォルトで Test リリースチャンネルを使用し、ローカルの pnpm tauri build はデフォルトで Stable を使用します。分離された Test チャンネルバンドルには pnpm tauri build:test を使用してください。開発データを ~/.unfour-dev に保存する場合は UNFOUR_STORAGE_PROFILE=dev を設定してください。このストレージの上書きはリリース ID とは独立しています。正式な公開可能な Stable アーティファクトを作成できるのは CI のみで、UNFOUR_RELEASE_CHANNEL=stable と正確な UNFOUR_BUILD_COMMIT を使用します。

プロジェクト構成

パス

役割

apps/desktop

Tauri/Vite デスクトップアプリのエントリと Tauri アダプターレイヤー。

packages/app-shell

グローバルシェル構成とモジュールマウントスロット。

packages/api-client

API クライアントのフロントエンドモジュール。

packages/ssh-terminal

SSH ターミナルのフロントエンドモジュール。

packages/database

データベースのフロントエンドモジュール。

packages/workspace-core

共有フロントエンドワークスペース状態。

packages/workspace-environments

ワークスペース環境と変数管理 UI。

packages/workspace-local

予約済みローカルワークスペースライフサイクル境界。

packages/ui

共有 UI プリミティブとステートレスレイアウトヘルパー。

packages/command-client

型付き Tauri コマンドラッパーとフロントエンドコマンド型。

crates/*

Rust バックエンドのケイパビリティクレートとアダプター。

完全なパッケージとクレートのマップについては、docs/architecture/project-structure.md を参照してください。

リリース状況

ソースツリーは Community Stable v0.5.0 を準備中です。最新の公開安定版は v0.4.0 です。リリース準備状況は以下に文書化されています:

  • docs/testing/release-verification.md

  • docs/testing/manual-test-cases.md

  • docs/release/release-checklist.md

  • docs/release/distribution.md

  • docs/release/signing.md

Windows は NSIS .exe インストーラーを配布します。インストーラーは未署名であり、SmartScreen をトリガーする可能性があります。macOS と Linux は、実機でのスモークチェックが完了するまで実験的/未検証のままです。対象プラットフォームで正常に実行されたか、現在のリポジトリの証拠によって裏付けられていない限り、リリースチェックが合格したと主張しないでください。

ドキュメント

  • AGENTS.md - コーディングエージェント向けのリポジトリルール。

  • docs/agents/START_HERE.md - AI エージェント向けのスコープ付きオンボーディングパス。

  • docs/architecture/package-boundaries.md - パッケージの所有権と禁止された依存関係の方向。

  • docs/architecture/project-structure.md - リポジトリ、パッケージ、クレート、コールチェーンのマップ。

  • docs/architecture/data-storage.md - ワークスペースデータ、SQLite、認証情報参照、ローカルアクティビティのルール。

  • docs/architecture/diagnostics.md - ローカル構造化ログ、編集、保持、診断バンドル、開発者ログガイダンス。

  • docs/architecture/security-model.md - セキュリティ体制、編集、ホストキーポリシー、危険なアクションのルール。

  • docs/mcp/overview.md と docs/mcp/tools.md - ローカル MCP サーバーの動作。

  • docs/testing/release-verification.md - リリース検証マトリックス。

  • docs/release/release-checklist.md - 公開リリースチェックリスト。

  • docs/user/USER_GUIDE.md - ユーザー向けワークフローガイド。

コントリビューション

プルリクエストを開く前に、CONTRIBUTING.md、CODE_OF_CONDUCT.md、および AGENTS.md のパッケージ境界ルールをお読みください。

セキュリティ問題は公開 issue ではなく、SECURITY.md を通じて報告してください。

ライセンス

Apache License 2.0 の下でライセンスされています。

Available Tools

88 tools
unfour.activity.listList Workspace ActivityA
Read-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 CollectionA
Destructive

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 EnvironmentA
Destructive

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 VariableA
Destructive

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_folderB
Destructive

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 RequestA
Destructive

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 DetailA
Read-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 DetailA
Read-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 CollectionsA
Read-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 EnvironmentsA
Read-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_foldersA
Read-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 HistoryA
Read-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 RequestsA
Read-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 ConnectionsB
Read-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 ConnectionA
Destructive

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_sqlA
Destructive

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 TableA
Read-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 QueryA
Read-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_sqlB
Read-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_catalogsA
Read-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 ConnectionsA
Read-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 HistoryA
Read-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_sqlA
Read-onlyIdempotent

Lists saved SQL metadata in the selected workspace without executing or returning SQL.

Inputs: workspaceId. Returns: savedSql

unfour.db.list_tablesList Database TablesA
Read-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 QueryA
Read-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 ConnectionA
Read-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.deleteA
Destructive

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.getC
Read-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_runC
Read-onlyIdempotent

Read the complete redacted Flow run history shared with Desktop.

Inputs: runId (required), workspaceId. Returns: run

unfour.flow.listunfour.flow.listA
Read-onlyIdempotent

List saved Flow summaries; use get for the complete definition.

Inputs: workspaceId. Returns: flows

unfour.flow.list_runsunfour.flow.list_runsB
Read-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_keyA
Read-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 RunsB
Destructive

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 ConnectionB
Destructive

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 TaskB
Destructive

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 FingerprintA
Read-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 TaskA
Read-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 ConnectionsA
Read-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 DirectoryB
Read-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 HistoryA
Read-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 RunsA
Read-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 TasksB
Read-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 FileB
Read-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 LogA
Read-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 CommandA
Read-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 HealthA
Read-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 workspaceA
Read-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 VariableA
Destructive

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 workspacesA
Read-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 VariablesA
Read-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

    A3.5/5.0

    Scored across 88 tools

    Disambiguation4/5

    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.

    Naming Consistency5/5

    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.

    Tool Count1/5

    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.

    Completeness5/5

    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

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Production-grade MCP server that gives AI agents safe access to your local dev environment: filesystem, databases, processes, and OpenAPI specs.
      15
      55 npm
      4
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Secure 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.
      -
    • A
      license
      C
      quality
      B
      maintenance
      Local-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.
      13
      3
      MIT