multiply
Calculate the product of two integers efficiently with this MCP server tool. Input values 'a' and 'b' to perform multiplication, ideal for integration with Claude Desktop, Cursor, and Claude Code IDEs.
Instructions
Multiply two numbers
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| b | Yes |
Implementation Reference
- main.py:19-22 (handler)The handler function for the 'multiply' tool. It multiplies two integer inputs and returns the result. Registered via the @mcp.tool decorator, with type hints and docstring providing the schema.@mcp.tool def multiply(a: int, b: int) -> int: """Multiply two numbers""" return a * b