Skip to main content
Glama
Zip Hive Scaffold

Zip Hive Scaffold

by Dqrshan

Zip Hive Scaffold

MCP server for bulk-creating files and folders for any project. Works with Claude Desktop, opencode, Cursor, Windsurf, and any MCP-compatible AI client.

Quick Start

curl -fsSL https://ziphive.js.org/mcp/install.sh | bash

Then tell your AI:

Add the MCP server at ~/.ziphive-scaffold/dist/index.js

That's it. The AI will configure itself.

Related MCP server: project-scaffold

What it does

Give your AI assistant the ability to create files and folders on your local machine. Say things like:

  • "Create a React project called dashboard in ~/projects"

  • "Scaffold a Python FastAPI app called backend in /home/user/dev"

  • "Add a components/ui folder and Button.tsx to my existing app"

  • "Set up a Turborepo monorepo called platform in ~/code"

Tools

Tool

Description

scaffold_from_template

Create a project from a built-in template

scaffold_list_templates

List all available templates

scaffold_create_project

Create a project from a custom JSON structure

scaffold_create_files

Add files to an existing directory

scaffold_create_folders

Create empty folder structures

Built-in Templates

Template

Description

react-vite

React 18 + Vite + TypeScript

nextjs-app

Next.js 14 App Router + Tailwind CSS

node-express

Express REST API + TypeScript

python-fastapi

FastAPI with async support

vanilla-html

Minimal HTML/CSS/JS

monorepo-turborepo

Turborepo monorepo

Manual Setup

If you prefer not to use the install script:

git clone https://github.com/Dqrshan/ziphive-scaffold.git
cd ziphive-scaffold
npm install
npm run build

Then tell your AI to add the MCP server pointing to dist/index.js.

Adding Custom Templates

Edit src/templates/index.ts and add a new ProjectStructure object:

templates["my-template"] = {
  name: "my-template",
  description: "My custom template",
  folders: ["src", "tests"],
  files: [
    { path: "package.json", content: "{ ... }" },
    { path: "src/index.ts", content: "..." },
  ],
};

Then rebuild: npm run build

License

MIT

Available Tools

5 tools
scaffold_create_filesCreate Files in Existing ProjectA
Idempotent

Add files to an existing project directory. Does not create a new project folder — files are created relative to the given directory.

Args:

  • target_dir (string): Absolute path to the target directory

  • files (array): Array of { path: string, content?: string } objects

  • overwrite (boolean): Whether to overwrite existing files (default: false)

Returns: A summary of created, skipped, and errored files.

Example: scaffold_create_files( target_dir="/home/user/projects/my-app", files=[ {"path": "src/utils/helpers.ts", "content": "export const noop = () => {}"}, {"path": "README.md", "content": "# My App"} ] )

Inputs: files (required), target_dir (required), overwrite.

scaffold_create_foldersCreate FoldersA
Idempotent

Create empty folder structures within an existing directory.

Args:

  • target_dir (string): Absolute path to the parent directory

  • folders (array): Array of relative folder paths to create

Returns: A list of created folders.

Example: scaffold_create_folders( target_dir="/home/user/projects/my-app", folders=["src/components/ui", "src/hooks", "tests/unit"] )

Inputs: folders (required), target_dir (required).

scaffold_create_projectCreate Custom ProjectA
Idempotent

Create a project from a custom structure definition. Pass files and optional folders as JSON.

Args:

  • project_name (string): Name of the project folder

  • root_dir (string): Parent directory where the project folder will be created

  • files (array): Array of { path: string, content?: string } objects

  • folders (array, optional): Array of folder paths to create (empty dirs)

  • overwrite (boolean): Whether to overwrite existing files (default: false)

Returns: A summary of created, skipped, and errored files/folders.

Example: scaffold_create_project( project_name="my-api", root_dir="/home/user/projects", files=[ {"path": "src/index.ts", "content": "console.log('hello')"}, {"path": "package.json", "content": "{ "name": "my-api" }"} ], folders=["src/routes", "src/models"] )

Inputs: files (required), root_dir (required), project_name (required), folders, +1 more.

scaffold_from_templateScaffold from TemplateA
Idempotent

Create a complete project from a built-in template. Available templates: react-vite, nextjs-app, node-express, python-fastapi, vanilla-html, monorepo-turborepo.

Args:

  • template_name (string): Name of the template to use

  • project_name (string): Name of the project folder to create

  • root_dir (string): Parent directory where the project folder will be created

  • overwrite (boolean): Whether to overwrite existing files (default: false)

Returns: A summary of created, skipped, and errored files/folders with the root path.

Example:

  • "Create a React project called my-app in /home/user/projects" -> template_name="react-vite", project_name="my-app", root_dir="/home/user/projects"

Inputs: root_dir (required), project_name (required), template_name (required), overwrite.

scaffold_list_templatesList Scaffold TemplatesA
Read-onlyIdempotent

List all available built-in project templates with their descriptions.

Returns: A list of template names and their descriptions.

Example:

  • Use when "What templates are available?" or "Show me the templates"

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 5 tools

    Disambiguation4/5

    Tools are mostly distinct: listing templates, creating from a template, creating a custom project, adding folders, and adding files are clearly different operations. However, scaffold_from_template and scaffold_create_project both create a new project, which could cause confusion if an agent isn't careful about template vs. custom structure.

    Naming Consistency3/5

    All tools share the scaffold_ prefix, but the verb patterns are inconsistent: list_templates and create_* are verbs, while from_template is not. Three tools use 'create' but with different objects, making the naming somewhat predictable but not uniformly verb_noun.

    Tool Count5/5

    With 5 tools, the set is well-scoped for a scaffolding server. Each tool covers a distinct function without being redundant or overwhelming, and the count is within the ideal range for a focused utility.

    Completeness4/5

    The tool surface covers the core scaffolding lifecycle: list templates, create from template, create custom projects, add folders, and add files. Minor gaps include no template preview or dry-run capability, but the existing operations are sufficient for most scaffolding workflows.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers