Skip to content

Commit f0c0c0b

Browse files
committed
Add Hugging Face MCP server
Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com> Claude-Session: https://claude.ai/code/session_01S58U7phvDgphx6ZTXuWMJQ
1 parent 14015a9 commit f0c0c0b

1 file changed

Lines changed: 70 additions & 0 deletions

File tree

servers/co.huggingface-mcp.json

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
{
2+
"$schema": "../schemas/server-definition.schema.json",
3+
"id": "co.huggingface-mcp",
4+
"name": "Hugging Face",
5+
"alias": "huggingface",
6+
"description": "Connect to Hugging Face's hosted MCP endpoint to search the Hub (models, datasets, Spaces, papers), search and fetch Hub documentation, and use Gradio AI applications. Works anonymously; add a token for higher limits and access to your own resources.",
7+
"logo": "https://avatars.githubusercontent.com/u/25720743?v=4",
8+
"schema_version": "2.1",
9+
"categories": [
10+
"ai-ml"
11+
],
12+
"tags": [
13+
"huggingface",
14+
"ai",
15+
"machine-learning",
16+
"models",
17+
"datasets",
18+
"spaces",
19+
"gradio"
20+
],
21+
"transport": {
22+
"type": "http",
23+
"url": "https://huggingface.co/mcp",
24+
"headers": {
25+
"Authorization": "Bearer ${input:HF_TOKEN}"
26+
},
27+
"metadata": {
28+
"inputs": [
29+
{
30+
"id": "HF_TOKEN",
31+
"label": "Hugging Face Token",
32+
"description": "Optional. Anonymous access works, but a token unlocks higher rate limits and access to your private models, datasets, Spaces, and tools. Create a token with read access at huggingface.co/settings/tokens.",
33+
"type": "text",
34+
"required": false,
35+
"secret": true,
36+
"placeholder": "hf_********************",
37+
"obtain": {
38+
"url": "https://huggingface.co/settings/tokens",
39+
"instructions": "1. Open huggingface.co/settings/tokens\n2. Click 'Create new token'\n3. Choose a token type (a read token is enough for most use)\n4. Copy the token (starts with hf_)",
40+
"button_label": "Create Token"
41+
}
42+
}
43+
]
44+
}
45+
},
46+
"auth": {
47+
"type": "optional_api_key",
48+
"instructions": "Works without a token (anonymous access). Add a Hugging Face token via the Authorization: Bearer header for higher rate limits and access to your own private resources. Create one at huggingface.co/settings/tokens."
49+
},
50+
"contributor": {
51+
"name": "Hugging Face",
52+
"github": "huggingface",
53+
"url": "https://huggingface.co"
54+
},
55+
"links": {
56+
"repository": "https://github.com/huggingface/hf-mcp-server",
57+
"homepage": "https://huggingface.co/mcp",
58+
"documentation": "https://huggingface.co/settings/mcp"
59+
},
60+
"platforms": [
61+
"all"
62+
],
63+
"capabilities": {
64+
"tools": true,
65+
"resources": false,
66+
"prompts": false,
67+
"read_only_mode": false
68+
},
69+
"changelog_url": "https://github.com/huggingface/hf-mcp-server/releases"
70+
}

0 commit comments

Comments
 (0)