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: Part 8 - Enhanced MCP Server/README.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -279,6 +279,8 @@ Help resolve a customer issue: John Doe says his tent order is delayed. Can you:
279
279
280
280
## Step 7: Security and Validation Considerations
281
281
282
+
> **📚 Note**: This step provides **educational content** about security best practices. The code examples below demonstrate concepts you should consider when building production MCP servers. **You don't need to modify the ContosoOrdersMcpServer project** - these are examples to learn from for your own future projects.
283
+
282
284
When building business MCP tools, consider these important aspects:
283
285
284
286
### Data Validation
@@ -325,6 +327,8 @@ catch (Exception ex)
325
327
326
328
## Step 8: Advanced Business Scenarios
327
329
330
+
> **📚 Note**: This step shows **example patterns** for advanced business scenarios. These code examples demonstrate how you could extend MCP servers beyond the basic ContosoOrdersMcpServer. **You don't need to implement these** - they're provided as inspiration for building your own advanced MCP tools.
331
+
328
332
### Multi-System Integration
329
333
330
334
Real business MCP servers often integrate with multiple systems:
@@ -381,6 +385,8 @@ public class ContosoOrdersTools
381
385
382
386
## Step 9: Performance and Scalability
383
387
388
+
> **📚 Note**: This step demonstrates **performance optimization techniques** for production MCP servers. These are **example patterns** showing how to improve scalability - you don't need to add them to ContosoOrdersMcpServer. Use these concepts when building high-performance MCP servers in the future.
389
+
384
390
### Caching Strategies
385
391
386
392
```csharp
@@ -427,6 +433,8 @@ public async Task<string> GetCustomerOrderSummary(string customerId)
427
433
428
434
## Step 10: Monitoring and Observability
429
435
436
+
> **📚 Note**: This step presents **monitoring and logging best practices** for production MCP servers. These are **example implementations** to guide your future work - you don't need to add this code to ContosoOrdersMcpServer. Consider these patterns when deploying MCP servers to production environments.
437
+
430
438
### Tool Usage Logging
431
439
432
440
```csharp
@@ -455,6 +463,8 @@ public async Task<string> GetOrderDetails(string orderId)
455
463
456
464
## Step 11: Testing Business Logic
457
465
466
+
> **📚 Note**: This step illustrates **unit testing patterns** for MCP tools. These are **example test cases** showing how to validate business logic - you don't need to add tests to ContosoOrdersMcpServer for this workshop. Use these patterns when building production MCP servers that require comprehensive testing.
0 commit comments