一键导入
mcp-generator
Assists with creating new custom Model Context Protocol (MCP) servers, clients, and apps using official SDKs and best practices.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Assists with creating new custom Model Context Protocol (MCP) servers, clients, and apps using official SDKs and best practices.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Agent-to-User Interface (A2UI) protocol implementation and client renderer scaffolding.
Infrastructure automation, configuration management, and application deployment orchestration using Ansible.
Create and manage unicode braille animations and spinners for CLIs and web apps. Use this skill when the user wants to add loading indicators, progress animations, or custom braille-based art to their terminal or browser-based application.
Agent harness for headlessly deploying Code Scaffold assets.
High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds.
Comprehensive cybersecurity arsenal integrating MITRE and NIST framework methodologies, NVIDIA SkillSpector vulnerability scanning, and deep SAST secret detection.
基于 SOC 职业分类
| name | MCP Generator |
| description | Assists with creating new custom Model Context Protocol (MCP) servers, clients, and apps using official SDKs and best practices. |
When this skill is executed, you are tasked with scaffolding a robust, secure, and dependable Model Context Protocol (MCP) project. Follow these exact steps:
Use your ask_question tool to determine the project specifications from the user:
Question 1: "What type of MCP component are you building?" Options:
Question 2: "Which language/ecosystem do you prefer?" Options:
Question 3: "Which transport protocol should be configured by default?" Options:
(Note: The ask_question tool automatically provides a text input box in the UI, so do not add an "Other" option. Users can use that box to provide custom requirements).
Before writing any code, silently review the reference materials located in this skill's directory under references/. This ensures you are aligning with the official @modelcontextprotocol/sdk (TS) or mcp (Python) documentation, security guidelines, and protocol versioning rules.
Initialize the project structure based on the user's choices.
package.json and install @modelcontextprotocol/sdk.pyproject.toml or requirements.txt and install mcp.pom.xml or build.gradle and use the java-sdk.create-kotlin-server pattern or the kotlin-sdk.dotnet new and integrate the csharp-sdk.go mod init and fetch the go-sdk.composer, bundle, cargo, swift package init) and integrate their language-specific SDKs.Write the boilerplate code for the server or client:
Server class from the SDK, configure the chosen transport, and scaffold example handlers for tools (ListToolsRequestSchema, CallToolRequestSchema) and resources (ListResourcesRequestSchema, ReadResourceRequestSchema).Client class, connect via the chosen transport, and demonstrate fetching tools/resources and calling a tool.Security Best Practices to enforce:
zod in TS or pydantic in Python).McpError and ErrorCode).Create a README.md in the generated project directory explaining how to build, run, and test the MCP component (e.g., using the MCP Inspector via npx @modelcontextprotocol/inspector). Inform the user that the generation is complete and provide instructions on how to test it.