Skip to content

Commit c3cf032

Browse files
Merge pull request #5769 from lindazqli/patch-5
Update model-context-protocol-samples.md
2 parents a276e79 + a44c2f1 commit c3cf032

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/ai-foundry/agents/how-to/tools/model-context-protocol-samples.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ curl --request POST \
3333
"tools": [
3434
{
3535
"type": "mcp",
36-
"server_label": "github",
37-
"server_url": "https://gitmcp.io/Azure/azure-rest-api-specs",
36+
"server_label": "<unique name for your MCP server>",
37+
"server_url": "<your MCP server url>",
3838
"require_approval": "never",
3939
}
4040
],
@@ -80,7 +80,7 @@ curl --request POST \
8080
"tool_resources": {
8181
"mcp": [
8282
{
83-
"server_label": "github",
83+
"server_label": "<the same unique name you provided during agent creation>",
8484
"headers": {
8585
"Authorization": "Bearer <token>",
8686
}

0 commit comments

Comments
 (0)