microsoft / microsoft/agent-framework
Support passing per-user subscription key from Azure AI Foundry to MCP server via Agent Framework
Open
mcp
question
- Dominant language
- Python
- Stars
- 13.6k
- Forks
- 2.3k
- Avg merge
- 2d 45m
- Merged PRs (30d)
- 358
Description
We have an MCP server hosted in Azure that requires a subscription key per user. The subscription key is used by the MCP server to:
- Authenticate the user, and
- Filter data based on that user’s permissions/scope.
We’d like to connect this MCP server to an agent through the deploy agent via Azure AI Foundry, while preserving this per-user subscription model.
Today, I don’t see a clear way to let an end user provide their subscription key in a request to an Azure AI Foundry agent and have that key flow through Agent Framework to the MCP server client.
Contributor guide
Assessment
This issue has not been assessed yet.