Deterministic mapping
I preserved valid names and normalised invalid ones, adding a hash suffix when needed to keep names distinct within the length limit.
Open source
Reproduced provider failures caused by invalid MCP function names and built a deterministic name-normalization patch with regression tests. Pushed the patch to a fork.

MCP server and tool names can contain characters or lengths that native tool-calling providers reject.
I reproduced invalid-name cases and authored a deterministic normalisation patch.
I preserved valid names and normalised invalid ones, adding a hash suffix when needed to keep names distinct within the length limit.
I used the same mapping when resolving selected tools so interface identifiers and provider names remain connected.
I added tests that fail on the original code and pass with the patch.
The tested patch was pushed to a fork. An upstream issue or merged pull request was not established in the recorded status.
Open-source patch author
Open source
Let’s talk about your project
A new website. A product taking shape. A workflow that could work better.
Tell me what you have in mind, what you want to change, and the timeline you’re working toward.
You’ll be talking directly with me.
Connect on LinkedIn