mssqlMCP tsql.instructions.md

mssqlMCP tsql.instructions.md is an instructions file for GitHub Copilot from MCPRUNNER/mssqlMCP. It costs 247 tokens per session, scanned A, original, MIT.

Instructions for writing and maintaining Microsoft SQL Server queries and database code using T-SQL, the SQL language used by SQL Server.

In plain words
What is it for?
Use them when creating or reviewing T-SQL procedures, queries, transactions, indexes, table operations, error handling, logging, and database naming.
Why use it?
They reduce common database problems such as unclear queries, unsafe input handling, poor performance, missing error handling, and inconsistent formatting.

Instructions file for GitHub Copilot

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/mcprunner/mssqlmcp/tsql
Clone the repo
git clone --depth 1 https://github.com/MCPRUNNER/mssqlMCP

Made for: GitHub Copilot.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mssqlMCP tsql.instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/mcprunner/mssqlmcp/tsql.svg)](https://agentmods.dev/instructions/mcprunner/mssqlmcp/tsql)
Your own site
<a href="https://agentmods.dev/instructions/mcprunner/mssqlmcp/tsql"><img src="https://agentmods.dev/badge/instructions/mcprunner/mssqlmcp/tsql.svg" alt="Measured on agentmods" height="20"></a>
Per session 247 This file is loaded in full into every session.
When invoked 247 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00247 $0.00247
Opus 5 $0.00123 $0.00123
Sonnet 5 $0.00049 $0.00049
Haiku 4.5 $0.00025 $0.00025

Measured 3d ago against content hash 225c07fd2d0f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

mssqlMCP tsql.instructions.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/instructions/tsql.instructions.md · 27 lines

What it actually says

T-SQL Instructions

General Guidelines

  • Use clear and concise language.
  • Follow the T-SQL coding conventions.
  • Ensure all code is well-documented using standard SQL comments (-- for single-line and /* ... */ for multi-line).
  • Implement error handling with try catch
  • Add logging where appropriate.
  • Use meaningful names for variables, tables, and other database objects.
  • Optimize queries for performance and efficiency.
  • Use transactions where necessary to maintain data integrity.
  • Include comments to explain complex logic or business rules.
  • Follow best practices for security, such as avoiding SQL injection.
  • Use CTEs (Common Table Expressions) for better readability in complex queries.
  • Ensure proper indexing strategies are considered in query design.
  • Use schema prefixes for all database objects to avoid ambiguity.
  • Format SQL code for better readability (indentation, line breaks, etc.).
  • Use appropriate data types for columns to optimize storage and performance.
  • Regularly review and refactor SQL code to improve performance and maintainability.
  • Use column names in INSERT statements for clarity and to avoid errors.
  • Avoid using SELECT * in queries; specify the required columns instead.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 27 lines · 247 tokens per session scan A 225c07fd2d0f

Subscribe to this mod's changes

mssqlMCP tsql.instructions.md is an instructions file published in the GitHub repository MCPRUNNER/mssqlMCP (10 stars, last pushed 3mo ago), licensed MIT. It adds 247 tokens to every session, about $0.0012 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.