Mssql
Executes SQL queries against Microsoft SQL Server databases, streamlining data retrieval and manipulation for various applications.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add mssql npx -- -y @trustedskills/mssql
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"mssql": {
"command": "npx",
"args": [
"-y",
"@trustedskills/mssql"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill enables AI agents to interact directly with Microsoft SQL Server databases. It allows the agent to execute raw T-SQL queries, manage database connections, and retrieve structured data for analysis or reporting tasks.
When to use it
- You need an AI agent to query live transactional data from a SQL Server instance.
- Your workflow requires executing complex stored procedures or ad-hoc T-SQL scripts dynamically.
- You want the agent to fetch specific rows or columns from existing tables based on user-defined filters.
- You are building a reporting dashboard where an AI must summarize database metrics in real-time.
Key capabilities
- Execute raw T-SQL queries against Microsoft SQL Server.
- Manage active database connections and sessions.
- Retrieve structured tabular results from the database engine.
- Handle authentication and connection string configuration for secure access.
Example prompts
- "Connect to our production SQL Server and fetch the total sales revenue for Q3 2024."
- "Run a stored procedure named
GetCustomerDetailswith the parameter ID set to 105." - "Query the
Userstable to find all accounts that have not logged in during the last 30 days."
Tips & gotchas
Ensure your AI agent has valid credentials and connection strings configured before attempting to execute queries. Be cautious when granting database permissions, as unrestricted access could lead to data exposure or accidental modifications if the agent is not properly sandboxed.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.