← Back to Skills Marketplace
njengah

MCP Scaffolder

by Joe Njenga · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
104
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install mcp-scaffolder
Description
Scaffolds a complete TypeScript MCP server with folder structure, typed tools, transport config, Claude MCP snippet, and README from a simple description.
README (SKILL.md)

\r \r

MCP Scaffolder Skill\r

\r When the user describes an MCP server they want to build, scaffold it completely.\r \r

What to Generate\r

\r

  1. Folder structure\r
    • /src/index.ts — server entry point\r
    • /src/tools/ — one file per tool\r
    • /package.json — with @modelcontextprotocol/sdk dependency\r
    • /tsconfig.json — standard TS config\r
    • /.env.example — all required env vars documented\r
    • /README.md — setup instructions\r \r
  2. Server entry point (src/index.ts)\r
    • Import and register all tools\r
    • Set transport based on user intent:\r
      • stdio → local tools, file system access, CLI utilities\r
      • HTTP → remote servers, cloud APIs, services\r
    • Include server instructions field — used by Claude Code tool search\r \r
  3. Tool definitions\r
    • Each tool gets its own file in /src/tools/\r
    • Include: name, description, inputSchema (zod or JSON Schema)\r
    • Add JSDoc comments explaining what the tool does and when Claude should call it\r \r
  4. Claude Code config snippet\r Always output a ready-to-paste config block:\r \r For stdio:\r {\r "mcpServers": {\r "\x3Cserver-name>": {\r "type": "stdio",\r "command": "node",\r "args": ["\x3Cabsolute-path>/build/index.js"],\r "env": { "\x3CENV_VAR>": "your-value-here" }\r }\r }\r }\r \r For HTTP:\r {\r "mcpServers": {\r "\x3Cserver-name>": {\r "type": "http",\r "url": "http://localhost:3000/mcp"\r }\r }\r }\r \r
  5. README\r
    • What the server does\r
    • Prerequisites\r
    • All env vars with descriptions\r
    • Build and run instructions\r
    • How to add to Claude Code\r \r

Rules\r

\r

  • Never use SSE transport — it is deprecated, use HTTP instead\r
  • Always include the server instructions field in the entry point\r
  • Keep tool descriptions specific — Claude Code uses these for tool search\r
  • Flag any required env vars in .env.example with a comment explaining what they are for\r
  • Use TypeScript by default unless user specifies otherwise
Usage Guidance
This skill appears coherent for scaffolding an MCP TypeScript project. Before using the generated project, review the output: remove or replace placeholder absolute paths, do not paste real secrets into the generated config snippets, confirm the dependency (@modelcontextprotocol/sdk) is intended, and audit any generated code before running or publishing. If you want the scaffold to use relative paths or a specific build location, state that explicitly when invoking the skill.
Capability Analysis
Type: OpenClaw Skill Name: mcp-scaffolder Version: 1.0.0 The mcp-scaffolder skill is a legitimate utility designed to help users generate boilerplate code for Model Context Protocol (MCP) servers. The instructions in SKILL.md are strictly aligned with its stated purpose of generating project structures, TypeScript configurations, and tool definitions, with no evidence of malicious intent, data exfiltration, or harmful prompt injection.
Capability Assessment
Purpose & Capability
Name and description (scaffolding a TypeScript MCP server) align with the SKILL.md: it only describes generating project files, package.json with @modelcontextprotocol/sdk, transport config snippets, and README. No unrelated binaries, services, or credentials are requested.
Instruction Scope
Instructions stay within scaffolding scope (generate files, tool definitions, config snippets). Two items to note: (1) the stdio config example uses an absolute path for the build artifact — agents producing scaffolds should avoid embedding real absolute paths without user confirmation; (2) the skill tells the agent how to choose transport (stdio vs HTTP) and mentions local file-system/CLI usage for stdio, which is appropriate for scaffolding but could lead to generated code that expects filesystem access when run. The SKILL.md does not instruct the agent to read user's files, env vars, or other system state.
Install Mechanism
Instruction-only skill with no install spec and no code files — nothing will be downloaded or written by an installer. This is the lowest-risk install model.
Credentials
The skill declares no required environment variables or credentials. It does instruct generating a .env.example documenting env vars for the scaffolded project, which is expected and proportionate; it does not request or access any secrets itself.
Persistence & Privilege
always is false and the skill is user-invocable with normal autonomous invocation behavior. It does not request permanent presence, nor does it instruct modifying other skills or agent-wide settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install mcp-scaffolder
  3. After installation, invoke the skill by name or use /mcp-scaffolder
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of mcp-scaffolder: scaffold a complete MCP server from a single description. - Generates full folder structure (src, tools, config, README, env doc) for an MCP server project - Creates typed, documented tool definitions with input schemas and JSDoc for Claude Code integration - Sets up transport config (stdio or HTTP) automatically based on use case, excluding deprecated SSE - Outputs ready-to-paste Claude MCP add config snippet for immediate use - README includes setup, env vars, and usage with Claude Code - Defaults to TypeScript for all generated code unless specified otherwise
Metadata
Slug mcp-scaffolder
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is MCP Scaffolder?

Scaffolds a complete TypeScript MCP server with folder structure, typed tools, transport config, Claude MCP snippet, and README from a simple description. It is an AI Agent Skill for Claude Code / OpenClaw, with 104 downloads so far.

How do I install MCP Scaffolder?

Run "/install mcp-scaffolder" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is MCP Scaffolder free?

Yes, MCP Scaffolder is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does MCP Scaffolder support?

MCP Scaffolder is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created MCP Scaffolder?

It is built and maintained by Joe Njenga (@njengah); the current version is v1.0.0.

💬 Comments