microsoft / microsoft/agent-framework

Support passing per-user subscription key from Azure AI Foundry to MCP server via Agent Framework

Open
#2,481 2 comments 1 reaction 1 assignee Claimed by @rogerbarreto View on GitHub
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

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.