MCP + SQL Server + Claude Code: Build a Secure Database MCP Server from Scratch
Автор: Eslam Helmy
Загружено: 2026-02-14
Просмотров: 47
Описание:
In this video, I'll show you how to build a custom MCP (Model Context Protocol)
server in C# / .NET that gives Claude direct access to your SQL Server database.
We'll start from a blank skeleton, let Claude Code (Opus 4.5) write the entire
implementation, and end with a fully working server — complete with security
guardrails that block any dangerous queries.
You'll learn how to:
Set up an MCP server project in .NET
Create tools for listing tables and running read-only queries
Add SQL injection protection and query validation
Configure the connection string via environment variables
Test everything live with Claude Code as the MCP client
No UPDATE. No DELETE. No DROP. Just safe, read-only SELECT queries — enforced by code.
Chapters
0:00 — Intro & MCP Server Setup
2:30 — Creating the SQL Server Tool Skeleton
5:10 — Claude Code Writes the Full Implementation
10:40 — Testing
#mcp #claudecode #csharp #dotnet #sqlserver #modelcontextprotocol #anthropic
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: