runprompt__generate_artifact
Generate a shell-as-mcp bundle from natural language requirements, producing a server spec that maps shell commands to standard MCP tools.
Instructions
Generate a shell-as-mcp bundle with runprompt under SHELL_AS_MCP_SPEC_DIR. @param artifact_type Artifact type: shell-as-mcp-bundle. @param requirements Natural language requirements used to generate file content. @param server_name Optional server folder for shell-as-mcp-bundle mode. @param tool_name Optional tool base name for shell-as-mcp-bundle mode. @param max_repair_rounds Optional max repair rounds when quality gates fail. @param run_tests Optional toggle for running tests in quality gates. @param run_code_review Optional toggle for running code review gate (default true). @param run_security_review Optional toggle for running security review gate (default true). @param __mcp_response_mode Optional response mode: content (default) or structuredContent.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"artifact_type": "<artifact_type>",
"requirements": "<requirements>"
},
"name": "runprompt__generate_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_tests | No | ||
| tool_name | No | ||
| server_name | No | ||
| requirements | Yes | ||
| artifact_type | Yes | ||
| run_code_review | No | ||
| max_repair_rounds | No | ||
| __mcp_response_mode | No | content | |
| run_security_review | No |