mcp-server-starter.init

mcp-server-starter.init is a command for coding agents from prmichaelsen/gcloud-mcp. It costs 0 tokens per session (5,429 once invoked), scanned C, original, MIT.

A command that creates the initial project structure for an MCP server, including configuration files and an example tool.

In plain words
What is it for?
Use it to start a new MCP server, optionally setting its name, description, author, license, Git initialization, and package installation.
Why use it?
It removes the manual setup needed to begin an MCP server project and can also handle common project defaults.

Command

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 commands/prmichaelsen/gcloud-mcp/mcp-server-starter.init
Clone the repo
git clone --depth 1 https://github.com/prmichaelsen/gcloud-mcp

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.init

README.md
[![agentmods](https://agentmods.dev/badge/commands/prmichaelsen/gcloud-mcp/mcp-server-starter.init.svg)](https://agentmods.dev/commands/prmichaelsen/gcloud-mcp/mcp-server-starter.init)
Your own site
<a href="https://agentmods.dev/commands/prmichaelsen/gcloud-mcp/mcp-server-starter.init"><img src="https://agentmods.dev/badge/commands/prmichaelsen/gcloud-mcp/mcp-server-starter.init.svg" alt="Measured on agentmods" 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 5,429 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.1 $0.00000 $0.05429
Opus 5 $0.00000 $0.02714
Sonnet 5 $0.00000 $0.01086
Haiku 4.5 $0.00000 $0.00543

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

Security

Grade C, and why

mcp-server-starter.init scanned grade C with 1 finding 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 5d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

"clean": "rm -rf dist"
agent/commands/mcp-server-starter.init.md · 895 lines

How it starts

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

Command: init

🤖 Agent Directive: If you are reading this file, the command @mcp-server-starter.init 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.init 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: Initialize a new MCP server project with complete directory structure, configuration files, and example tool Category: Creation Frequency: Once per project


Arguments

CLI-Style Arguments (optional):

  • --name <project-name> - Project name (defaults to current directory name)
  • --description <text> - Project description
  • --author <name> - Author name (defaults to git config user.name)
  • --license <type> - License type (defaults to MIT)
  • --no-git - Skip git initialization
  • --no-install - Skip npm install
  • --factory - Include server-factory.ts for mcp-auth support (defaults to true)
  • --minimal - Create minimal setup without optional files

Natural Language Arguments:

  • @mcp-server-starter.init for my-awesome-server - Initialize with specific name
  • @mcp-server-starter.init without git - Skip git initialization
  • @mcp-server-starter.init minimal setup - Create minimal configuration

Argument Mapping: The agent infers intent from context:

  1. Extracts project name from chat context or current directory
  2. Reads git config for author information
  3. Asks for clarification if critical information is missing
  4. Uses sensible defaults for optional parameters

What This Command Does

This command scaffolds a complete TypeScript MCP server project with all necessary files, configuration, and an example tool. It automates the tedious setup process and ensures best practices are followed from the start.

Read the full file on GitHub · 895 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. 5d ago First seen · 895 lines · 0 tokens per session scan C c456a227f95e

Subscribe to this mod's changes

mcp-server-starter.init 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 5,429 tokens. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.