scaffold_server
Generate a runnable MCP server project with tool definitions, license gating for paid features, and hosting options for local or remote deployment.
Instructions
Scaffold a complete, runnable MCP server project. Pass the package name, description, and a JSON array of tool definitions. Each tool def: {name, description, parameters: [{name, type, required, description, default}], returns}. The generated server runs immediately with stub implementations. Set paid=true to add license key gating via the MCP Marketplace SDK. Set paid_tools to a JSON array of tool names to gate (omit to gate all). Set hosting="remote" for an SSE/HTTP server with Dockerfile (default: "local" for stdio).
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": {
"package_name": "<package_name>",
"description": "<description>",
"tools": "<tools>"
},
"name": "scaffold_server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package_name | Yes | ||
| description | Yes | ||
| tools | Yes | ||
| output_dir | No | . | |
| env_vars | No | ||
| paid | No | ||
| paid_tools | No | ||
| hosting | No | local |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |