Skip to content

Python: create MCP server from agent #11506

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 5 commits into from
Apr 17, 2025

Conversation

eavanvalkenburg
Copy link
Member

@eavanvalkenburg eavanvalkenburg commented Apr 11, 2025

Motivation and Context

This PR adds a second create_mcp_server function that takes in a list of functions/plugins/agents, and can thus easily be used to create a MCP server based on a Agent
Adds a sample with a Azure AI Agent.
Partial for #11463

Description

Contribution Checklist

@eavanvalkenburg eavanvalkenburg requested a review from a team as a code owner April 11, 2025 07:47
@markwallace-microsoft markwallace-microsoft added python Pull requests for the Python Semantic Kernel documentation labels Apr 11, 2025
@markwallace-microsoft
Copy link
Member

markwallace-microsoft commented Apr 11, 2025

Python Unit Test Overview

Tests Skipped Failures Errors Time
3420 5 💤 0 ❌ 0 🔥 1m 37s ⏱️

@eavanvalkenburg eavanvalkenburg added this pull request to the merge queue Apr 17, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 17, 2025
@moonbox3 moonbox3 added this pull request to the merge queue Apr 17, 2025
Merged via the queue into microsoft:main with commit 5cbd980 Apr 17, 2025
28 checks passed
glorious-beard pushed a commit to glorious-beard/semantic-kernel that referenced this pull request May 6, 2025
### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->
This PR adds a second create_mcp_server function that takes in a list of
functions/plugins/agents, and can thus easily be used to create a MCP
server based on a Agent
Adds a sample with a Azure AI Agent.
Partial for microsoft#11463 

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 😄
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation python Pull requests for the Python Semantic Kernel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants