首页龙虾技能列表 › MCP Scaffolder — MCP 脚手架

MCP Scaffolder — MCP 脚手架

v1.0.0

MCP 脚手架工具。

0· 59·0 当前·0 累计
by @njengah (Joe Njenga)·MIT-0
下载技能包
License
MIT-0
最后更新
2026/4/2
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
The skill's instructions, requirements, and outputs are consistent with its stated purpose of scaffolding a TypeScript MCP server and do not request unrelated secrets, installs, or elevated persistence.
评估建议
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.
详细分析 ▾
用途与能力
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.
指令范围
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.
安装机制
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.
凭证需求
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.
持久化与权限
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.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.0.02026/4/2

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

● 无害

安装命令 点击复制

官方npx clawhub@latest install mcp-scaffolder
镜像加速npx clawhub@latest install mcp-scaffolder --registry https://cn.clawhub-mirror.com

技能文档

# MCP Scaffolder Skill When the user describes an MCP server they want to build, scaffold it completely.

什么 到 Generate

  • Folder structure
- /src/索引.ts — server entry point - /src/tools/ — one file per tool - /包.json — 带有 @modelcontextprotocol/sdk dependency - /tsconfig.json — standard TS 配置 - /.env.示例 — 所有 必填 env vars documented - /README.md — setup instructions
  • Server entry point (src/索引.ts)
- 导入 和 注册 所有 tools - 设置 transport based 在...上 用户 intent: - stdio → local tools, file system access, CLI utilities - HTTP → remote servers, cloud APIs, services - Include server instructions 字段 — used 由 Claude Code tool 搜索
  • Tool definitions
- 每个 tool gets own file 在...中 /src/tools/ - Include: name, description, inputSchema (zod 或 JSON Schema) - 添加 JSDoc comments explaining 什么 tool 做 和 当...时 Claude 应该 call
  • Claude Code 配置 snippet
Always output a ready-to-paste config block: For stdio: { "mcpServers": { "": { "type": "stdio", "command": "node", "args": ["/build/index.js"], "env": { "": "your-value-here" } } } } For HTTP: { "mcpServers": { "": { "type": "http", "url": "http://localhost:3000/mcp" } } }
  • README
- 什么 server 做 - Prerequisites - 所有 env vars 带有 descriptions - Build 和 run instructions - 如何 到 添加 到 Claude Code

Rules

  • Never 使用 SSE transport — deprecated, 使用 HTTP 代替
  • Always include server instructions 字段 在...中 entry point
  • Keep tool descriptions specific — Claude Code uses these 对于 tool 搜索
  • 标志 任何 必填 env vars 在...中 .env.示例 带有 评论 explaining 什么 它们 对于
  • 使用 TypeScript 由 默认 unless 用户 specifies 否则
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务