できること
Self-hosted sandboxes for AI-generated code: run commands, files, snapshots.
作者による原文
- 接続方法 パソコンで動く
- アカウントまたはキー SANDFORT_API_KEY が必要 · 設定 1 件の入力が必要(SANDFORT_BASE_URL)
- カテゴリ 開発者ツール
一緒に使える
この種の作業を AI に教える Skill。これと一緒に使えます
andrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
graphify
Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.
この順位の理由
一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり
| 人気 | 0/80 | GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます |
|---|---|---|
| 新しさ | 12/12 | 30 日以内のリリースかコード更新で満点 |
| 応答中 | 0/8 | 前回の確認でクラウドのエンドポイントが応答 |
| 利用スコア | 12/100 |
品質: 基本チェック 2/3 項目に合格(表示のみ、並び順には不使用) · 勢い: データなし (「急上昇」タブでのみ使用)
インストール
使っているAIアプリを選んで、設定をコピーしてください。
ひとことで AI にインストールしてもらう
Sandfort をインストールして。https://mcp.popnx.com/i/malinele-sandfort.md に従い、コマンドを見せて、私が OK するまで実行しないで。パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る
チェック 2/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月24日
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげますが、先に準備が必要です
Sandfort のキーが必要です(提供元のサイトで作成) · 設定を 1 項目入力 (SANDFORT_BASE_URL) · 先にパソコンへ Python (uv) を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
AI にインストールしてもらう
このメッセージを Claude のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Claude に MCP server Sandfort を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "sandfort": { "command": "uvx", "args": [ "sandfort-mcp" ], "env": { "SANDFORT_BASE_URL": "your-value", "SANDFORT_API_KEY": "your-value" } } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) SANDFORT_API_KEY, SANDFORT_BASE_URL は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、Sandfort のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
uv を入れる(まだなければ)
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
uv --version- バージョン番号(例 uv …)が出る = 入っています。この手順は飛ばせます
- "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
ターミナルの開き方
Mac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です:
uv --version一度入れれば、uv を使うすべてのツールで使えます
設定を 1 項目入力
これはプログラムの設定でキーではありません。登録は不要で、作者の説明どおりに入力します。
SANDFORT_BASE_URLBase URL of the Sandfort server, for example http://127.0.0.1:8000
説明は英語の原文のままです。
パソコン版 Claude アプリの設定ファイルを開く
SettingsDeveloperEdit Config
この設定を貼り付けて保存
{ "mcpServers": { "sandfort": { "command": "uvx", "args": [ "sandfort-mcp" ], "env": { "SANDFORT_BASE_URL": "your-value", "SANDFORT_API_KEY": "your-value" } } } }キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Claude を終了してもう一度開く
試してみる
Sandfort を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が Sandfort を使っていると言うか、回答に Sandfort のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT はまだ Sandfort につなげません
Sandfort はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません
代わりにできること
A · Sandfort につなげるアプリを使う
- Sandfort のキーが必要です(提供元のサイトで作成) · 設定を 1 項目入力 (SANDFORT_BASE_URL) · 先にパソコンへ Python (uv) を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
- Sandfort のキーが必要です(提供元のサイトで作成) · 設定を 1 項目入力 (SANDFORT_BASE_URL) · 先にパソコンへ Python (uv) を入れてください(1 回だけ)
- Sandfort のキーが必要です(提供元のサイトで作成) · 設定を 1 項目入力 (SANDFORT_BASE_URL) · 先にパソコンへ Python (uv) を入れてください(1 回だけ)
- Sandfort のキーが必要です(提供元のサイトで作成) · 設定を 1 項目入力 (SANDFORT_BASE_URL) · 先にパソコンへ Python (uv) を入れてください(1 回だけ)
B · 開発者ツール の中で ChatGPT につなげる別のサーバー
同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
Claude Code につなげますが、先に準備が必要です
Sandfort のキーが必要です(提供元のサイトで作成) · 設定を 1 項目入力 (SANDFORT_BASE_URL) · 先にパソコンへ Python (uv) を入れてください(1 回だけ)
AI にインストールしてもらう
このメッセージを Claude Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Claude Code に MCP server Sandfort を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):claude mcp add --scope user sandfort --env SANDFORT_BASE_URL=your-value --env SANDFORT_API_KEY=your-value -- uvx sandfort-mcp 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) SANDFORT_API_KEY, SANDFORT_BASE_URL は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、Sandfort のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
uv を入れる(まだなければ)
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
uv --version- バージョン番号(例 uv …)が出る = 入っています。この手順は飛ばせます
- "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
ターミナルの開き方
Mac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です:
uv --version一度入れれば、uv を使うすべてのツールで使えます
設定を 1 項目入力
これはプログラムの設定でキーではありません。登録は不要で、作者の説明どおりに入力します。
SANDFORT_BASE_URLBase URL of the Sandfort server, for example http://127.0.0.1:8000
説明は英語の原文のままです。
ターミナルを開く
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
このコマンドを貼り付けて Enter
claude mcp add --scope user sandfort --env SANDFORT_BASE_URL=your-value --env SANDFORT_API_KEY=your-value -- uvx sandfort-mcpEnter の前に「your-value」を自分のキーに書き換えてください
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Claude Code で /mcp と入力
Sandfort が一覧にあり、接続済みと表示されれば OK です
試してみる
Sandfort を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が Sandfort を使っていると言うか、回答に Sandfort のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげますが、先に準備が必要です
Sandfort のキーが必要です(提供元のサイトで作成) · 設定を 1 項目入力 (SANDFORT_BASE_URL) · 先にパソコンへ Python (uv) を入れてください(1 回だけ)
AI にインストールしてもらう
このメッセージを Cursor のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Cursor に MCP server Sandfort を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "sandfort": { "command": "uvx", "args": [ "sandfort-mcp" ], "env": { "SANDFORT_BASE_URL": "your-value", "SANDFORT_API_KEY": "your-value" } } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) SANDFORT_API_KEY, SANDFORT_BASE_URL は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、Sandfort のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
uv を入れる(まだなければ)
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
uv --version- バージョン番号(例 uv …)が出る = 入っています。この手順は飛ばせます
- "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
ターミナルの開き方
Mac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です:
uv --version一度入れれば、uv を使うすべてのツールで使えます
設定を 1 項目入力
これはプログラムの設定でキーではありません。登録は不要で、作者の説明どおりに入力します。
SANDFORT_BASE_URLBase URL of the Sandfort server, for example http://127.0.0.1:8000
説明は英語の原文のままです。
キーを入力
Sandfort の設定で SANDFORT_API_KEY, SANDFORT_BASE_URL が空です。自分のキーを入れて保存します
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Cursor の AI チャットを Agent モードで開く
試してみる
Sandfort を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が Sandfort を使っていると言うか、回答に Sandfort のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげますが、先に準備が必要です
Sandfort のキーが必要です(提供元のサイトで作成) · 設定を 1 項目入力 (SANDFORT_BASE_URL) · 先にパソコンへ Python (uv) を入れてください(1 回だけ)
AI にインストールしてもらう
このメッセージを VS Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの VS Code に MCP server Sandfort を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "servers": { "sandfort": { "type": "stdio", "command": "uvx", "args": [ "sandfort-mcp" ], "env": { "SANDFORT_BASE_URL": "your-value", "SANDFORT_API_KEY": "your-value" } } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) SANDFORT_API_KEY, SANDFORT_BASE_URL は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、Sandfort のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
uv を入れる(まだなければ)
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
uv --version- バージョン番号(例 uv …)が出る = 入っています。この手順は飛ばせます
- "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
ターミナルの開き方
Mac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です:
uv --version一度入れれば、uv を使うすべてのツールで使えます
設定を 1 項目入力
これはプログラムの設定でキーではありません。登録は不要で、作者の説明どおりに入力します。
SANDFORT_BASE_URLBase URL of the Sandfort server, for example http://127.0.0.1:8000
説明は英語の原文のままです。
キーを入力
Sandfort の設定で SANDFORT_API_KEY, SANDFORT_BASE_URL が空です。自分のキーを入れて保存します
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
VS Code の AI チャットを Agent モードで開く
試してみる
Sandfort を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が Sandfort を使っていると言うか、回答に Sandfort のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
開発者向け:ターミナルのコマンドと JSON 設定
パソコンにインストール
Claude Code
claude mcp add --scope user sandfort --env SANDFORT_BASE_URL=your-value --env SANDFORT_API_KEY=your-value -- uvx sandfort-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"sandfort": {
"command": "uvx",
"args": [
"sandfort-mcp"
],
"env": {
"SANDFORT_BASE_URL": "your-value",
"SANDFORT_API_KEY": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"sandfort": {
"command": "uvx",
"args": [
"sandfort-mcp"
],
"env": {
"SANDFORT_BASE_URL": "your-value",
"SANDFORT_API_KEY": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"sandfort": {
"type": "stdio",
"command": "uvx",
"args": [
"sandfort-mcp"
],
"env": {
"SANDFORT_BASE_URL": "your-value",
"SANDFORT_API_KEY": "your-value"
}
}
}
}自分で入力する値
SANDFORT_BASE_URL必須 envBase URL of the Sandfort server, for example http://127.0.0.1:8000SANDFORT_API_KEY秘密 必須 envSandfort の API キー(sf_ で始まる)英語の原文を見る
Sandfort API key (starts with sf_)
説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
ひと目でわかる
- レジストリ名
io.github.malinele/sandfort- 週あたりのダウンロードi
- npm/PyPIにない
- 接続方法
- パソコンで動く
- 最新バージョンi
- 0.1.0
- レジストリ公開日i
- 2026年11月24日
- コードの最終更新i
- 2026年11月25日
- 作者
- malinele
- パッケージ
pypi: sandfort-mcp- ウェブサイト
- sandfort.dev
- レジストリでの状態
- 有効
使えるアプリ
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
パソコン上で動かせるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
できること
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月26日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント malinele で確認済みです
- ✓ 合格
今もメンテナンスされている
コードの最終更新:昨日
- ! 注意
ライセンスがある
GitHubがライセンスの種類を判別できませんでした。ファイルを開いて確認してください
- – 対象外
エンドポイントが応答する
これはパソコンで動くため、インターネット上のエンドポイントはありません
- – 対象外
OAuthでサインイン
パソコンで動き、代わりにローカルの設定を使います
- … 未チェック
ツールの説明に隠れた指示がない
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
公開済みの脆弱性(OSV.dev)
OSV.dev に sandfort-mcp@0.1.0 の登録はありません
このバージョンのパッケージ本体のみ確認。すべての依存関係ではありません · 確認日 2026年11月24日
作者の方へ:再確認の依頼・情報の誤りの報告
作者向け:README にバッジを付ける
作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。
[](https://mcp.popnx.com/en/servers/malinele-sandfort)話し合い
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
ユーザーレビュー
まだレビューはありません
開発者ツールのほかのサーバーとの比較i
- このカテゴリのほかの8006件のうち0%よりスターが多い
- このカテゴリのほかの8006件のうち93%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの8006件のうち56%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
Sandfortは安全ですか?
当てはまる基本チェック3項目のうち2項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
入力が必要なもの:SANDFORT_API_KEY
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は昨日、最新バージョン(0.1.0)がレジストリに届いたのは一昨日です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。
代わりに使えるものは?
同じカテゴリには:GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise
似た働きのほかの候補
同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
GitDiagram
Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
Appllama
Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.
Cloudflare MCP
Cloudflare MCP servers
Omnara
Deploy durable AI agents with Omnara, an open-source managed-agent platform.
Repowise
Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.
| これ Sandfort | GitDiagram | Appllama | Cloudflare MCP | Omnara | Repowise | |
|---|---|---|---|---|---|---|
| 動く場所 | パソコンにインストールが必要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドでもパソコンにインストールでも使える |
| キーが必要 | はい | いいえ | いいえ | いいえ | いいえ | いいえ |
| Claude で + から追加 | いいえ | いいえ | いいえ | はい | いいえ | いいえ |
| 基本チェック | 2/3 | 4/4 | 4/4 | 4/4 | 4/4 | 5/5 |
| ライセンス | NOASSERTION | MIT | MIT | Apache-2.0 | Apache-2.0 | AGPL-3.0 |
| 料金 | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし |
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Sandfort
The sandbox platform your security team can audit: exec, files, git and a PTY for AI agents — with a hash-chained audit log, RBAC and quotas — on a Linux Docker host. No KVM required for the default tier.
Sandfort is a self-hosted sandbox server for running AI-generated code: a REST API, a Python SDK and a CLI over isolated Docker-backed sandboxes. The container isolation tier needs only a Docker daemon. The gvisor tier needs the gVisor runsc runtime registered with Docker (docs/operations.md). The optional microvm tier needs KVM and Kata Containers. A deployment offers only container unless the operator maps the other tiers to runtimes (SANDFORT_ISOLATION_RUNTIMES). Pre-1.0 beta (version 0.1.0, released as tags v0.1.0-beta.N), source-available, built October-November 2026. Read Limits before you decide anything.
agent code ──► SDK / CLI / REST ──► Sandfort API ──► Docker driver ──► sandbox (container)
│ ▲ ├─ Postgres (prod) / SQLite (dev) │ exec, fs, git, PTY run from the ├─ workers: reconciler, auto-stop, │ host through driver primitives; │ GC, metering, webhooks │ no daemon inside the sandbox └─ audit chain, quotas, RBAC │
Why it exists
An agent that writes code has to run it somewhere. With a hosted sandbox API, that code, the repositories it touches and their data leave your infrastructure. Sandfort is the same kind of API (create a sandbox, run a command, read and write files, commit to git, open a terminal) that you run on hosts you control, with the controls a security review asks about built into the same package: who did what (audit chain), who may do what (scoped API keys, roles, OIDC SSO), and how much (per-org quotas, metering, rate limits).
It is not the only self-hosted option. See the comparison for the facts, with sources and check dates.
Quickstart
Requirements: Python 3.12 and a local Docker daemon. On Docker Desktop (macOS) the host has no disk-quota support (the storage-opt size option), so per-sandbox disk limits are not enforced there; the server logs a warning and tolerates it outside the prod environment.
git clone https://github.com/malinele/sandfort.git sandfort && cd sandfort
python3.12 -m venv .venv .venv/bin/pip install -e . .venv/bin/pip install -e sdk/python .venv/bin/pip install -e cli
Configuration comes from SANDFORT_* environment variables (see src/sandfort/config.py):
export SANDFORT_DATABASE_URL="sqlite+aiosqlite:///$PWD/sandfort.db"
export SANDFORT_DRIVER=docker export SANDFORT_API_KEY_PEPPER="$(openssl rand -hex 16)"
Keep the pepper the same for the life of the database: a new value makes every key answer 401. Store it in the env file the server starts from, not only in the shell.
Run the migration, then create the first organization. The plaintext API key (it starts with sf_) is printed once and cannot be recovered:
.venv/bin/python -m sandfort.admin_cli migrate
.venv/bin/python -m sandfort.admin_cli bootstrap --org-name Acme --org-slug acme
stdout: the sf_... key; stderr: "Store this key now; it cannot be shown again."
Start the server (interactive OpenAPI docs are served at /docs):
.venv/bin/python -m uvicorn --factory sandfort.main:create_app --port 8000
In a second terminal, use the SDK. Replace the key with the one bootstrap printed:
from sandfort_sdk import Client
client = Client(base_url="http://127.0.0.1:8000", api_key="sf_...")
sbx = client.create_sandbox(name="hello", snapshot="python:3.12-slim", wait=True) result = sbx.process_exec(argv=["python3", "-c", "print(21 * 2)"]) print(result.exit_code, result.stdout.strip()) # 0 42 client.stop(sbx.id) client.delete(sbx.id)
Check the audit chain of the rows you just wrote (run it where SANDFORT_DATABASE_URL and SANDFORT_API_KEY_PEPPER are exported):
.venv/bin/python -m sandfort.admin_cli audit-verify; echo "exit $?"
ok: N audit rows verified
exit 0
audit-verify exits 3 and prints audit chain broken: N finding(s) in M rows when any row fails. This quickstart does not set SANDFORT_AUDIT_CHAIN_KEY, so the chain is an unkeyed hash that anyone who can write the database can recompute; see Audit chain.
The gate scripts in examples/ (quickstart.py and gate2.py to gate10.py) start their own server on a temporary SQLite database, bootstrap a key and exit non-zero on any failure. Most run against local Docker and drive the server through the SDK, with exceptions: gate6.py and gate10.py use the fake driver and need no Docker daemon, gate10.py drives plain HTTP, gate1 (quickstart.py) calls the audit endpoint with raw httpx, and gate5.py keeps its server alive for a real browser. examples/benchmark.py is in the same directory but is not a gate. examples/quickstart.py (gate 1) creates a sandbox, runs Python, deletes it, checks the audit trail and checks that no SANDFORT_ variable leaks into the sandbox. The other gates cover the full toolbox, images and snapshots, quotas and signed webhooks, preview URLs, roles, OIDC sign-on and org members (gate 6), multi-node placement (gate 7), an egress allowlist, cross-node routing and SCIM.
What is in it
| Area | What exists | Source |
|---|---|---|
| Sandbox lifecycle | Create, start, stop, reset, resize (stopped sandboxes only) and delete, run inline by default and as async jobs when jobs mode is enabled (reset is unavailable in jobs mode); auto-stop and auto-delete timers; per-sandbox resources, env and labels. reset replaces the container from the same spec and keeps the sandbox id | src/sandfort/services/sandbox_reset.py, src/sandfort/workers/, src/sandfort/config.py |
| Toolbox | Process exec and code-run; sessions with a persisted working directory; async commands with live log follow over SSE; interactive PTY with resize (CLI shell and a web terminal); preview URLs for dev servers inside a sandbox | src/sandfort/toolbox/, src/sandfort/proxy/ |
| Files and git | Filesystem: list, stat, upload, download, mkdir, move, delete. Git: clone, status, add, commit, push, pull, with a temporary askpass credential that is removed afterwards | src/sandfort/api/routes/toolbox/fs.py, git.py |
| Code contexts | Named persistent Python kernels: variables survive between runs; run, streamed run and interrupt. Python only; state is lost on stop, reset and delete | src/sandfort/toolbox/code_contexts.py |
| Images | Register a public image as a snapshot; build from a declarative image spec (cache keyed by spec_hash); snapshot a running sandbox (state pending until the commit finishes, then ready); export a ready snapshot as a docker save tar; named volumes | src/sandfort/images/, src/sandfort/api/routes/snapshots.py |
| Isolation | cap_drop=ALL plus a short allow list, no-new-privileges, seccomp, pids_limit, CPU/memory/disk limits, blocked metadata IP (requires deploy/host-setup.sh run as root on the host; prod refuses to start without it), network.block_all, per-sandbox egress allowlist (needs the egress proxy, see Limits), runtime choice per sandbox (container, gvisor, microvm) | docs/architecture.md §1, docs/isolation-tiers.md, deploy/seccomp.json, deploy/host-setup.sh |
| Access control | Organizations; API keys with scopes (only an HMAC is stored, the key is shown once); roles admin, developer, viewer mapped onto scopes; label-scoped keys; OIDC SSO token exchange into one org; SCIM 2.0 Users; per-key rate limits | src/sandfort/auth/, src/sandfort/api/routes/sso.py, users.py, scim.py |
| Governance | Per-org quotas reserved transactionally; metering of allocated resources with a usage report; signed webhooks (Standard Webhooks) with delivery history and redelivery, SSRF protection | src/sandfort/services/quota.py, src/sandfort/services/usage.py, src/sandfort/webhooks/signing.py, docs/governance.md |
| Audit | Per-org hash-chained audit log; every non-GET route writes an audit row (meta-test; named exceptions, see docs/governance.md); audit-verify and audit-export admin commands; audit-export appends signed head lines that audit-verify --head checks for truncation | src/sandfort/services/audit_chain.py, src/sandfort/admin_cli.py |
| Operations | /metrics (Prometheus), /healthz, /readyz; OpenTelemetry tracing; JSON logs with request id; process roles api, worker, all; Kubernetes kit for one sandbox node in deploy/k8s/ (single pod, role all; multi-node manifests are not shipped); runbook in docs/operations.md; SQLite for development, Postgres for production | docs/operations.md, deploy/ |
| Extensibility | Frozen driver protocols (src/sandfort/drivers/base.py), entry-point registry and a driver conformance suite. The only production driver is Docker | src/sandfort/drivers/ |
| Interfaces | 91 HTTP operations on 70 paths in the exported OpenAPI spec (counted 2026-11-22; includes /healthz and /readyz; excludes the PTY WebSocket, /metrics, the preview proxy, the web terminal, /v1/nodes and the SCIM routes). Python SDK (sync and async), TypeScript SDK (subset, see below), CLI sandfort, an MCP server over stdio | openapi/sandfort.v1.json, sdk/, cli/, mcp_server/sandfort_mcp.py |
Isolation tiers
Isolation is chosen per sandbox with the isolation field of POST /v1/sandboxes; GET /v1/isolation lists the tiers a deployment offers.
| Tier | Runtime | Boundary | What it costs |
|---|---|---|---|
container | runc | Linux namespaces, cgroups, seccomp, a reduced capability set | Shares the host kernel |
gvisor | runsc (gVisor) | A user-space kernel handles the sandbox's system calls; not a hardware boundary | Spawn-heavy and small-file-heavy work measured about 3x to about 9x slower, and about 40x for a fork-heavy bash loop (docs/isolation-tiers.md); exceeding a memory or process limit usually stops the whole sandbox; large writes count toward memory |
microvm | Kata Containers behind the same Docker driver | Hardware virtualization, a guest kernel per sandbox | Needs KVM; create to started about 4 s on the hosted beta, which runs it on nested KVM |
Sandfort does not claim stronger isolation than microVM-based products. The Firecracker driver in src/sandfort/drivers/firecracker/ is a skeleton tested against a mock agent and is not offered. Details: docs/isolation-tiers.md.
Audit chain
Each audit row stores prev_hash and hash = sha256(prev_hash + canonical(row)); canonical covers the immutable fields as compact JSON with sorted keys. With SANDFORT_AUDIT_CHAIN_KEY set (at least 32 bytes) the hash is HMAC-SHA256(key, ...), so a database writer without the key cannot recompute a rewritten history. Without the key the chain is an unkeyed hash: anyone who can write the database can rewrite history consistently and audit-verify still passes (in prod the server refuses to start in that state unless SANDFORT_UNKEYED_AUDIT_CHAIN_ACKNOWLEDGED=true; dev and test log a warning). Set the key for any deployment where that matters. Every non-GET route writes an audit row, with named exceptions: a refused call writes request.denied, and failed authentication is not audited (docs/governance.md). audit-verify re-checks every org's chain and exits 3 on any finding (hash_mismatch, link_broken, missing_hash, head_missing, head_invalid). The chain is tamper-evident, not immutable: it shows that history changed, it does not stop a writer from changing it.
Limits
These are the current limits, stated up front. Each one comes from the code or the docs in this rep