server-py-inline-tool-overrides-module-tool-on-duplicate
When a FastMCP server registers both an inline @mcp.tool() in server.py and a module-based tool with the same name, the inline definition in server.py is treated as live (on_duplicate=“error” behavior skips the module version). Always patch server.py for production fixes to live tools — patching only the module file has no effect on running behavior.
Related
- fastmcp-duplicate-tool-inline-wins-over-module
- salesforce-mcp-inline-tool-overrides-module-on-duplicate-err
- fastmcp-inline-tool-takes-precedence-over-module-tool-on-dup
- salesforce-mcp-inline-tool-overrides-module-tool
- salesforce-mcp-inline-tool-overrides-module-tool-silently
- server-py-inline-tool-overrides-module-tool-on-duplicate-err