forge-create

forge-create is a command for Claude Code from Flagler-County-BoCC/mcp-forge. It costs 0 tokens per session (339 once invoked), scanned A, original, MIT.

A command for generating a new MCP server from an API description. MCP, or Model Context Protocol, lets AI tools call services through defined tools.

In plain words
What is it for?
Use it when starting an MCP server from an OpenAPI or Swagger document, or from a written list of endpoints, authentication details, and response fields.
Why use it?
It turns an API specification into a server structure and checks the generated description before creating files.

Command for Claude Code

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/flagler-county-bocc/mcp-forge/forge-create
Clone the repo
git clone --depth 1 https://github.com/Flagler-County-BoCC/mcp-forge

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 forge-create

README.md
[![agentmods](https://agentmods.dev/badge/commands/flagler-county-bocc/mcp-forge/forge-create.svg)](https://agentmods.dev/commands/flagler-county-bocc/mcp-forge/forge-create)
Your own site
<a href="https://agentmods.dev/commands/flagler-county-bocc/mcp-forge/forge-create"><img src="https://agentmods.dev/badge/commands/flagler-county-bocc/mcp-forge/forge-create.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 339 The whole file, excluding the scripts and references it only reads on demand.
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.00000 $0.00339
Opus 5 $0.00000 $0.00169
Sonnet 5 $0.00000 $0.00068
Haiku 4.5 $0.00000 $0.00034

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

Security

Grade A, and why

forge-create 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.

templates/.claude/commands/forge-create.md · 25 lines

What it actually says

Create a brand-new, hardened MCP server from an API specification using mcp-forge. Use this when there is NO existing project to rewrite — you are generating one from scratch. To improve an existing project instead, use /forge-audit.

Steps:

  1. Call the get_create_prompt tool from mcp-forge
  2. Apply the returned Create-mode prompt to produce the manifest:
    • If an OpenAPI/Swagger document (openapi.json, openapi.yaml, swagger.json) is available, use it as the source.
    • Otherwise, fill in the BUILD_SPEC template the prompt provides (project name, base URL, auth, operations, and each operation's response fields).
  3. Emit the AUDIT_MANIFEST JSON block (projectType will be "mcp-server"), with one mcpTools entry per operation and responseFields populated per tool.
  4. Call the validate_manifest tool to confirm the manifest is valid. If it reports errors, fix them and re-validate before continuing.
  5. Generate the server from the manifest: apply steps 1–7 via get_step, then get_entrypoint for mcp-server (step 8), then steps 9–14. Write every file in full.
  6. Show a summary: the tools generated, modules, the environment variables the user must set, and the next action — npm install && npm run setup to build and register the new server.

Note: this produces a NEW project. Run it in an empty directory (or one you intend to populate), not on top of unrelated code.

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 · 25 lines · 0 tokens per session scan A ea756d4428d8

Subscribe to this mod's changes

forge-create is a command published in the GitHub repository Flagler-County-BoCC/mcp-forge (1 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 339 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.