← 返回 Skills 市场
MCP Scaffolder
作者
Joe Njenga
· GitHub ↗
· v1.0.0
· MIT-0
104
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install mcp-scaffolder
功能描述
Scaffolds a complete TypeScript MCP server with folder structure, typed tools, transport config, Claude MCP snippet, and README from a simple description.
使用说明 (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
- 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
- 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
- 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
- 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
- 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
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install mcp-scaffolder - 安装完成后,直接呼叫该 Skill 的名称或使用
/mcp-scaffolder触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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
元数据
常见问题
MCP Scaffolder 是什么?
Scaffolds a complete TypeScript MCP server with folder structure, typed tools, transport config, Claude MCP snippet, and README from a simple description. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 104 次。
如何安装 MCP Scaffolder?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install mcp-scaffolder」即可一键安装,无需额外配置。
MCP Scaffolder 是免费的吗?
是的,MCP Scaffolder 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
MCP Scaffolder 支持哪些平台?
MCP Scaffolder 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 MCP Scaffolder?
由 Joe Njenga(@njengah)开发并维护,当前版本 v1.0.0。
推荐 Skills