Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Part 8 - Enhanced MCP Server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,8 @@ Help resolve a customer issue: John Doe says his tent order is delayed. Can you:

## Step 7: Security and Validation Considerations

> **πŸ“š 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.
Copy link

Copilot AI Oct 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The wording of the added notes varies across steps (e.g., "You don't need to implement these", "you don't need to add them", "you don't need to add this code", "you don't need to add tests"). Consider standardizing a single closing sentence (e.g., "You don't need to change the sample project; these examples are for your future reference.") and apply it consistently to lines 282, 330, 388, 436, and 466 for improved clarity and uniform reader experience.

Copilot uses AI. Check for mistakes.

When building business MCP tools, consider these important aspects:

### Data Validation
Expand Down Expand Up @@ -325,6 +327,8 @@ catch (Exception ex)

## Step 8: Advanced Business Scenarios

> **πŸ“š 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.

### Multi-System Integration

Real business MCP servers often integrate with multiple systems:
Expand Down Expand Up @@ -381,6 +385,8 @@ public class ContosoOrdersTools

## Step 9: Performance and Scalability

> **πŸ“š 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.

### Caching Strategies

```csharp
Expand Down Expand Up @@ -427,6 +433,8 @@ public async Task<string> GetCustomerOrderSummary(string customerId)

## Step 10: Monitoring and Observability

> **πŸ“š 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.

### Tool Usage Logging

```csharp
Expand Down Expand Up @@ -455,6 +463,8 @@ public async Task<string> GetOrderDetails(string orderId)

## Step 11: Testing Business Logic

> **πŸ“š 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.

### Unit Testing MCP Tools

```csharp
Expand Down
Loading