MCPSharp
MCPSharp is a .NET library that helps you build Model Context Protocol (MCP) servers and clients - the standardized API protocol used by AI assistants and models.
File Explorer
Download Latest Version (.zip)- bug_report.md
- feature_request.md
- build.yml
- release.yml
- dependabot.yml
- McpFunctionAttribute.cs
- McpParameterAttribute.cs
- McpResourceAttribute.cs
- McpToolAttribute.cs
- ToolHandler.cs
- ToolManager.cs
- HttpPostStream.cs
- ServerSentEventsService.cs
- SseClient.cs
- DuplexPipe.cs
- MCPClient.cs
- MCPFunction.cs
- MCPServer.cs
- ServerRpcTarget.cs
- ClientCapabilities.cs
- ServerCapabilities.cs
- TextContent.cs
- InitializationParameters.cs
- ToolCallParameters.cs
- CallToolResult.cs
- InitializeResult.cs
- ListToolsResult.cs
- PromptListResult.cs
- ResourcesListResult.cs
- ToolsListResult.cs
- InputSchema.cs
- ParameterSchema.cs
- Implementation.cs
- MetaData.cs
- Tool.cs
- GlobalSuppressions.cs
- icon.png
- MCPSharp.csproj
- XmlDocumentationExtensions.cs
- ComplicatedObject.cs
- MCPDev.cs
- MCPSharp.Example.csproj
- Program.cs
- config.json
- MCPClientPool.cs
- MCPSharp.Example.OllamaChatCLI.csproj
- Program.cs
- ExternalTool.cs
- MCPSharp.Example.Import.csproj
- AIFunctionAbstractionTests.cs
- ClientTests.cs
- GlobalSuppressions.cs
- MCPSharp.Test.csproj
- MSTestSettings.cs
- SSETransportTests.cs
- STDIOTransportTests.cs
- .gitattributes
- .gitignore
- banner.svg
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- LICENSE.txt
- MCPSharp.sln
- README.md
- SECURITY.md
# Installation Guide
1. Get the code
git clone https://github.com/afrise/MCPSharp
Downloads the entire project code from GitHub to your computer.
cd MCPSharp
Moves into the project folder you just downloaded.
2. .NET
Medium RecommendedPrerequisites
dotnet add package MCPSharp
Type this command into your terminal and run it.
After dotnet run, check the message or address shown in the terminal.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
