Open
Description
I created an MCP server hosted as an Azure Function, and I verified that it's working as expected by using GitHub Copilot from VS Code. Now I'm trying to use it in my Teams app by following instructions in https://microsoft.github.io/teams-ai/8.ai/6.external/1.mcp.html. I have something like this:
const prompt = new ChatPrompt(
{
. . .
).usePlugin("mcpClient", { url: "https://myfunc.azurewebsites.net/runtime/webhooks/mcp/sse" });
PROBLEM: I'm getting 401, which make sense since the line above doesn't pass the key (when adding my MCP server in GitHub Copilot, I had to add mcp_extension key to be passed in.
QUESTON: How can I pass the MCP Server secret key when using Spark library?