Skip to content

Commit 3aacd45

Browse files
committed
Fix capitalization of 'ProtectedMCP' samples
1 parent 936db68 commit 3aacd45

11 files changed

Lines changed: 14 additions & 14 deletions

File tree

ModelContextProtocol.slnx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
<Project Path="samples/AspNetCoreMcpServer/AspNetCoreMcpServer.csproj" />
1313
<Project Path="samples/ChatWithTools/ChatWithTools.csproj" />
1414
<Project Path="samples/EverythingServer/EverythingServer.csproj" />
15-
<Project Path="samples/ProtectedMCPClient/ProtectedMCPClient.csproj" />
16-
<Project Path="samples/ProtectedMCPServer/ProtectedMCPServer.csproj" />
15+
<Project Path="samples/ProtectedMcpClient/ProtectedMcpClient.csproj" />
16+
<Project Path="samples/ProtectedMcpServer/ProtectedMcpServer.csproj" />
1717
<Project Path="samples/QuickstartClient/QuickstartClient.csproj" />
1818
<Project Path="samples/QuickstartWeatherServer/QuickstartWeatherServer.csproj" />
1919
<Project Path="samples/TestServerWithHosting/TestServerWithHosting.csproj" />
File renamed without changes.
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The Protected MCP Client sample shows how to:
1414

1515
- .NET 9.0 or later
1616
- A running TestOAuthServer (for OAuth authentication)
17-
- A running ProtectedMCPServer (for MCP services)
17+
- A running ProtectedMcpServer (for MCP services)
1818

1919
## Setup and Running
2020

@@ -31,10 +31,10 @@ The OAuth server will start at `https://localhost:7029`
3131

3232
### Step 2: Start the Protected MCP Server
3333

34-
Next, start the ProtectedMCPServer which provides the weather tools:
34+
Next, start the ProtectedMcpServer which provides the weather tools:
3535

3636
```bash
37-
cd samples\ProtectedMCPServer
37+
cd samples\ProtectedMcpServer
3838
dotnet run
3939
```
4040

@@ -45,7 +45,7 @@ The protected server will start at `http://localhost:7071`
4545
Finally, run this client:
4646

4747
```bash
48-
cd samples\ProtectedMCPClient
48+
cd samples\ProtectedMcpClient
4949
dotnet run
5050
```
5151

@@ -90,4 +90,4 @@ Once authenticated, the client can access weather tools including:
9090
## Key Files
9191

9292
- `Program.cs`: Main client application with OAuth flow implementation
93-
- `ProtectedMCPClient.csproj`: Project file with dependencies
93+
- `ProtectedMcpClient.csproj`: Project file with dependencies
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using Microsoft.AspNetCore.Authentication.JwtBearer;
22
using Microsoft.IdentityModel.Tokens;
33
using ModelContextProtocol.AspNetCore.Authentication;
4-
using ProtectedMCPServer.Tools;
4+
using ProtectedMcpServer.Tools;
55
using System.Net.Http.Headers;
66
using System.Security.Claims;
77

samples/ProtectedMCPServer/Properties/launchSettings.json renamed to samples/ProtectedMcpServer/Properties/launchSettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"profiles": {
3-
"ProtectedMCPServer": {
3+
"ProtectedMcpServer": {
44
"commandName": "Project",
55
"launchBrowser": true,
66
"environmentVariables": {
File renamed without changes.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,18 @@ The OAuth server will start at `https://localhost:7029`
3434
Run this protected server:
3535

3636
```bash
37-
cd samples\ProtectedMCPServer
37+
cd samples\ProtectedMcpServer
3838
dotnet run
3939
```
4040

4141
The protected server will start at `http://localhost:7071`
4242

4343
### Step 3: Test with Protected MCP Client
4444

45-
You can test the server using the ProtectedMCPClient sample:
45+
You can test the server using the ProtectedMcpClient sample:
4646

4747
```bash
48-
cd samples\ProtectedMCPClient
48+
cd samples\ProtectedMcpClient
4949
dotnet run
5050
```
5151

File renamed without changes.

samples/ProtectedMCPServer/Tools/WeatherTools.cs renamed to samples/ProtectedMcpServer/Tools/WeatherTools.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using System.Globalization;
55
using System.Text.Json;
66

7-
namespace ProtectedMCPServer.Tools;
7+
namespace ProtectedMcpServer.Tools;
88

99
[McpServerToolType]
1010
public sealed class WeatherTools

0 commit comments

Comments
 (0)