MCP support for Foundry (#652)

Co-authored-by: Giles Odigwe <gilesodigwe@microsoft.com>
This commit is contained in:
Giles Odigwe
2025-09-09 13:07:20 -07:00
committed by GitHub
Unverified
parent 745a05d43c
commit 9f8823192e
5 changed files with 163 additions and 0 deletions
@@ -68,6 +68,9 @@ from samples.getting_started.agents.foundry.foundry_with_explicit_settings impor
from samples.getting_started.agents.foundry.foundry_with_function_tools import (
main as foundry_with_function_tools,
)
from samples.getting_started.agents.foundry.foundry_with_local_mcp import (
main as foundry_with_local_mcp,
)
from samples.getting_started.agents.foundry.foundry_with_thread import (
main as foundry_with_thread,
)
@@ -337,6 +340,15 @@ agent_samples = [
pytest.mark.skipif(os.getenv(RUN_SAMPLES_TESTS, None) is None, reason="Not running sample tests."),
],
),
param(
foundry_with_local_mcp,
[], # Non-interactive sample
id="foundry_with_local_mcp",
marks=[
pytest.mark.foundry,
pytest.mark.skipif(os.getenv(RUN_SAMPLES_TESTS, None) is None, reason="Not running sample tests."),
],
),
# OpenAI Assistants Agent samples
param(
openai_assistants_basic,