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
A C# SDK implementation of the Model Context Protocol (MCP), enabling seamless integration between AI models and development environments.
6
-
7
-
## Overview
8
-
9
-
ModelContextProtocol.NET is a native .NET implementation of the Model Context Protocol, designed to facilitate communication between AI models and development environments. This SDK provides a robust foundation for building AI-powered tools and applications in the .NET ecosystem.
5
+
A C# SDK implementation of the Model Context Protocol (MCP).
10
6
11
7
## Features
12
8
@@ -25,59 +21,77 @@ ModelContextProtocol.NET is a native .NET implementation of the Model Context Pr
25
21
26
22
## Demo
27
23
28
-
The repository includes a fully functional calculator demo that showcases the basic capabilities of the MCP implementation. This demo serves as a practical example of how to integrate and use the protocol in your applications.
29
-
30
-
## Technical Details
31
-
32
-
### Architecture
33
-
34
-
The project is structured into multiple components:
35
-
36
-
-**Core Library**: Contains the fundamental protocol implementation
37
-
-**Server Components**: Handles communication and request processing
38
-
-**Demo Implementation**: Provides a working example with a calculator application
39
-
40
-
### Key Benefits
41
-
42
-
-**Native AOT Support**: Fully compatible with .NET Native AOT compilation for optimal performance
43
-
-**Modular Design**: Clean separation of concerns allowing for flexible implementation
44
-
-**Standard Compliance**: Implements the Model Context Protocol specification
24
+
See `src/ModelContextProtocol.NET.Demo.Calculator` for a fully functional calculator demo that covers:
25
+
- Logging setup
26
+
- Tool handler implementation
27
+
- Request/response handling
28
+
- Error management
45
29
46
30
## Getting Started
47
31
48
32
Install [the server package](https://www.nuget.org/packages/ModelContextProtocol.NET.Server):
0 commit comments