length
integer: The length of the generated password. The value must be an integer between 8 and 64, both inclusive.
How to use it
length is exposed by the Pymcp MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the length tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Pymcp
npx @modelcontextprotocol/inspector uv run pymcpOther tools in Pymcp (12)
bool (optional): A flag to indicate whether to check types. Default value is True.
string: The Python code to run.
dict[str, Any] (optional): A dictionary of input values for the Python code. Default value is None.
integer (optional): Optional maximum number of results to be fetched. Default value is 10.
string (optional): The name to greet. Default value is none.
integer (optional): Optional number of pages to spread the results over. Default value is 1.
string: The search query to fetch results for. It should be a non-empty string.
string (optional): Two letter country code followed by a hyphen and then by two letter language code, e.g., uk-en or us-en. Default value is uk-en.
str (optional): The name of the script used in traceback and error messages. Default value is main.py.
with a UTC time-stamped greeting.
str (optional): Type definitions to be used for type checking. Default value is None.
boolean (optional): A flag to indicate whether the password should include special characters. Default value is False.