csharp-sdk

The official C# SDK for Model Context Protocol servers and clients. Maintained in collaboration with Microsoft.

GitHub Stars

3,211

User Rating

Not Rated

Favorites

0

Views

170

Forks

495

Issues

116

Installation
Difficulty
Advanced
Estimated Time
20-45 minutes

Installation

Installation

Prerequisites

.NET SDK: 6.0 or higher

Installation Steps

1. Install the package from NuGet

bash
dotnet add package ModelContextProtocol --prerelease

Troubleshooting

Common Issues

Issue: Package not found Solution: Check your NuGet source settings and verify your internet connection.