huggingface / huggingface/mcp-course

unit2/gradio-client.mdx - reference to local MCP server seems like it's no longer accurate(?)

Open
#82 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
MDX
Stars
918
Forks
255
PR merge metrics
No merged PRs in 30d

Description

Thanks for this course.

I'm working through it, and in `unit2/gradio-client.mdx`, this part

```
mcp_client = MCPClient(
{"url": "http://localhost:7860/gradio_api/mcp/sse"} # This is the MCP Server we created in the previous section
)
```

isn't clear to me. Potentially the previous section has now been changed as I didn't create a server with a prime factorisation tool in the previous section ( it was a sentiment analysis tool)

I can get the client working by replacing that local URI with the one to `https://abidlabs-mcp-tools2.hf.space/gradio_api/mcp/sse`

Could be that I'm just misunderstanding {?). Happy to make the change if one is needed

Contributor guide

No contributing guide indexed for this repository

Research direction

Read unit2/gradio-client.mdx, starting with the section before the MCPClient example, and compare the server/tool described there with the local SSE URL in the example. Confirm the current server endpoint and tool flow, then update the reference so the client example matches the preceding course material.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.