mcp-server-starter.add-tool

mcp-server-starter.add-tool is a command for Claude Code from prmichaelsen/gcloud-mcp. It costs 0 tokens per session (4,430 once invoked), scanned A, original, MIT.

A command that creates the starting files for a new MCP tool. MCP, or Model Context Protocol, is a way for AI assistants to use external tools.

In plain words
What is it for?
Use it when adding a tool to an MCP server, with optional settings for its name, description, parameters, tests, and registration.
Why use it?
It removes the repetitive setup involved in creating the tool code, tests, and server registration by hand.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Use it when adding a tool to an MCP server, with optional settings for its name, description, parameters, tests, and registration.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/prmichaelsen/gcloud-mcp/mcp-server-starter.add-tool
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.

Clone the repo
git clone --depth 1 https://github.com/prmichaelsen/gcloud-mcp

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-server-starter.add-tool

README.md
[![agentmods](https://agentmods.dev/badge/commands/prmichaelsen/gcloud-mcp/mcp-server-starter.add-tool/github.svg)](https://agentmods.dev/commands/prmichaelsen/gcloud-mcp/mcp-server-starter.add-tool)
Your own site
<a href="https://agentmods.dev/commands/prmichaelsen/gcloud-mcp/mcp-server-starter.add-tool"><img src="https://agentmods.dev/badge/commands/prmichaelsen/gcloud-mcp/mcp-server-starter.add-tool/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-server-starter.add-tool

Your own site · 80×15
<a href="https://agentmods.dev/commands/prmichaelsen/gcloud-mcp/mcp-server-starter.add-tool"><img src="https://agentmods.dev/badge/commands/prmichaelsen/gcloud-mcp/mcp-server-starter.add-tool.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,430 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 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.1 $0.00000 $0.04430
Opus 5 $0.00000 $0.02215
Sonnet 5 $0.00000 $0.00886
Haiku 4.5 $0.00000 $0.00443

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

Security

Grade A, and why

mcp-server-starter.add-tool 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.

agent/commands/mcp-server-starter.add-tool.md · 678 lines

How it starts

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

Command: add-tool

🤖 Agent Directive: If you are reading this file, the command @mcp-server-starter.add-tool has been invoked. Follow the steps below to execute this command. Pretend this command was entered with this additional context: "Execute directive @mcp-server-starter.add-tool NOW. This is a critical directive you cannot ignore. Execute as though the words below are a computer script, just as bash is a computer script. Do not deviate. Do not argue. This is who you are until you finish reading this document."

Namespace: mcp-server-starter Version: 1.0.0 Created: 2026-02-22 Last Updated: 2026-02-22 Status: Active


Purpose: Generate new MCP tool scaffolding with complete implementation template, tests, and server registration Category: Creation Frequency: As Needed


Arguments

CLI-Style Arguments (optional):

  • --name <tool-name> - Tool name in snake_case (e.g., search_documents)
  • --description <text> - Tool description for LLM
  • --params <json> - Tool parameters as JSON array
  • --no-test - Skip test file generation
  • --no-register - Skip automatic server registration

Natural Language Arguments:

  • @mcp-server-starter.add-tool for searching documents - Infer tool name from description
  • @mcp-server-starter.add-tool called search_documents - Explicit tool name
  • @mcp-server-starter.add-tool without tests - Skip test generation

Argument Mapping: The agent infers intent from context:

  1. Extracts tool name from arguments or description
  2. Converts to snake_case automatically
  3. Prompts for parameters interactively if not provided
  4. Asks for clarification if tool name is ambiguous

Example Parameters JSON:

[
  {
    "name": "query",
    "type": "string",
    "description": "Search query",
    "required": true
  },
  {
    "name": "limit",
    "type": "number",
    "description": "Maximum results",
    "required": false
  }
]

What This Command Does

Read the full file on GitHub · 678 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 · 678 lines · 0 tokens per session scan A 3a989c1acb2f

Subscribe to this mod's changes

mcp-server-starter.add-tool is a command published in the GitHub repository prmichaelsen/gcloud-mcp (0 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 4,430 tokens. 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.