Azure-Samples / Azure-Samples/remote-mcp-apim-functions-python

VS Code authentication fails but Inspector works

Open
#15 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Bicep
Stars
129
Forks
79
PR merge metrics
No merged PRs in 30d

Description

When using inspector, all works fine. With the preconfigured SSE MCP tool, and also with an MCP tool I added thats HTTP Stream.

However, when using the same configuration in VS code. There seems to be a problem with the redirect url.

Configuration
![Image](https://github.com/user-attachments/assets/ab62473b-be0e-4f41-92fb-46c01dd92fa2)

Redirect url:

![Image](https://github.com/user-attachments/assets/325cfe2b-a022-4288-92e8-2562d068d080)

Strange enough as well is the fact that the redirect url is insides, but im working from regular vs code.

Currently out of ideas on how to proceed and debug. Other oauth MCP tools work just fine. (GitHub).

Any ideas would be appreciated.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.