diff --git a/src/huggingface_hub/inference/_mcp/constants.py b/src/huggingface_hub/inference/_mcp/constants.py index dc5eb38ebf..695a91494b 100644 --- a/src/huggingface_hub/inference/_mcp/constants.py +++ b/src/huggingface_hub/inference/_mcp/constants.py @@ -16,21 +16,17 @@ "servers": [ { "type": "stdio", - "config": { - "command": "npx", - "args": [ - "-y", - "@modelcontextprotocol/server-filesystem", - str(Path.home() / ("Desktop" if sys.platform == "darwin" else "")), - ], - }, + "command": "npx", + "args": [ + "-y", + "@modelcontextprotocol/server-filesystem", + str(Path.home() / ("Desktop" if sys.platform == "darwin" else "")), + ], }, { "type": "stdio", - "config": { - "command": "npx", - "args": ["@playwright/mcp@latest"], - }, + "command": "npx", + "args": ["@playwright/mcp@latest"], }, ], }