---
title: "SQL Server को MCP से जोड़ें | Claude और ChatGPT के लिए custom tools | Agent UI"
description: "SQL Server को MCP से जोड़ें, बिना server host किए या port खोले। Cloud या on-premise database, team के लिए custom tools जो Claude, ChatGPT और Cursor में चलें।"
url: https://www.agentui.ai/hi/connect-sql-server-mcp/
lang: hi
source: hi/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/hi/connect-sql-server-mcp/](https://www.agentui.ai/hi/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 के साथ, चाहे database cloud में चलता हो या आपके office के किसी server पर। आप बताते हैं कि कौन-से tools चाहिए, जैसे "किसी customer के overdue invoices", और AI उन्हें लिख देता है। फिर हर व्यक्ति उस assistant में एक link जोड़ता है जिसे वह पहले से इस्तेमाल करता है, और अपने account से sign in करता है।

[मेरा पहला tool बनाएँ](https://app.agentui.ai/chat?utm=direct&utm_medium=direct)[किसी व्यक्ति के साथ सेट करें](https://calendar.app.google/pcCwDiMJ8eSQ9zvo7)

कुछ host नहीं करना, कोई port नहीं खोलना। कोई भी connection panel से revoke करें।

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.

## तीन steps में SQL Server को MCP से कैसे जोड़ें

### Database जोड़ें

Cloud वाला SQL Server, SQL integration से जुड़ता है। Office server वाले के लिए AgentUI Connector मिलता है, जो HTTPS से बाहर की ओर जुड़ता है, इसलिए आपका firewall जैसा है वैसा ही रहता है।

### Tools के बारे में बताएँ

Builder AI को बताएँ कि हर tool को क्या करना है। वह fixed query और ज़रूरी inputs के साथ tool लिख देता है, और आप उसे MCP panel में on या off करते हैं।

### Assistant में एक link जोड़ें

हर app का अपना MCP address होता है। उसे Claude, ChatGPT, Cursor, Codex या Windsurf में paste करें, sign in करें, और tools chat में दिखने लगते हैं।

## AI को raw SQL देने के बजाय custom tools

Tool एक नाम वाला action है जिसकी query आपने approve की है, इसलिए assistant सिर्फ़ वही माँगता है जो उसे चाहिए और इसके अलावा कुछ नहीं चला सकता। हर tool को read-only mark किया जा सकता है, और एक app में ऐसे 100 तक tools हो सकते हैं। कुछ उदाहरण:

- tool_overdue_invoicesकिसी एक customer के 30 दिन से ज़्यादा पुराने बकाया invoices
- tool_stock_by_warehouseकिसी product की हर warehouse में मौजूद quantity
- tool_late_shipmentsइस हफ़्ते के वे orders जो due date के बाद ship हुए
- tool_customer_summaryकिसी एक account के open orders, balance और आख़िरी purchase

## आपकी team के हर AI के लिए एक SQL Server MCP server

किसी को assistant बदलना नहीं पड़ता। Sales ChatGPT में रह सकती है, finance Claude में और developer Cursor में, और सब एक ही database पर एक जैसे tools चलाते हैं।

ClaudeSettings → Connectors → Add custom connector, फिर link paste करेंChatGPTइसे connector के रूप में जोड़ें और link paste करेंCursorSettings → MCP → Add new server, फिर link paste करेंClaude Codeclaude mcp add my-app <link> --transport httpCodex & WindsurfPanel से मिला config snippet paste करें

## SQL Server को MCP से जोड़ने से पहले IT क्या जानना चाहेगा

- हर व्यक्ति अपने account से sign in करता है। किसी की config file में कोई shared API key नहीं पड़ी रहती।
- Connections view-only हो सकते हैं, और आप पूरे environment के लिए "Assistants may change data" बंद कर सकते हैं।
- हर connection की list में दिखता है कि वह आख़िरी बार कब इस्तेमाल हुआ। किसी एक को revoke करें, और उसकी calls रुक जाती हैं।
- On-prem connector से queries सिर्फ़ पढ़ सकती हैं: SELECT और WITH चलते हैं, और हर एक roll back होती है। Database password आपके server से कभी बाहर नहीं जाता।

## ये limits जानना ज़रूरी है

- On-prem connector सिर्फ़ Microsoft SQL Server पढ़ता है, हर query में 1,000 rows और 30 seconds तक।
- हर MCP call को जवाब देने के लिए 30 seconds मिलते हैं, इसलिए tools को पूरी table नहीं, summary माँगनी चाहिए।
- SQL Server पर queries app के connection से चलती हैं, हर व्यक्ति के database login से नहीं। कौन tool चला सकता है, यह उस tool के access rule से तय करें।
- SQL Server connection, Team plan और उससे ऊपर में मिलता है।

## जोड़ने के बाद क्या होता है

अगर database office के server पर है, तो आपके IT वाले को screenshots के साथ Word setup guide मिलती है, और वे एक service install करते हैं। हम उस call पर साथ जुड़ सकते हैं। फिर आप अपना पहला tool बताते हैं, उसे Claude या ChatGPT में test करते हैं, और जब कोई माँगे तब अगला जोड़ते हैं। एक असली इंसान आपके account के साथ बना रहता है, ताकि tools किसी एक employee पर निर्भर न रह जाएँ।

और जानें

- [AgentUI के अंदर SQL Server को AI से जोड़ें](/hi/connect-sql-server-to-ai/)
- [On-premise SQL Server connector कैसे काम करता है](/hi/on-premise-sql-server-connector/)
- [Guide: बिना port forwarding के SQL Server से कैसे जुड़ें](/hi/blog/connect-to-sql-server-without-port-forwarding/)
- [AgentUI CLI](/hi/agentui-cli/)

## अपनी team के AI को एक ऐसा tool दें जिस पर वह भरोसा कर सके

SQL Server जोड़ें, पहला tool बताएँ, और link को Claude या ChatGPT में paste करें। अगर हमारे साथ बनाना चाहें, तो call book करें।

[मेरा पहला tool बनाएँ](https://app.agentui.ai/chat?utm=direct&utm_medium=direct)[किसी व्यक्ति के साथ सेट करें](https://calendar.app.google/pcCwDiMJ8eSQ9zvo7)

कुछ host नहीं करना, कोई port नहीं खोलना। कोई भी connection panel से revoke करें।

## आगे पढ़ें

- [एंटरप्राइज़ सुरक्षा और अनुपालन स्थिति](/hi/security/)
- [ऑडिट लॉग: किसने क्या और कब बदला](/hi/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
