microsoft / microsoft/foundry-dev-tools
[MCP] The mcp setting headers in Agent Builder does not take effect
Open
@XiaofuHuang is already working on this.
Since Jul 21, 2025.
bug
needs more info
no recent activity
- Dominant language
- JavaScript
- Stars
- 2.1k
- Forks
- 260
- Avg merge
- 42m
- Merged PRs (30d)
- 29
Description
mcp.json
generated code
As you can see above, the mcp initialization logic in the generated code does not carry headers.
Similarly, the mcp tool call returns 401, which proves that the headers setting is not working.
So how do I set the headers?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.