BFS Best Face Swap
by hugging-appsco.huggingface.hugging-apps/bfs-best-face-swap
Head swap with the BFS LoRA on Qwen-Image-2.1 (+turbo)
- Remote endpoint
- 2 tools
Uptime
Checked · every day
100%from 4 days of checks
Up without downtime on 4 of 4 days with data.
- No downtime
- Degraded
- Down over 5 minutes
- No data
- Not checked yet
Response time
Median 982 ms, slowest 5% 993 ms for the handshake and the tool list, over 30 days.
How far each check got
- Reached the address 100%
- Completed the handshake 100%
- Listed its tools 100%
2 tools at the last answer.
Every day
| Day | Result | Checks | Median |
|---|---|---|---|
| 3 Nov (today) | No downtime | 1 | 983 ms |
| 2 Nov | No downtime | 1of 1 | 988 ms |
| 1 Nov | No downtime | 1of 1 | 991 ms |
| 31 Oct | No downtime | 2 | 973 ms |
A failure counts as down time only when a second check five minutes later fails too. How we check
Connect to the publisher's own endpoint
Paste into Settings › Connectors › Add custom connector:
https://hugging-apps-bfs-best-face-swap.hf.space/gradio_api/mcp/sse Run in a terminal:
claude mcp add --transport sse bfs-best-face-swap https://hugging-apps-bfs-best-face-swap.hf.space/gradio_api/mcp/sse Add to ~/.cursor/mcp.json:
Add to ~/.config/devin/mcp_config.json:
Add to mcp.json (Program › Install › Edit mcp.json):
Add to ~/.gemini/settings.json:
Add to config.json in oterm's data folder (~/Library/Application Support/oterm on macOS, ~/.local/share/oterm on Linux, %APPDATA%\oterm on Windows):
Add to ~/.config/eca/config.json (global) or .eca/config.json in the project:
{
"mcpServers": {
"bfs-best-face-swap": {
"url": "https://hugging-apps-bfs-best-face-swap.hf.space/gradio_api/mcp/sse"
}
}
} Add to .vscode/mcp.json:
{
"servers": {
"bfs-best-face-swap": {
"type": "sse",
"url": "https://hugging-apps-bfs-best-face-swap.hf.space/gradio_api/mcp/sse"
}
}
} Add to ~/.config/zed/settings.json:
{
"context_servers": {
"bfs-best-face-swap": {
"url": "https://hugging-apps-bfs-best-face-swap.hf.space/gradio_api/mcp/sse"
}
}
} This server's endpoint speaks only SSE, which this client's documentation does not list among its transports; use another client for it.
Add to cline_mcp_settings.json (MCP Servers › Configure › Configure MCP Servers):
Add to anythingllm_mcp_servers.json in the AnythingLLM storage plugins directory:
Add to Augment Settings Panel – MCP section – Import from JSON (VS Code extension):
{
"mcpServers": {
"bfs-best-face-swap": {
"type": "sse",
"url": "https://hugging-apps-bfs-best-face-swap.hf.space/gradio_api/mcp/sse"
}
}
} Add to ~/.continue/config.yaml:
mcpServers:
- name: "bfs-best-face-swap"
type: sse
url: "https://hugging-apps-bfs-best-face-swap.hf.space/gradio_api/mcp/sse" Add to ~/.config/goose/config.yaml:
extensions:
"bfs-best-face-swap":
type: streamable_http
name: "bfs-best-face-swap"
enabled: true
uri: "https://hugging-apps-bfs-best-face-swap.hf.space/gradio_api/mcp/sse"
headers: {}
env_keys: []
envs: {}
timeout: 300 This server's endpoint speaks only SSE, which this client's documentation does not list among its transports; use another client for it.
Run in a terminal:
codex mcp add bfs-best-face-swap --url https://hugging-apps-bfs-best-face-swap.hf.space/gradio_api/mcp/sse This server's endpoint speaks only SSE, which this client's documentation does not list among its transports; use another client for it.
Add to ~/.llm/config.json:
Add to resources/assets/config/mcp.json in the installed app:
Add to ~/.boltai/mcp.json:
Add to ~/.bob/settings/mcp.json (global) or .bob/mcp.json (project):
Add to ~/.kiro/settings/mcp.json (user) or .kiro/settings/mcp.json (workspace):
Add to ~/.kiro/settings/mcp.json (user) or .kiro/settings/mcp.json (workspace):
{
"mcpServers": {
"bfs-best-face-swap": {
"url": "https://hugging-apps-bfs-best-face-swap.hf.space/gradio_api/mcp/sse"
}
}
} This server's endpoint speaks only SSE, which this client's documentation does not list among its transports; use another client for it.
Add to ~/.config/agenvoy/mcp.json:
{
"servers": {
"bfs-best-face-swap": {
"url": "https://hugging-apps-bfs-best-face-swap.hf.space/gradio_api/mcp/sse"
}
}
} This server's endpoint speaks only SSE, which this client's documentation does not list among its transports; use another client for it.
Add to ~/.config/amp/settings.json (user) or .amp/settings.json (workspace):
{
"amp.mcpServers": {
"bfs-best-face-swap": {
"url": "https://hugging-apps-bfs-best-face-swap.hf.space/gradio_api/mcp/sse"
}
}
} For agents: the install prompt
Every step above as one Markdown text, for an assistant installing it for you.
# Install the MCP server BFS Best Face Swap (`co.huggingface.hugging-apps/bfs-best-face-swap`)
Its page: https://plug.directory/servers/co.huggingface.hugging-apps/bfs-best-face-swap
It runs on the publisher's servers; the client connects to its URL.
Use the section for the person's client.
## Claude Desktop
Paste into Settings › Connectors › Add custom connector:
```text
https://hugging-apps-bfs-best-face-swap.hf.space/gradio_api/mcp/sse
```
## Claude Code
Run in a terminal:
```sh
claude mcp add --transport sse bfs-best-face-swap https://hugging-apps-bfs-best-face-swap.hf.space/gradio_api/mcp/sse
```
## Cursor, Devin Desktop, LM Studio, Gemini CLI, oterm, ECA
Merge into the place for the person's client:
- Cursor: ~/.cursor/mcp.json
- Devin Desktop: ~/.config/devin/mcp_config.json
- LM Studio: mcp.json (Program › Install › Edit mcp.json)
- Gemini CLI: ~/.gemini/settings.json
- oterm: config.json in oterm's data folder (~/Library/Application Support/oterm on macOS, ~/.local/share/oterm on Linux, %APPDATA%\oterm on Windows)
- ECA: ~/.config/eca/config.json (global) or .eca/config.json in the project
```json
{
"mcpServers": {
"bfs-best-face-swap": {
"url": "https://hugging-apps-bfs-best-face-swap.hf.space/gradio_api/mcp/sse"
}
}
}
```
## VS Code
Merge into .vscode/mcp.json:
```json
{
"servers": {
"bfs-best-face-swap": {
"type": "sse",
"url": "https://hugging-apps-bfs-best-face-swap.hf.space/gradio_api/mcp/sse"
}
}
}
```
## Zed
This server's endpoint speaks only SSE, which this client's documentation does not list among its transports; use another client for it.
## Cline, AnythingLLM, Augment Code
Merge into the place for the person's client:
- Cline: cline_mcp_settings.json (MCP Servers › Configure › Configure MCP Servers)
- AnythingLLM: anythingllm_mcp_servers.json in the AnythingLLM storage plugins directory
- Augment Code: Augment Settings Panel – MCP section – Import from JSON (VS Code extension)
```json
{
"mcpServers": {
"bfs-best-face-swap": {
"type": "sse",
"url": "https://hugging-apps-bfs-best-face-swap.hf.space/gradio_api/mcp/sse"
}
}
}
```
## Continue
Merge into ~/.continue/config.yaml:
```yaml
mcpServers:
- name: "bfs-best-face-swap"
type: sse
url: "https://hugging-apps-bfs-best-face-swap.hf.space/gradio_api/mcp/sse"
```
## Goose
This server's endpoint speaks only SSE, which this client's documentation does not list among its transports; use another client for it.
## Codex
This server's endpoint speaks only SSE, which this client's documentation does not list among its transports; use another client for it.
## mcp-client-cli, TUUI, BoltAI, Bob Shell, Kiro, Kiro CLI
This server's endpoint speaks only SSE, which this client's documentation does not list among its transports; use another client for it.
## Agenvoy
This server's endpoint speaks only SSE, which this client's documentation does not list among its transports; use another client for it.
## Amp
Merge into ~/.config/amp/settings.json (user) or .amp/settings.json (workspace):
```json
{
"amp.mcpServers": {
"bfs-best-face-swap": {
"url": "https://hugging-apps-bfs-best-face-swap.hf.space/gradio_api/mcp/sse"
}
}
}
```
Then restart the client, or reload its MCP servers, and ask it to list the server's tools to confirm it started.
Tools 2
bfs_best_face_swap_face_swapSwap the head of the person in `target_image` with the head from `reference_face`. Uses the BFS head-swap LoRA (bfs_head_v1_qwen_2.1) on Qwen-Image-2.1. If a user passes a file as an input, use the upload_file_to_gradio tool, if present, to upload the file to the gradio app and create a Gradio File Input. Then use the returned path as the input to the tool. Returns: A (target, result) pair for the before/after slider, and the seed used.bfs_best_face_swap_on_mode_change
From Hugging Face Spaces. Report a problem