You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/policies/disallow-edits.yml
+11-7Lines changed: 11 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -19,18 +19,18 @@ configuration:
19
19
@${issueAuthor} - You tried to add an index file to this repository; this is not permitted so your pull request will be closed automatically.
20
20
- closePullRequest
21
21
22
-
- description: Close PRs to the "ai-services/personalizer" and "ai-services/responsible-ai" folders where the author isn't a member of the MicrosoftDocs org (i.e. PRs in public repo).
22
+
- description: Close PRs to the "personalizer" and "responsible-ai" folders where the author isn't a member of the MicrosoftDocs org (i.e. PRs in public repo).
23
23
if:
24
24
- payloadType: Pull_Request
25
25
- isAction:
26
26
action: Opened
27
27
- or:
28
28
- filesMatchPattern:
29
29
matchAny: true
30
-
pattern: articles/ai-services/personalizer/*
30
+
pattern: articles/ai-foundry/responsible-ai/*
31
31
- filesMatchPattern:
32
32
matchAny: true
33
-
pattern: articles/ai-services/responsible-ai/*
33
+
pattern: articles/ai-services/personalizer/*
34
34
- not:
35
35
activitySenderHasAssociation:
36
36
association: Member
@@ -40,14 +40,18 @@ configuration:
40
40
@${issueAuthor} - Pull requests that modify files in this folder aren't accepted from public contributors.
41
41
- closePullRequest
42
42
43
-
- description: \@mention specific people when a PR is opened in the "ai-services/personalizer" folder.
43
+
- description: \@mention specific people when a PR is opened in the "personalizer" or "responsible-ai" folder.
Copy file name to clipboardExpand all lines: articles/ai-foundry/agents/concepts/agent-catalog.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ ms.custom:
15
15
# Get started with the Agent Catalog
16
16
17
17
Accelerate your agent development using code samples and best practices for creating agents. Each agent sample below links to a GitHub Repository, where you can browse the agent's configuration files, setup instructions and source code to start integrating them into your own project in code.
18
-
With agents you create using these code samples, be sure to assess safety and legal implications, and to comply with all applicable laws and safety standards. See the [transparency note](/legal/cognitive-services/agents/transparency-note) for more information.
18
+
With agents you create using these code samples, be sure to assess safety and legal implications, and to comply with all applicable laws and safety standards. See the [transparency note](/azure/ai-foundry/responsible-ai/agents/transparency-note) for more information.
Copy file name to clipboardExpand all lines: articles/ai-foundry/agents/concepts/model-region-support.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ All deployments can perform the exact same inference operations, however the bil
27
27
Azure AI Foundry Agent Service supports the following Azure OpenAI models in the listed regions.
28
28
29
29
> [!NOTE]
30
-
> * The following table is for standard deployment availability. For information on Provisioned Throughput Unit (PTU) availability, see [provisioned throughput](../../../ai-services/openai/concepts/provisioned-throughput.md) in the Azure OpenAI documentation. `GlobalStandard` customers also have access to [global standard models](../../../ai-services/openai/concepts/models.md#global-standard-model-availability).
30
+
> * The following table is for serverless API deployment availability. For information on Provisioned Throughput Unit (PTU) availability, see [provisioned throughput](../../../ai-services/openai/concepts/provisioned-throughput.md) in the Azure OpenAI documentation. `GlobalStandard` customers also have access to [global standard models](../../../ai-services/openai/concepts/models.md#global-standard-model-availability).
31
31
> *[Hub based projects](../../what-is-azure-ai-foundry.md#project-types) are limited to the following models: gpt-4o, gpt-4o-mini, gpt-4, gpt-35-turbo
Copy file name to clipboardExpand all lines: articles/ai-foundry/agents/faq.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ sections:
37
37
- question: |
38
38
Is my data used by Microsoft for training models?
39
39
answer: |
40
-
No. Data is not used by Microsoft for training models. See the [Responsible AI documentation](/legal/cognitive-services/openai/data-privacy?context=%2Fazure%2Fai-services%2Fopenai%2Fcontext%2Fcontext) for more information.
40
+
No. Data is not used by Microsoft for training models. See the [Responsible AI documentation](/azure/ai-foundry/responsible-ai/openai/data-privacy) for more information.
description: Find code samples to connect Foundry Agent service with MCP.
5
+
services: cognitive-services
6
+
manager: nitinme
7
+
ms.service: azure-ai-agent-service
8
+
ms.topic: how-to
9
+
ms.date: 06/26/2025
10
+
author: aahill
11
+
ms.author: aahi
12
+
zone_pivot_groups: selection-mcp-code
13
+
ms.custom: azure-ai-agents-code
14
+
---
15
+
16
+
# How to use the Model Context Protocol (MCP) tool
17
+
18
+
Use this article to find step-by-step instructions and code samples for connecting Foundry Agent service with MCP.
19
+
20
+
Follow the [REST API Quickstart](../../quickstart.md?pivots=rest-api#api-call-information) to set the right values for the environment variables `AGENT_TOKEN`, `AZURE_AI_FOUNDRY_PROJECT_ENDPOINT` and `API_VERSION`.
21
+
22
+
23
+
## Create an Agent with the MCP tool enabled
24
+
25
+
To make the MCP tool available to your agent, initialize a tool with the server endpoint, server label and more
"content": "<user input related to the MCP server you connect>"
66
+
}'
67
+
```
68
+
69
+
## Create a run and check the output
70
+
71
+
Create a run to pass headers for the tool and observe that the model uses the Grounding with Bing Search tool to provide a response to the user's question.
0 commit comments