Skip to main content
CLI tool to scaffold a new MCP server project using mcp-use.

copy_template

function copy_template

Copy the template to the target folder after replacing placeholders.
Parameters
pathlib.Path
required
Parameter value
pathlib.Path
required
Parameter value
dict[str, str]
required
Dictionary of key-value pairs
Signature

detect_installer

function detect_installer

Detect the best available package installer. Returns (name, install_command).
Returns
tuple[str, list[str]]
Signature

get_available_templates

function get_available_templates

Returns the list of available templates.
Returns
list[str]
Signature

install_dependencies

function install_dependencies

Prompt user to install dependencies and run the installer. Returns True if installed.
Parameters
pathlib.Path
required
Parameter value
Returns
bool
Signature

main

function main

Signature

render_template

function render_template

Replace {{KEY}} placeholders with context values.
Parameters
str
required
String value
dict[str, str]
required
Dictionary of key-value pairs
Returns
str
Signature

run_install

function run_install

Run the installer, capturing output. Returns True on success.
Parameters
str
required
Name identifier
list[str]
required
List of items
pathlib.Path
required
Parameter value
Returns
bool
Signature

validate_project_name

function validate_project_name

Check if the inserted name is a valid project name.
Parameters
str
required
Name identifier
Returns
str
Signature