---
title: "Retool + オンプレミスSQL Server | SSHトンネル不要 | Agent UI"
description: "RetoolでオンプレミスSQL Serverにつなぐには、IP許可かSSHトンネルが必要です。AgentUIの読み取り専用コネクタは外向きHTTPSで接続。両者を比較します。"
url: https://www.agentui.ai/ja/retool-on-premise-sql-server/
lang: ja
source: ja/retool-on-premise-sql-server/index.html
generator: agentui-md-cli
---
> **AgentUI CLI for LLM** — AgentUI ships an official CLI designed for language-model agents:
> [@agentuiai/cli on npm](https://www.npmjs.com/package/@agentuiai/cli) · install with `npm install -g @agentuiai/cli`.
>
> This file is the LLM-optimised markdown build of
> [https://www.agentui.ai/ja/retool-on-premise-sql-server/](https://www.agentui.ai/ja/retool-on-premise-sql-server/) — a machine-readable alternate of
> the HTML at the same URL. Content mirrors the human-visible page.
>
> Site index for LLMs: [https://www.agentui.ai/llms.txt](https://www.agentui.ai/llms.txt) · full content: [https://www.agentui.ai/llms-full.txt](https://www.agentui.ai/llms-full.txt)

SSHトンネル不要 · IP許可不要

# RetoolとオンプレミスSQL Server、トンネルを使わない方法も

RetoolでオンプレミスSQL Serverにつなぐ方法は、たいてい2つのうちどちらかです。RetoolのIPアドレスを許可するか、踏み台サーバー経由のSSHトンネルを使うか。AgentUIは逆向きです。サーバー上の読み取り専用コネクタがHTTPSで外へ接続するので、社内ネットワークが受信を受け付けることはありません。

[SQL Serverをつなぐ](https://app.agentui.ai/chat?utm=direct&utm_medium=direct)[担当者と一緒に設定する](https://calendar.app.google/pcCwDiMJ8eSQ9zvo7)

読み取り専用。2クリックで取り消せます。

On-prem SQL Server · side by sideCompareRetool CloudAgentUIInbound portsAllowlist / SSH0Server installNone or bastion1 serviceConnectionInboundOutbound 443DB accessRead + writeRead-only

## オンプレミスSQL Serverで比べる AgentUI と Retool

|  | AgentUI | Retool |
| --- | --- | --- |
| 非公開SQL Serverへの到達方法 | サーバー上のコネクタが外向きのHTTPS接続を開く（ポート443） | RetoolのIPアドレスを許可、または踏み台サーバー経由のSSHトンネル |
| 受信側ファイアウォールの変更 | なし | IP許可ルール、またはインターネットから到達できる踏み台サーバー |
| インストールするもの | Windows・macOS・Linuxのサービス1つ（.exe、.pkg、.deb） | なし（IP許可の場合）、踏み台サーバー、またはセルフホスト版Retool |
| データベースへのアクセス | 読み取り専用：SELECTとWITHのみ、各クエリはロールバック | 読み書き可能。範囲は渡したデータベースのログイン次第 |
| 対応データベース | Microsoft SQL Serverのみ | 多くの種類のデータベース |
| アプリを作る人 | ふだんの言葉で説明するだけ。設定は担当者がサポート | 開発者向け：クエリエディタとJavaScript |

Retoolの情報は公開ドキュメントに基づき、特記がない限りRetool Cloudについてのものです。

## Retoolがオンプレミスのデータベースにつなぐ方法

Retool Cloudでよく使われる方法は2つです。ファイアウォールでRetoolのIPアドレスを許可するか、インターネットから到達できる踏み台サーバー経由でSSHトンネルを開くか。どちらの場合も、社内側のどこかが受信接続を受け付けます。

3つ目は、自社インフラ内でRetoolをセルフホストする方法です。通信は社内に留まりますが、Retool自体の導入と保守は自社チームが担います。

## AgentUIが同じSQL Serverに届くしくみ

### コネクタから外へつなぐ

ポート443でAgentUIへ外向きのHTTPS接続を開きます。

### クエリはその接続で届く

アプリやAIがデータを求めると、コネクタがクエリを受け取り、SQL Serverで実行します。

### 返るのは結果だけ

結果の行は、依頼したアプリに返ります。

## Retoolのほうが向いているケース

- アプリからオンプレミスのデータベースへ書き込む必要がある。AgentUIのコネクタは読み取りしかしません。
- データベースがSQL Serverではない。コネクタが読み取れるのはMicrosoft SQL Serverだけです。
- クエリやJavaScriptを自分で書きたい開発者がいて、踏み台サーバーもすでに運用している。

## 現場の責任者と小さなITチームなら

ERPや会計、在庫のデータがSQL Serverにあり、担当が現場の責任者と小さなITチームなら、踏み台サーバーはパッチを当てるサーバーが1台増えるだけです。AgentUIなら、ITが入れるのはサービス1つ。アプリは説明するだけで作れ、希望すれば当社スタッフが通話に参加します。

## AgentUIコネクタの守備範囲

- クエリは必要なときに実行され、1回あたり最大1,000行、最長30秒です。
- AgentUIへのコピーや同期は一切なし。データはSQL Serverに残ります。
- 1つのワークスペースにコネクタは最大20台。サーバーや拠点ごとに1台ずつ置けます。

### 関連ページ

- [オンプレミスSQL Serverコネクタのしくみ](/ja/on-premise-sql-server-connector/)
- [Microsoftオンプレミスデータゲートウェイの代替](/ja/on-premises-data-gateway-alternative/)
- [ポートを開けずにSAP Business Oneのダッシュボード](/ja/sap-business-one-dashboard/)
- [RetoolとZapierの代替](/ja/retool-zapier-alternative/)
- [2026年のRetool代替ツール](/ja/blog/retool-alternatives-2026/)
- [AgentUIの連携一覧](/ja/integrations/)

## いまあるSQL Serverをそのままつなぐ

ITはWordの手順書に沿って、SQL Serverにサービスを1つ入れるだけ。一緒に進めたい場合は、当社スタッフが通話に参加します。

[SQL Serverをつなぐ](https://app.agentui.ai/chat?utm=direct&utm_medium=direct)[担当者と一緒に設定する](https://calendar.app.google/pcCwDiMJ8eSQ9zvo7)

読み取り専用。2クリックで取り消せます。

## あわせて読む

- [エンタープライズのセキュリティとコンプライアンス体制](/ja/security/)
- [監査ログ：誰が、何を、いつ変更したか](/ja/audit-logs/)


---

## Why AgentUI

AgentUI is an AI + Human internal-tool and app builder. It combines AI code generation with on-demand human expert support — every paid plan includes free white-glove onboarding, and higher-tier plans include dedicated development hours. Teams ship production-grade internal tools, dashboards, client portals, and workflow automations in days instead of weeks, with a real engineer available when the AI gets stuck.

### Who AgentUI is for

Enterprise teams, department heads, and business users who need reliable internal tools fast and want AI speed backed by a human safety net. Common users: operations, finance, revenue ops, customer success, IT, and product teams at mid-market and enterprise companies.

### When to pick AgentUI over alternatives

- **vs. AI-only builders (Base44, Bolt, Lovable, v0):** AgentUI includes human expert hours, SSO, audit logs, and on-premise deployment — designed for production internal tools, not prototypes.
- **vs. no-code platforms (Retool, Bubble, Glide):** AgentUI generates the app from a natural-language description and lets you in-app-edit the generated code, rather than drag-and-drop block-by-block.
- **vs. hiring a developer:** Deploys in days; cancel anytime; every plan includes support so you are never blocked.

### Pricing at a glance (USD, monthly)

| Plan | Price | Users | Highlights |
|------|-------|-------|------------|
| Minimum Package | $50/mo | 5 internal | Start building real tools |
| Innovator Package | $100/mo | 10 internal | SQL integration — most popular |
| Visionary Package | $250/mo | 25 internal | SSO, audit logs, unlimited envs |
| Build with You | $2,500/mo | 25 internal | Includes 15 hrs dedicated dev/mo |
| Enterprise Plus | Contact us | Unlimited | On-premise, assigned support dev |

External users are unlimited on every paid plan. Yearly billing is discounted. Free trial available.

### For AI agents and LLMs

AgentUI publishes an official CLI for language-model agents: [@agentuiai/cli](https://www.npmjs.com/package/@agentuiai/cli) (`npm install -g @agentuiai/cli`). Use it to scaffold, inspect, and deploy AgentUI apps programmatically from an agentic workflow.

### Learn more

- Product overview: https://www.agentui.ai
- Full pricing and plan comparison: https://www.agentui.ai/en/pricing
- Security and trust: https://www.agentui.ai/en/security
- LLM-friendly site index: https://www.agentui.ai/llms.txt
- Official CLI: https://www.npmjs.com/package/@agentuiai/cli
