Skip to content

Python: sample using GitHub MCP Server and Azure AI Agent #11465

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 11, 2025

Conversation

eavanvalkenburg
Copy link
Member

@eavanvalkenburg eavanvalkenburg commented Apr 9, 2025

Motivation and Context

This adds a sample using Azure AI Agents and the local Github MCP server as a plugin.

Partial for: #11463

Description

Contribution Checklist

@eavanvalkenburg eavanvalkenburg requested a review from a team as a code owner April 9, 2025 11:48
@markwallace-microsoft markwallace-microsoft added the python Pull requests for the Python Semantic Kernel label Apr 9, 2025
@eavanvalkenburg eavanvalkenburg changed the title Python: sample using github mcp server and azure ai agent Python: sample using GitHub MCP Server and Azure AI Agent Apr 9, 2025
@eavanvalkenburg eavanvalkenburg requested a review from Copilot April 9, 2025 12:20
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (2)

python/samples/concepts/mcp/azure_ai_agent_with_mcp_plugin.py:30

  • [nitpick] Consider renaming 'github' to 'GitHub' for consistency with the official branding.
            name="github",

python/samples/concepts/mcp/azure_ai_agent_with_mcp_plugin.py:43

  • [nitpick] It is recommended to rename 'GithubAgent' to 'GitHubAgent' to maintain consistent branding.
            name="GithubAgent",

@KishoreKunalPraval
Copy link

KishoreKunalPraval commented Apr 9, 2025

can i use MCP instead of semantic kernel plugin.

My use case is i have 12 indexes of ai search which i am writing as individual plugin then user prompts a question using which gpt decides what to use through :

function_choice_behavior=FunctionChoiceBehavior.Auto()

@eavanvalkenburg
Copy link
Member Author

@KishoreKunalPraval I'm not sure what you mean, this sample create a Plugin out of a MCP server definition, and then uses function calling to let the agent use it. So it has nothing to do with AI Search...

@KishoreKunalPraval
Copy link

@eavanvalkenburg , i was asking can "plugin" be replaced with MCP to do choose which index to choose , what's the user intent , how to format the response etc.

@markwallace-microsoft
Copy link
Member

markwallace-microsoft commented Apr 10, 2025

Python Unit Test Overview

Tests Skipped Failures Errors Time
3418 5 💤 0 ❌ 0 🔥 1m 35s ⏱️

@eavanvalkenburg eavanvalkenburg added this pull request to the merge queue Apr 10, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 10, 2025
@eavanvalkenburg eavanvalkenburg added this pull request to the merge queue Apr 10, 2025
@eavanvalkenburg eavanvalkenburg removed this pull request from the merge queue due to a manual request Apr 10, 2025
@eavanvalkenburg eavanvalkenburg added this pull request to the merge queue Apr 10, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 10, 2025
@eavanvalkenburg eavanvalkenburg added this pull request to the merge queue Apr 10, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 10, 2025
@eavanvalkenburg eavanvalkenburg added this pull request to the merge queue Apr 11, 2025
Merged via the queue into microsoft:main with commit 07c09e6 Apr 11, 2025
27 checks passed
@eavanvalkenburg eavanvalkenburg deleted the mcp_azure_ai_agent branch April 11, 2025 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python Pull requests for the Python Semantic Kernel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants