Skip to content

Commit 162aeb9

Browse files
authored
Update server names in examples to use reverse DNS format (#303)
## Summary - Updates server names in documentation examples from arbitrary strings to reverse DNS format (com.github.owner/repo) - Standardizes package names and URLs for consistency across all examples - Improves naming convention to follow established patterns This change makes the examples more consistent and follows common reverse DNS naming conventions used in software development.
1 parent 7b211a4 commit 162aeb9

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

docs/server-json/examples.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Suppose your MCP server application requires a `mcp start` CLI arguments to star
5050
```json
5151
{
5252
"server": {
53-
"name": "Knapcode.SampleMcpServer",
53+
"name": "com.github.joelverhagen/knapcode-samplemcpserver",
5454
"description": "Sample NuGet MCP server for a random number and random weather",
5555
"version_detail": {
5656
"version": "0.4.0-beta"
@@ -91,7 +91,7 @@ This will essentially instruct the MCP client to execute `dnx Knapcode.SampleMcp
9191
```json
9292
{
9393
"server": {
94-
"name": "io.modelcontextprotocol/filesystem",
94+
"name": "com.github.modelcontextprotocol/filesystem",
9595
"description": "Node.js server implementing Model Context Protocol (MCP) for filesystem operations.",
9696
"status": "active",
9797
"repository": {
@@ -186,7 +186,7 @@ This will essentially instruct the MCP client to execute `dnx Knapcode.SampleMcp
186186
```json
187187
{
188188
"server": {
189-
"name": "Remote Filesystem Server",
189+
"name": "com.example/mcp-fs",
190190
"description": "Cloud-hosted MCP filesystem server",
191191
"repository": {
192192
"url": "https://github.com/example/remote-fs",
@@ -199,7 +199,7 @@ This will essentially instruct the MCP client to execute `dnx Knapcode.SampleMcp
199199
"remotes": [
200200
{
201201
"transport_type": "sse",
202-
"url": "https://mcp-fs.example.com/sse"
202+
"url": "http://mcp-fs.example.com/sse"
203203
}
204204
]
205205
},
@@ -221,7 +221,7 @@ This will essentially instruct the MCP client to execute `dnx Knapcode.SampleMcp
221221
```json
222222
{
223223
"server": {
224-
"name": "weather-mcp-server",
224+
"name": "com.github.example/weather-mcp",
225225
"description": "Python MCP server for weather data access",
226226
"repository": {
227227
"url": "https://github.com/example/weather-mcp",
@@ -273,7 +273,7 @@ The `dnx` tool ships with the .NET 10 SDK, starting with Preview 6.
273273
```json
274274
{
275275
"server": {
276-
"name": "Knapcode.SampleMcpServer",
276+
"name": "com.github.joelverhagen/knapcode-samplemcpserver",
277277
"description": "Sample NuGet MCP server for a random number and random weather",
278278
"repository": {
279279
"url": "https://github.com/joelverhagen/Knapcode.SampleMcpServer",
@@ -319,10 +319,10 @@ The `dnx` tool ships with the .NET 10 SDK, starting with Preview 6.
319319
```json
320320
{
321321
"server": {
322-
"name": "mcp-database-manager",
322+
"name": "com.github.example/database-manager",
323323
"description": "MCP server for database operations with support for multiple database types",
324324
"repository": {
325-
"url": "https://github.com/example/mcp-database",
325+
"url": "https://github.com/example/database-manager-mcp",
326326
"source": "github",
327327
"id": "ghi789jk-lmno-1234-pqrs-tuvwxyz56789"
328328
},
@@ -332,7 +332,7 @@ The `dnx` tool ships with the .NET 10 SDK, starting with Preview 6.
332332
"packages": [
333333
{
334334
"registry_name": "docker",
335-
"name": "mcp/database-manager",
335+
"name": "example/database-manager-mcp",
336336
"version": "3.1.0",
337337
"runtime_arguments": [
338338
{
@@ -418,7 +418,7 @@ The `dnx` tool ships with the .NET 10 SDK, starting with Preview 6.
418418
```json
419419
{
420420
"server": {
421-
"name": "hybrid-mcp-server",
421+
"name": "com.example/hybrid-mcp",
422422
"description": "MCP server available as both local package and remote service",
423423
"repository": {
424424
"url": "https://github.com/example/hybrid-mcp",
@@ -448,7 +448,7 @@ The `dnx` tool ships with the .NET 10 SDK, starting with Preview 6.
448448
"remotes": [
449449
{
450450
"transport_type": "sse",
451-
"url": "https://hybrid-mcp.example.com/sse",
451+
"url": "https://mcp.example.com/sse",
452452
"headers": [
453453
{
454454
"name": "X-API-Key",
@@ -466,7 +466,7 @@ The `dnx` tool ships with the .NET 10 SDK, starting with Preview 6.
466466
},
467467
{
468468
"transport_type": "streamable",
469-
"url": "https://hybrid-mcp.example.com/stream"
469+
"url": "https://mcp.example.com/http"
470470
}
471471
]
472472
},
@@ -492,7 +492,7 @@ The `dnx` tool ships with the .NET 10 SDK, starting with Preview 6.
492492
```json
493493
{
494494
"server": {
495-
"name": "io.legacy/old-weather-server",
495+
"name": "com.github.example/old-weather",
496496
"description": "Legacy weather server - DEPRECATED: Use weather-v2 instead for new projects",
497497
"status": "deprecated",
498498
"repository": {

0 commit comments

Comments
 (0)