Skip to content

Mcp v1 v2 changes python#265

Draft
biswapm wants to merge 8 commits intomainfrom
mcp-v1-v2-changes-python
Draft

Mcp v1 v2 changes python#265
biswapm wants to merge 8 commits intomainfrom
mcp-v1-v2-changes-python

Conversation

@biswapm
Copy link
Copy Markdown
Contributor

@biswapm biswapm commented Apr 3, 2026

No description provided.

biswapm added 2 commits April 3, 2026 19:08
…ll Python samples

- Update list_tool_servers() calls to pass authorization_context instead of auth_token
- Extract V2 MCPServerConfig fields (audience, scope, publisher, headers) from SDK configs
- Implement per-server header merging {**base_headers, **server_headers} in claude, crewai, google-adk
- Update all ToolingManifest.json with V2 server catalog (mcp_Admin365_GraphTools, mcp_OneDriveRemoteServer, mcp_SharePointRemoteServer, mcp_TeamsServerV1)
- Update .env.template files with AGENTIC_APP_ID and other V2-required variables
- Add 59 unit tests across all 5 Python samples (pytest with SDK mocking)
- Add a365 artifact patterns to .gitignore
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 3, 2026

⚠️ 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 1291907.
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

import os
import sys
import pytest
from unittest.mock import AsyncMock, MagicMock, patch
biswapm added 4 commits April 9, 2026 21:20
Resolved conflicts by taking the branch's V2-aware versions:
- ToolingManifest.json (agent-framework, google-adk, openai): kept full 5-server list with V2 entries and publisher field
- .env.template (google-adk): kept expanded V2 auth/identity documentation
- mcp_tool_registration_service.py (google-adk): kept per-audience V2 token acquisition logic
biswapm added 2 commits April 12, 2026 15:51
- Fix CrewAI legacy list_tool_servers() to pass authorization, auth_handler_name,
  and turn_context to the SDK so V2 per-audience tokens are acquired correctly
- Document BEARER_TOKEN_MCP_<SERVER> dev env vars in all five .env.template files
  (openai, agent-framework, claude, crewai, google-adk) for V2 blueprint local testing
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