In the Mastra AI 101 course, we need to set up a GitHub MCP server, using the @smithery/sdk package to create the server's URL. Part of this process involves using the sdk's createSmitheryUrl function in our agent code:
import { createSmitheryUrl } from '@smithery/sdk'
However, this function is not defined; i.e., it has been renamed or removed. I'm using version 4.2.0 of the sdk.
I've explored this with the Mastra MCP server (in Windsurf), and it suggests getting the GitHub server's URL "directly" by logging in to my Smithery account, and following some steps, where the resulting URL should follow this format: https://server.smithery.ai/@smithery-ai/github. To follow these steps, choose Agent or Human as the target, and for the latter, select a client (e.g., Claude, Windsurf). Many client options require you to install the Smithery CLI locally. Rather than going down this route, I'd like first to enquire whether anyone has had this problem and how you resolved it.