# How to use mcp-remote

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-use-mcp-remote%2F168569%3E%5C
**Category:** Course\
**Created:** [September 21, 2025, 8:45pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-use-mcp-remote%2F168569 "2025-09-21T20:45:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SH4NKY](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/sh4nky/32/54127_2.png) [@SH4NKY](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FSH4NKY)%5C
**Post date:** [September 21, 2025, 8:45pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-use-mcp-remote%2F168569%2F1 "2025-09-21T20:45:22Z")

</div>

Hello,

In the MCP Course, while using gradio to build an mcp server, it is suggested as a troubleshooting step to use mcp-remote. Here’s the snippet the instructors ask to use.

```auto
{
  "mcpServers": {
    "gradio": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "http://your-server:port/gradio_api/mcp/sse"
      ]
    }
  }
}

```

The issue is, I do not understand where will this code snippet go to allow mcp-remote? Because I do not see any file containing the mcp configuration. The only configuration I have provided is in the server.py file with the the command gr.Interface().

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJohn6666)%5C
**Post date:** [September 21, 2025, 11:49pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-use-mcp-remote%2F168569%2F2 "2025-09-21T23:49:47Z")

</div>

Hmm, I’m [not really familiar with MCP, so I’m not sure if this is right](https://huggingface.co/datasets/John6666/forum1/blob/main/mcp_remote.md)…
