---
title: "オンプレミスSQL Serverコネクタ | ポート開放不要 | Agent UI"
description: "オンプレミスSQL Serverコネクタは外向きHTTPSで接続。ポート開放もIP許可リストも不要で、公開アドレスのないDBをアプリから読み取れます。パスワードはサーバーに残ります。"
url: https://www.agentui.ai/ja/on-premise-sql-server-connector/
lang: ja
source: ja/on-premise-sql-server-connector/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/on-premise-sql-server-connector/](https://www.agentui.ai/ja/on-premise-sql-server-connector/) — 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)

外向きHTTPSのみ

# ポートを開けない、オンプレミスSQL Serverコネクタ

AgentUIのオンプレミスSQL Serverコネクタなら、公開アドレスのないデータベースのデータをアプリで使えます。そのサーバーに一度インストールすれば、あとはHTTPSでこちらへ接続するだけ。ファイアウォールはそのままで、許可するIPもありません。

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

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

Connector installOnlineDB-SERVER-01 · Microsoft SQL Server✓Checking SQL Server on localhost:1433✓Checking AgentUI over HTTPS (outbound 443)✓Installing Windows service✓Connector online · waiting for queries›SELECT · 412 rows · 0.9sInbound ports0AccessRead-onlyRevoke< 25s

## 公開アドレスのないSQL Serverに届くしくみ

### サーバーから外へつなぐ

コネクタはポート443でAgentUIへ外向きのHTTPS接続を開きます。必要な接続はこれひとつだけです。

### リクエストは同じ接続で届く

アプリやAIがデータを求めると、その接続を通ってリクエストが届き、コネクタがSQL Serverで実行します。

### 戻るのは結果の行だけ

結果の行は依頼したアプリへ直接返ります。コピーも同期もしないので、データベースはお客様のサーバーにだけあります。

## 社内のSQL Serverをつなぐのに、これまで必要だったこと

### これまで

- サポートにメールしてIPアドレスを確認
- データベースをインターネットに公開
- そのIPをファイアウォールで許可
- 公開アドレスがなければ接続できない

### コネクタなら

- サーバーにサービスを1つ入れるだけ
- インターネットに公開するものはなし
- ファイアウォールの変更なし
- 公開アドレスがなくても動作

## IT担当者が確認したいこと

- できるのは読み取りだけ。SELECTとWITHのクエリを実行し、終わるたびにロールバックします。
- DBのパスワードはそのサーバーから出ることはなく、Windowsでは暗号化されます。当社が持つのはコネクタキーのフィンガープリントだけです。
- 止めたいときは、コネクタを取り消すだけ。キーは25秒以内に使えなくなります。
- 「Your connectors」ページで、どのサーバーがオンラインかひと目でわかります。

## 社内で動かしているSQL Serverなら何でも

社内やプライベートネットワークのMicrosoft SQL Serverなら読み取れます。ERP、会計システム、倉庫や製造のデータベース、何年も前に誰かが作った業務アプリのDBまで。AgentUIには「<名前> (on-prem)」として表示され、アプリもAIもそこからクエリします。

最も多いのは、Windowsサーバー上のSAP Business Oneです。 [SAP Business One のダッシュボードを見る](/ja/sap-business-one-dashboard/)

## Windows・macOS・Linuxにインストール

### Windows

.exeをダブルクリック。Windowsサービスとして動作し、DBのパスワードは暗号化して保存されます。

### macOS

.pkgをダブルクリック、またはアプリに表示される1行のコマンドを貼り付けます。

### Linux

.debをインストールするか、コマンドを1行貼り付け。ほかと同じくサービスとして動作します。

Node.jsは不要です。サーバーがクラッシュしても再起動しても、サービスは自動で立ち上がります。拠点が複数あるなら、ワークスペースごとに最大20台、サーバーごとに1台ずつ追加できます。

## インストール前に知っておきたい制限

- 読み取れるのはMicrosoft SQL Serverだけ。データがMySQL・PostgreSQL・Oracleにある場合、このコネクタでは届きません。
- 1回のクエリで返せるのは最大1,000行、実行時間は最大30秒です。

ほかの方法と比べるなら

- [AgentUIコネクタとMicrosoftのオンプレミスデータゲートウェイの比較](/ja/on-premises-data-gateway-alternative/)
- [オンプレミスSQL ServerでのAgentUIとRetoolの比較](/ja/retool-on-premise-sql-server/)
- [SAP Business OneとPower BI：2つの方法を比較](/ja/sap-business-one-power-bi/)
- [ガイド：ポートフォワーディングなしでSQL Serverに接続する方法](/ja/blog/connect-to-sql-server-without-port-forwarding/)

ほかのデータソースをお探しなら [AgentUIの連携一覧を見る](/ja/integrations/)

プラットフォームごと社内ネットワークに置きたいなら [AgentUIを自社サーバーで動かす](/ja/agentui-anywhere/)

## 社内にあるデータを、アプリで使えるように

IT担当者には、スクリーンショット付きのWord版設定ガイドを担当者の言語で渡せます。ひとりで進めるのが不安なら、当社のスタッフがインストールに付き添います。

[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
