Skip to content

Add V2 per-audience MCP token support to .NET samples#272

Draft
biswapm wants to merge 1 commit intomainfrom
mcp-v1-v2-changes-dotnet
Draft

Add V2 per-audience MCP token support to .NET samples#272
biswapm wants to merge 1 commit intomainfrom
mcp-v1-v2-changes-dotnet

Conversation

@biswapm
Copy link
Copy Markdown
Contributor

@biswapm biswapm commented Apr 12, 2026

  • Remove explicit bearer token pass-through in SK Agent365Agent.cs and AF MyAgent.cs; SDK now selects DevMcpTokenProvider (reads BEARER_TOKEN_<SERVER_NAME> for V2, BEARER_TOKEN fallback for V1) or AgenticMcpTokenProvider automatically
  • Add V2 bearer token dev profile to SK launchSettings.json
  • Create Properties/launchSettings.json for agent-framework sample with V1/V2 profiles
  • Document BEARER_TOKEN_<SERVER_NAME> convention in both appsettings.json

- Remove explicit bearer token pass-through in SK Agent365Agent.cs and AF
  MyAgent.cs; SDK now selects DevMcpTokenProvider (reads BEARER_TOKEN_<SERVER_NAME>
  for V2, BEARER_TOKEN fallback for V1) or AgenticMcpTokenProvider automatically
- Add V2 bearer token dev profile to SK launchSettings.json
- Create Properties/launchSettings.json for agent-framework sample with V1/V2 profiles
- Document BEARER_TOKEN_<SERVER_NAME> convention in both appsettings.json
@github-actions
Copy link
Copy Markdown

⚠️ Deprecation Warning: The deny-licenses option is deprecated for possible removal in the next major release. For more information, see issue 997.

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA 3a0dc80.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant