Skip to content

Commit 6e944cf

Browse files
authored
Update tiny-agents example (#3205)
1 parent 798ea8a commit 6e944cf

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

src/huggingface_hub/inference/_mcp/constants.py

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,17 @@
1616
"servers": [
1717
{
1818
"type": "stdio",
19-
"config": {
20-
"command": "npx",
21-
"args": [
22-
"-y",
23-
"@modelcontextprotocol/server-filesystem",
24-
str(Path.home() / ("Desktop" if sys.platform == "darwin" else "")),
25-
],
26-
},
19+
"command": "npx",
20+
"args": [
21+
"-y",
22+
"@modelcontextprotocol/server-filesystem",
23+
str(Path.home() / ("Desktop" if sys.platform == "darwin" else "")),
24+
],
2725
},
2826
{
2927
"type": "stdio",
30-
"config": {
31-
"command": "npx",
32-
"args": ["@playwright/mcp@latest"],
33-
},
28+
"command": "npx",
29+
"args": ["@playwright/mcp@latest"],
3430
},
3531
],
3632
}

0 commit comments

Comments
 (0)