Skip to content

Commit 13e65d1

Browse files
Copilottimheuer
andcommitted
Update MCP template server.json for new registry specification
Co-authored-by: timheuer <4821+timheuer@users.noreply.github.com>
1 parent 6c81c17 commit 13e65d1

File tree

2 files changed

+14
-12
lines changed
  • src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/McpServer/McpServer-CSharp/.mcp
  • test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/mcpserver.Basic.verified/mcpserver/.mcp

2 files changed

+14
-12
lines changed
Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
{
22
"$schema": "https://modelcontextprotocol.io/schemas/draft/2025-07-09/server.json",
33
"description": "<your description here>",
4-
"name": "io.github.<your GitHub username here>/<your repo name>",
4+
"id": "io.github.<your GitHub username here>/<your repo name>",
5+
"version": "0.1.0-beta",
56
"packages": [
67
{
7-
"registry_name": "nuget",
8-
"name": "<your package ID here>",
8+
"registry_type": "nuget",
9+
"identifier": "<your package ID here>",
910
"version": "0.1.0-beta",
11+
"transport": {
12+
"type": "stdio"
13+
},
1014
"package_arguments": [],
1115
"environment_variables": []
1216
}
1317
],
1418
"repository": {
1519
"url": "https://github.com/<your GitHub username here>/<your repo name>",
1620
"source": "github"
17-
},
18-
"version_detail": {
19-
"version": "0.1.0-beta"
2021
}
2122
}
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
{
22
"$schema": "https://modelcontextprotocol.io/schemas/draft/2025-07-09/server.json",
33
"description": "<your description here>",
4-
"name": "io.github.<your GitHub username here>/<your repo name>",
4+
"id": "io.github.<your GitHub username here>/<your repo name>",
5+
"version": "0.1.0-beta",
56
"packages": [
67
{
7-
"registry_name": "nuget",
8-
"name": "<your package ID here>",
8+
"registry_type": "nuget",
9+
"identifier": "<your package ID here>",
910
"version": "0.1.0-beta",
11+
"transport": {
12+
"type": "stdio"
13+
},
1014
"package_arguments": [],
1115
"environment_variables": []
1216
}
1317
],
1418
"repository": {
1519
"url": "https://github.com/<your GitHub username here>/<your repo name>",
1620
"source": "github"
17-
},
18-
"version_detail": {
19-
"version": "0.1.0-beta"
2021
}
2122
}

0 commit comments

Comments
 (0)