Scaffold production-ready Python MCP servers using FastMCP. An agent skill from timothywarner-org/claude-code.

MITAuto-check passedAgent Workflows

Install MCP Scaffold

skills CLI
$ npx skills add timothywarner-org/claude-code --skill mcp-scaffold -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install timothywarner-org/claude-code mcp-scaffold --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/timothywarner-org/claude-code.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/mcp-scaffold .claude/skills/mcp-scaffold && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
mcp-scaffold
GitHub stars
224
Token cost
~940 tokens
SKILL.md length
184 words
Files
11 (incl. scripts, references, assets)
Skills in repo
7
Repo updated
First seen
Licence
MIT

At a glance

Scaffold production-ready Python MCP servers using FastMCP. An agent skill from timothywarner-org/claude-code.

  • Works in 5 steps: Scaffold - Generate project structure → Customize - Add your tools, resources,… → Validate - Check for common issues → …
  • Creating new MCP servers
  • SKILL.md covers Quick Start, Scaffolding Options, Validation and Project Structure, plus 4 more sections
  • Runs Python scripts from its folder; calls python and claude

What it does

MCP Scaffold is an agent skill from timothywarner-org/claude-code. Scaffold production-ready Python MCP servers using FastMCP. Use when creating new MCP servers, initializing MCP projects, generating server boilerplate, or setting up MCP development environments. Supports all MCP primitives (tools, resources, prompts) with Pydantic validation, async patterns, and proper project structure.

Its SKILL.md is about 940 tokens, which your agent loads only when the skill is triggered. The skill folder holds 14 other files, including scripts, reference files and assets (for example `assets/templates/README.md`, `assets/templates/basic-server.py` and `assets/templates/full-server.py`).

It sits in Agent Workflows, covering MCP servers and Project scaffolding. It works with Model Context Protocol, Python and Pydantic. The repository describes itself as: Claude Code and Large-Context Reasoning (O'Reilly Live Learning). The licence is MIT.

When your agent uses it

  • Creating new MCP servers
  • Initializing MCP projects
  • Generating server boilerplate
  • Setting up MCP development environments

Example prompts

  • “/mcp-scaffold”

Requirements

  • Python 3
  • Docker

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Scaffold - Generate project structure
  2. Customize - Add your tools, resources, prompts
  3. Validate - Check for common issues
  4. Test - Run locally with python server.py
  5. Deploy - Add to Claude Code with claude mcp add

What it can do on your machine

Read from SKILL.md and the folder at commit cb80eae. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 3 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python
    • claude

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

MCP Scaffold loads about 940 tokens when it runs, and up to ~6.6k if it reads all its reference files. Until then it costs about 84 tokens; SKILL.md has 184 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~84
When it runs · the whole SKILL.md, loaded when a task matches
~940
With references · SKILL.md plus every file in references/, read only if the agent opens them
~6.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from timothywarner-org/claude-code at commit cb80eae, republished under its MIT licence (© timothywarner-org). 184 words, ~940 tokens.

Download SKILL.mdSave it as .claude/skills/mcp-scaffold/SKILL.md (or your agent's skills folder). This skill also uses 10 other files; get the full folder from GitHub.
name
mcp-scaffold
description
Scaffold production-ready Python MCP servers using FastMCP. Use when creating new MCP servers, initializing MCP projects, generating server boilerplate, or setting up MCP development environments. Supports all MCP primitives (tools, resources, prompts) with Pydantic validation, async patterns, and proper project structure.

MCP Server Scaffolding

Scaffold production-ready Python MCP servers with FastMCP.

Quick Start

Generate a new MCP server:

bash
python scripts/scaffold.py my-server --output ./my-server

This creates a complete project structure with:

  • server.py - Main server with example tool, resource, and prompt
  • requirements.txt - Dependencies (fastmcp, pydantic)
  • README.md - Usage instructions

Scaffolding Options

Minimal Server (Tools Only)
bash
python scripts/scaffold.py my-server --template basic
Full Server (All Primitives)
bash
python scripts/scaffold.py my-server --template full
With Specific Features
bash
python scripts/scaffold.py my-server \
  --tools \
  --resources \
  --prompts \
  --lifespan \
  --output ./servers/my-server

Validation

Validate an existing MCP server:

bash
python scripts/validate.py path/to/server.py

Checks:

  • FastMCP import and initialization
  • Tool definitions with proper type hints
  • Resource URI patterns
  • Pydantic Field usage
  • Async function patterns

Project Structure

Generated projects follow this structure:

my-server/
├── server.py           # Main MCP server
├── requirements.txt    # Python dependencies
├── README.md          # Usage documentation
└── data/              # Default data directory (gitignored)

Templates

Basic Template

Minimal server with one tool:

python
from fastmcp import FastMCP

mcp = FastMCP("my-server")

@mcp.tool
def hello(name: str) -> str:
    """Greet someone by name."""
    return f"Hello, {name}!"

if __name__ == "__main__":
    mcp.run()
Full Template

Complete server with tools, resources, prompts, and lifespan. See assets/templates/full-server.py.

Reference Documentation

MCP Primitives Cheatsheet

Tools (Actions)
python
from pydantic import Field

@mcp.tool
def my_tool(
    param: str = Field(description="Parameter description"),
    optional: int = Field(default=10, description="Optional with default")
) -> dict:
    """Tool description shown to LLM."""
    return {"result": param}
Resources (Data)
python
@mcp.resource("myscheme://path/to/resource")
def static_resource() -> str:
    """Resource description."""
    return json.dumps({"data": "value"})

@mcp.resource("myscheme://items/{item_id}")
def dynamic_resource(item_id: str) -> str:
    """Dynamic resource with URI template."""
    return json.dumps({"id": item_id})
Prompts (Templates)
python
@mcp.prompt(name="my_prompt", tags={"category"})
def my_prompt(
    topic: str = Field(description="What to analyze")
) -> str:
    """Prompt description."""
    return f"Please analyze {topic} and provide insights."

Workflow

  1. Scaffold - Generate project structure
  2. Customize - Add your tools, resources, prompts
  3. Validate - Check for common issues
  4. Test - Run locally with python server.py
  5. Deploy - Add to Claude Code with claude mcp add

© timothywarner-org, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 10 other files (scripts, references, assets) in .claude/skills/mcp-scaffold of timothywarner-org/claude-code.

  • SKILL.md
  • assets/templates/README.md
  • assets/templates/basic-server.py
  • assets/templates/full-server.py
  • assets/templates/requirements.txt
  • references/DEPLOYMENT.md
  • references/FASTMCP-GUIDE.md
  • references/PATTERNS.md
  • scripts/init_project.py
  • scripts/scaffold.py
  • scripts/validate.py

Open the folder on GitHubat commit cb80eae

Compare with similar skills

MCP Scaffold next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

MCP Scaffold compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
MCP Scaffold this skilltimothywarner-org/claude-code224—~940Automated safety check: PassMIT
MCP DeveloperJeffallan/claude-skills12k—~1.5kAutomated safety check: PassMIT
MCP Server Builderalirezarezvani/claude-skills28k—~985Automated safety check: PassMIT
Scaffold ProjectMarve10s/Better-Fullstack754—~716Automated safety check: PassMIT
Chatgpt AppsHaohao-end/openagent8081 repos~4.9kAutomated safety check: PassApache-2.0
Open PRArcadeAI/arcade-mcp1k—~2.9kAutomated safety check: PassMIT

Similar skills

  • MCP Developer

    Jeffallan/claude-skills

    Builds and debugs MCP servers and clients in TypeScript or Python, from tool and resource definitions to transport setup and inspector-based protocol checks.

    12k GitHub stars~1.5k tokensUpdated 6 days ago
    Agent WorkflowsAuto-check passed
  • MCP Server Builder

    alirezarezvani/claude-skills

    Design and ship production-ready MCP (Model Context Protocol) servers from OpenAPI contracts instead of hand-written tool wrappers.

    28k GitHub stars~985 tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed
  • Scaffold Project

    Marve10s/Better-Fullstack

    Scaffold a new app, API, backend, fullstack project, mobile app, polyglot service, monorepo, or starter with Better Fullstack.

    754 GitHub stars~716 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Chatgpt Apps

    Haohao-end/openagent

    Build, scaffold, refactor, and troubleshoot ChatGPT Apps SDK applications that combine an MCP server and widget UI.

    808 GitHub starsUsed in 1 repo~4.9k tokens
    Agent WorkflowsAuto-check passed
  • Open PR

    ArcadeAI/arcade-mcp

    Prepare arcade-mcp changes for review by verifying intended behavior, filling the repository PR template, and creating or updating the PR.

    1k GitHub stars~2.9k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Packet Tracer

    Mats2208/MCP-Packet-Tracer

    A skill your agent uses when building, automating, or debugging Cisco Packet Tracer networks through the packet-tracer MCP (the pt tools) — planning topologies from natural language, live-deploying…

    245 GitHub stars~7.5k tokensUpdated 2 days ago
    Agent WorkflowsAuto-check passed

More from timothywarner-org/claude-code

  • Azure Bicep Skill

    timothywarner-org/claude-code

    A skill your agent uses when authoring, reviewing, or refactoring Azure Bicep code.

    224 GitHub stars~2.9k tokensUpdated 2 mo ago
    Auto-check passed
  • Claude Md Audit

    timothywarner-org/claude-code

    Audit the CLAUDE.md hierarchy in a repo for drift between what each CLAUDE.md claims and what's actually on disk.

    224 GitHub stars~649 tokensUpdated 2 mo ago
    Auto-check passed
  • Azure AI Deploy

    timothywarner-org/claude-code

    Ship a Python generative-AI app to Azure the keyless way, using DefaultAzureCredential and azd.

    224 GitHub stars~731 tokensUpdated 2 mo ago
    Auto-check: notes
  • Genai Prompt Eval

    timothywarner-org/claude-code

    Score a Python generative-AI app's outputs on groundedness, relevance, coherence, and safety before it ships.

    224 GitHub stars~696 tokensUpdated 2 mo ago
    Auto-check: notes
  • Kubernetes Patterns

    timothywarner-org/claude-code

    Kubernetes workload patterns, resource management, RBAC, probes, autoscaling, ConfigMap/Secret handling, and kubectl debugging for production-grade deployments.

    224 GitHub stars~4.5k tokensUpdated 2 mo ago
    Auto-check passed
  • Review Changes

    timothywarner-org/claude-code

    Review uncommitted local changes in the current git working tree for bugs, smells, missing tests, and CLAUDE.md voice violations.

    224 GitHub stars~506 tokensUpdated 2 mo ago
    Auto-check passed

Questions about MCP Scaffold

What does MCP Scaffold do?

Scaffold production-ready Python MCP servers using FastMCP. An agent skill from timothywarner-org/claude-code. MCP Scaffold is an agent skill from timothywarner-org/claude-code. Scaffold production-ready Python MCP servers using FastMCP.

When should I use MCP Scaffold?

MCP Scaffold fits situations like: creating new MCP servers; initializing MCP projects; generating server boilerplate; setting up MCP development environments.

How do I install MCP Scaffold in Claude Code?

Run `npx skills add timothywarner-org/claude-code --skill mcp-scaffold -a claude-code`. Or copy the skill folder (.claude/skills/mcp-scaffold in timothywarner-org/claude-code) into .claude/skills/mcp-scaffold in your project. Claude Code loads it when a task matches its description.

How do I install MCP Scaffold in Codex?

Run `npx skills add timothywarner-org/claude-code --skill mcp-scaffold -a codex`. Or copy the skill folder (.claude/skills/mcp-scaffold in timothywarner-org/claude-code) into .agents/skills/mcp-scaffold in your project. Codex loads it when a task matches its description.

Can I use MCP Scaffold in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add timothywarner-org/claude-code --skill mcp-scaffold -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mcp-scaffold, .gemini/skills/mcp-scaffold, .github/skills/mcp-scaffold and .opencode/skills/mcp-scaffold in your project.

What does MCP Scaffold need to run?

Going by SKILL.md and its folder, MCP Scaffold needs Python for the scripts in its folder and the command-line tools its instructions call (python and claude). Our summary lists: Python 3; Docker.

Does MCP Scaffold access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is MCP Scaffold safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does MCP Scaffold use?

MCP Scaffold is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does MCP Scaffold use?

About 940 tokens (SKILL.md is roughly 3.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.7k tokens, read only when the agent opens those files.

What are the alternatives to MCP Scaffold?

Skills that share tags, products or a category with MCP Scaffold: MCP Developer (Jeffallan/claude-skills, 12k stars), MCP Server Builder (alirezarezvani/claude-skills, 28k stars), Scaffold Project (Marve10s/Better-Fullstack, 754 stars) and Chatgpt Apps (Haohao-end/openagent, 808 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains MCP Scaffold?

timothywarner-org (a GitHub organization) maintains it in timothywarner-org/claude-code, which has 224 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on July 20, 2026.

Source: timothywarner-org/claude-code on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.