Skip to content

πŸš€ The fast, Pythonic way to build MCP servers and clients.

Small change to Client name

William Eastonc0b134d40560
diff --git a/src/fastmcp/client/client.py b/src/fastmcp/client/client.py
index 444782c6b..fc1c5f2b3 100644
--- a/src/fastmcp/client/client.py
+++ b/src/fastmcp/client/client.py
@@ -343,7 +343,7 @@ class Client(Generic[ClientTransportT]):
# Reset session state to fresh state
new_client._session_state = ClientSessionState()
- new_client.name += f"-{secrets.token_hex(2)}"
+ new_client.name += f":{secrets.token_hex(2)}"
return new_client