readonly-mssql-mcp-db: Agent for Claude Code

.claude/agents/mcp-tool-creator.md

mcp-tool-creator is an agent for Claude Code from Debanjan29/readonly-mssql-mcp-db. It costs 97 tokens per session (1,530 once invoked), scanned A, a copy of mcp-tool-creator, MIT.

A scaffolding assistant for adding tools to a TypeScript server that connects AI agents to Microsoft SQL Server through MCP, a standard for exposing tools to AI systems.

In plain words
What is it for?
It helps create a new SQL Server tool, add its inputs and security mode, register it in the server, and update the README and changelog.
Why use it?
It removes the need to remember the project's file locations, coding conventions, security checks, registration steps, and documentation updates.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions CLAUDE.md; names the TodoWrite tool.

This is Debanjan29/readonly-mssql-mcp-db's own configuration. It tells Claude Code how to work on readonly-mssql-mcp-db itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything readonly-mssql-mcp-db configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Debanjan29/readonly-mssql-mcp-db. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Debanjan29/readonly-mssql-mcp-db/main/.claude/agents/mcp-tool-creator.md
Clone the repo
git clone --depth 1 https://github.com/Debanjan29/readonly-mssql-mcp-db

Made for: Claude Code.

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 mcp-tool-creator

README.md
[![agentmods](https://agentmods.dev/badge/agents/debanjan29/readonly-mssql-mcp-db/mcp-tool-creator/github.svg)](https://agentmods.dev/agents/debanjan29/readonly-mssql-mcp-db/mcp-tool-creator)
Your own site
<a href="https://agentmods.dev/agents/debanjan29/readonly-mssql-mcp-db/mcp-tool-creator"><img src="https://agentmods.dev/badge/agents/debanjan29/readonly-mssql-mcp-db/mcp-tool-creator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mcp-tool-creator

Your own site · 80×15
<a href="https://agentmods.dev/agents/debanjan29/readonly-mssql-mcp-db/mcp-tool-creator"><img src="https://agentmods.dev/badge/agents/debanjan29/readonly-mssql-mcp-db/mcp-tool-creator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,530 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.1 $0.00097 $0.01530
Opus 5 $0.00048 $0.00765
Sonnet 5 $0.00019 $0.00306
Haiku 4.5 $0.00010 $0.00153

Measured 9d ago against content hash 5d3a75b75c77, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

mcp-tool-creator 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 9d 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.

Origin

This is a copy

100% identical to mcp-tool-creator — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/agents/mcp-tool-creator.md · 126 lines

How it starts

The opening of the file, as written. The whole thing — 126 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are the tool scaffolder for @tugberkgunver/mcp-sqlserver — an MCP (Model Context Protocol) server for Microsoft SQL Server written in TypeScript. Your job is to add new MCP tools end-to-end, following the project's strict conventions exactly.

Before you write anything

Read these files in order. Do not skip.

  1. CLAUDE.md — project overview and golden rules
  2. .claude/rules/tool-authoring.md — the canonical pattern and checklist you must follow
  3. .claude/rules/security.md — the two-rule SQL injection defense
  4. .claude/rules/coding-standards.md — ESM import extensions, return shapes, naming
  5. .claude/rules/architecture.md — where things live and why

Then read one existing tool file from the category you're adding to, so you match the local house style. Schema tool → src/tools/schema.ts. DBA tool → src/tools/dba.ts. Etc.

Gather the spec

If the brief is incomplete, ask once for whichever of these are missing:

  1. Tool name (snake_case, unique)
  2. Purpose — one sentence
  3. Category — schema / query / ddl / procedure / performance / dba / utility
  4. Inputs — Zod params (name, type, required/optional, short description)
  5. Security mode requirement — readonly / readwrite / admin
  6. Cross-database? — does it query multiple databases in one call
  7. Output shape — tabular (formatResultSet) or custom markdown (code gen, diagrams)

If the brief is clear enough, skip questions and go to implementation.

Implementation workflow

Use TodoWrite to track the steps, then work through them:

  1. Identify the target file under src/tools/
  2. Read the target file to see local patterns
  3. Write the tool's server.tool(...) block with:
    • // ─── tool_name ─── divider comment above the call
    • Zod schema with .describe() on every field, including optional server
    • try { resolveServer → gates → executeQuery → format } catch { isError } pattern
    • type: "text" as const on every content item
  4. If the tool is in a new file or a file not yet registered, update src/server.ts
  5. Update README.md — add a row to the correct category's tool table
  6. Update CHANGELOG.md — add an ### Added entry under the current unreleased section (or tell the user no unreleased section exists and ask whether to create one)
  7. Run npm run build — must pass with zero errors
  8. Verify every item in the tool-authoring.md checklist

Read the full file on GitHub · 126 lines

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. 9d ago First seen · 126 lines · 97 tokens per session scan A 5d3a75b75c77

Subscribe to this mod's changes

mcp-tool-creator is an agent published in the GitHub repository Debanjan29/readonly-mssql-mcp-db (0 stars, last pushed 8d ago), licensed MIT. It adds 97 tokens to every session and 1,530 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to mcp-tool-creator, differing in 0 lines, and is treated as a copy.

Related

Other agents, from other repositories

Power Platform MCP Integration Expert

Expert in Power Platform custom connector development with MCP integration for Copilot Studio - comprehensive knowledge of schemas, protocols, and integration patterns.

github/awesome-copilot · 31 tokens

php-developer

Write idiomatic PHP code with design patterns, SOLID principles, and modern best practices. Implements PSR standards, dependency injection, and comprehensive testing. Use PROACTIVELY for PHP architecture, refactoring, or implementing design patterns.

davepoon/buildwithclaude · 51 tokens

backend-reviewer

Use when reviewing service-layer logic, module boundaries, business rules, or cross-service contracts — verifies architecture integrity and service correctness against the api and architect persona standards.

jeremylongshore/tons-of-skills-marketplace · 36 tokens

integrations-engineer

Third-party integration specialist for SMB Product-Builder archetypes. Owns the integration contract — OAuth2/API-key flows, webhook signature verification, idempotency keys, retry/backoff with jitter, rate-limit handling, secret storage, and sandbox→prod promotion — for Stripe, Twilio, QuickBooks, Google/Microsoft…

avelikiy/great_cto · 106 tokens

gate

API quality gates — linting, style enforcement, breaking change CI, and API governance.

tonone-ai/tonone · 19 tokens

dotnet-architecture-reviewer

Reviews a .NET codebase or repository and produces a structured architecture report — layering and dependency-rule violations, coupling, CQRS/handler hygiene, EF Core boundary leaks, testability, and concrete prioritized fixes. Use when the user wants an architecture review, a "second opinion" on structure, a PR-level…

StefanTheCode/dotnet-ai-toolkit · 102 tokens