Open
Description
Initial Checks
- I confirm that I'm using the latest version of MCP Python SDK
- I confirm that I searched for my issue in https://github.com/modelcontextprotocol/python-sdk/issues before opening this issue
Description
I had written a tool to compute the BMI and Fetch Weather (similar to tool call in GitHub). Provided keyword title for each tool call @mcp.tool(title="BMI Calculator"). When I tried to ran the command "mcp dev file.py", encountered an error TypeError: FastMCP.tool() got an unexpected keyword argument 'title'
.
Without the title argument, the command works fine, functionality too.
Example Code
@mcp.tool(title="BMI Calculator")
Python & MCP Python SDK
MCP version 1.9.4
Python version 3.11