list_model_files
Pack: huggingface · Endpoint: https://gateway.pipeworx.io/huggingface/mcp
List files at the root of a model repo.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
repo_id | string | yes | |
revision | string | no | Branch/commit/tag (default main) |
path | string | no | Subdirectory (default root) |
Example call
curl -X POST https://gateway.pipeworx.io/huggingface/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_model_files","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"huggingface": {
"url": "https://gateway.pipeworx.io/huggingface/mcp"
}
}
}
See Getting Started for client-specific install steps.