MCP server
Sam2
hf/GF-John/sam2
Checked 26 Oct 2026, 08:30 UTC · Hugging Face reports it running
sam2 images and video inference on ZeroGPU
Working at last check
https://gf-john-sam2.hf.space/gradio_api/mcp/
At a glance
- Type
- MCP server
- Publisher
- Not verified
- Status
- Working at last check
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code, Antigravity, ChatGPT, OpenAI API, Grok
- Last checked
- 26 Oct 2026, 08:30 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. For other apps, copy the setup below.
Claude Code
claude mcp add --transport http sam2 https://gf-john-sam2.hf.space/gradio_api/mcp/
Claude Desktop
Settings → Connectors → Add custom connector, and paste the URL.
Codex (config.toml)
[mcp_servers.sam2] url = "https://gf-john-sam2.hf.space/gradio_api/mcp/"
Gemini CLI
{"mcpServers":{"sam2":{"httpUrl":"https://gf-john-sam2.hf.space/gradio_api/mcp/"}}}
Cursor
{"mcpServers":{"sam2":{"url":"https://gf-john-sam2.hf.space/gradio_api/mcp/"}}}
VS Code
{"servers":{"sam2":{"type":"http","url":"https://gf-john-sam2.hf.space/gradio_api/mcp/"}}}
Antigravity
agy mcp add sam2 https://gf-john-sam2.hf.space/gradio_api/mcp/
ChatGPT
Settings → Apps & Connectors → Advanced settings: turn on Developer mode, then Create a connector and paste the URL. Which plans can do this varies.
OpenAI API (Responses tools)
{"type":"mcp","server_label":"sam2","server_url":"https://gf-john-sam2.hf.space/gradio_api/mcp/","require_approval":"always"}
Grok (xAI API tools)
{"type":"mcp","server_label":"sam2","server_url":"https://gf-john-sam2.hf.space/gradio_api/mcp/"}
Related MCP servers
- LTX Video ZeroGPU Optimized
Turn Pic into Vid Fast! Smart ZeroGPU to guarantee Inference - SAM3
SAM3 Video Inference on ZeroGPU - AniSora V3.2 ZeroGPU
AniSora V3.2 image to video, 5 seconds on ZeroGPU - SAM 2 Segment Anything Demo
Interactive segmentation & cutouts using Meta SAM 2.1 - Cosmos 3 World Video
Cosmos3-Edge text and image to video on ZeroGPU - MiniCPM-V-4.6 Demo
MiniCPM-V-4.6 image+video chat on ZeroGPU - Studio HunyuanVideo 1.5 ZeroGPU
HunyuanVideo 1.5 text-to-video previews on ZeroGPU - Wan 2.2 ComfyUI Demo
Wan 2.2 text and image-to-video on ZeroGPU
Badge for your README
[](https://aptlynx.net/servers/hf/GF-John/sam2)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents