---
title: "SQL Server MCP 연결 | Claude·ChatGPT용 맞춤 도구 | Agent UI"
description: "SQL Server MCP 연결, 서버를 직접 운영하거나 포트를 열 필요가 없습니다. 클라우드든 온프레미스든, 팀이 Claude, ChatGPT, Cursor에서 쓰는 맞춤 도구를 만드세요."
url: https://www.agentui.ai/ko/connect-sql-server-mcp/
lang: ko
source: ko/connect-sql-server-mcp/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/ko/connect-sql-server-mcp/](https://www.agentui.ai/ko/connect-sql-server-mcp/) — 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)

# SQL Server를 MCP로 연결해 Claude, ChatGPT, Cursor에서 쓰세요

SQL Server를 MCP로 연결하는 일, AgentUI라면 데이터베이스가 클라우드에 있든 사무실 서버에 있든 가능합니다. "고객별 연체 청구서"처럼 원하는 도구를 설명하면 AI가 만들어 줍니다. 그다음 각자 이미 쓰고 있는 어시스턴트에 링크 하나를 추가하고 자기 계정으로 로그인하면 됩니다.

[첫 도구 만들기](https://app.agentui.ai/chat?utm=direct&utm_medium=direct)[담당자와 함께 설정하기](https://calendar.app.google/pcCwDiMJ8eSQ9zvo7)

운영할 서버도, 열어야 할 포트도 없습니다. 어떤 연결이든 패널에서 해제할 수 있습니다.

AI assistant · MCPSigned in as MariaWhat does Northwind Foods owe us past 30 days?Called tool · finance-appread-onlytool_overdue_invoices(customer: "Northwind Foods")→ ERP-SQL01 (on-prem) · 3 rows · 1.1sInvoiceDays lateAmountINV-2093147$8,420.00INV-2087738$2,115.50INV-2080433$640.00

Northwind Foods has 3 invoices past 30 days, totalling $11,175.50. The oldest is 47 days late.

## SQL Server를 MCP로 연결하는 3단계

### 데이터베이스 연결

클라우드 SQL Server는 SQL 연동으로 연결됩니다. 사무실 서버에 있는 경우 AgentUI Connector를 설치하는데, HTTPS로 바깥쪽 연결만 하므로 방화벽 설정은 그대로입니다.

### 도구 설명

각 도구가 할 일을 빌더 AI에게 알려 주세요. AI가 고정된 쿼리와 필요한 입력값을 갖춘 도구를 만들고, MCP 패널에서 켜고 끌 수 있습니다.

### 어시스턴트에 링크 하나 추가

앱마다 고유한 MCP 주소가 있습니다. Claude, ChatGPT, Cursor, Codex, Windsurf에 붙여 넣고 로그인하면 채팅에 도구가 나타납니다.

## AI에게 SQL을 통째로 맡기는 대신, 맞춤 도구로

도구는 승인한 쿼리가 담긴 이름 있는 동작입니다. 어시스턴트는 필요한 것을 요청할 뿐, 그 밖의 것은 실행할 수 없습니다. 도구마다 읽기 전용으로 지정할 수 있고, 앱 하나에 최대 100개까지 둘 수 있습니다. 몇 가지 예시입니다.

- tool_overdue_invoices한 고객의 30일 넘게 연체된 청구서
- tool_stock_by_warehouse한 제품의 창고별 보유 재고 수량
- tool_late_shipments이번 주 기한을 넘겨 출고된 주문
- tool_customer_summary한 거래처의 진행 중인 주문, 잔액, 최근 구매

## 팀이 쓰는 모든 AI를 위한 SQL Server MCP 서버 하나

누구도 어시스턴트를 바꿀 필요가 없습니다. 영업팀은 ChatGPT, 재무팀은 Claude, 개발자는 Cursor를 그대로 쓰면서 모두 같은 데이터베이스에 같은 도구를 호출합니다.

ClaudeSettings → Connectors → Add custom connector에서 링크를 붙여 넣기ChatGPT커넥터로 추가하고 링크를 붙여 넣기CursorSettings → MCP → Add new server에서 링크를 붙여 넣기Claude Codeclaude mcp add my-app <link> --transport httpCodex & Windsurf패널에서 제공하는 설정 스니펫을 붙여 넣기

## SQL Server를 MCP로 연결하기 전에 IT팀이 알고 싶어 할 것

- 각자 자기 계정으로 로그인합니다. 누군가의 설정 파일에 공유 API 키가 남아 있을 일이 없습니다.
- 연결을 보기 전용으로 둘 수 있고, 환경 전체에서 "Assistants may change data"를 끌 수도 있습니다.
- 모든 연결이 마지막 사용 시점과 함께 표시됩니다. 하나를 해제하면 그 연결의 호출이 멈춥니다.
- 온프레미스 커넥터를 거치는 쿼리는 읽기만 할 수 있습니다. SELECT와 WITH만 실행되고, 매번 롤백됩니다. DB 비밀번호는 고객 서버를 떠나지 않습니다.

## 알아 두면 좋은 제한 사항

- 온프레미스 커넥터는 Microsoft SQL Server만 읽으며, 쿼리 한 번에 최대 1,000행, 30초까지입니다.
- MCP 호출은 30초 안에 응답해야 하므로, 도구는 테이블 전체가 아니라 요약을 요청하도록 만드세요.
- SQL Server 쿼리는 각자의 데이터베이스 로그인이 아니라 앱의 연결로 실행됩니다. 누가 호출할 수 있는지는 도구의 접근 규칙으로 정하세요.
- SQL Server 연결은 Team 요금제 이상에서 쓸 수 있습니다.

## 연결한 다음에는

데이터베이스가 사무실 서버에 있다면, IT 담당자는 스크린샷이 담긴 Word 설치 가이드를 받고 서비스 하나만 설치하면 됩니다. 그 통화에는 저희도 함께할 수 있습니다. 그다음 첫 도구를 설명하고, Claude나 ChatGPT에서 테스트하고, 누군가 요청할 때 다음 도구를 추가하면 됩니다. 실제 담당자가 계정을 계속 맡기 때문에 도구가 직원 한 사람에게만 의존하게 되지 않습니다.

더 알아보기

- [AgentUI에서 SQL Server를 AI에 연결하기](/ko/connect-sql-server-to-ai/)
- [온프레미스 SQL Server 커넥터 작동 방식](/ko/on-premise-sql-server-connector/)
- [가이드: 포트 포워딩 없이 SQL Server에 연결하는 방법](/ko/blog/connect-to-sql-server-without-port-forwarding/)
- [AgentUI CLI](/ko/agentui-cli/)

## 팀의 AI에게 믿을 수 있는 도구 하나를

SQL Server를 연결하고, 첫 도구를 설명하고, 링크를 Claude나 ChatGPT에 붙여 넣으세요. 저희와 함께 만들고 싶다면 통화를 예약하세요.

[첫 도구 만들기](https://app.agentui.ai/chat?utm=direct&utm_medium=direct)[담당자와 함께 설정하기](https://calendar.app.google/pcCwDiMJ8eSQ9zvo7)

운영할 서버도, 열어야 할 포트도 없습니다. 어떤 연결이든 패널에서 해제할 수 있습니다.

## 이어서 읽기

- [엔터프라이즈 보안과 컴플라이언스 상태](/ko/security/)
- [감사 로그: 누가 무엇을 언제 바꿨는지](/ko/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
