javorskyp/MCP-Server
3.1
If you are the rightful owner of MCP-Server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
The Model Context Protocol (MCP) server facilitates communication between a client and server using JSON over standard input/output, with optional SQLite database integration.
MCP-Server
test MCP, sqlLite and client
MCP_Demo_PL - rozwiązanie Visual Studio (.NET 8.0)
Projekt demonstruje komunikację w protokole MCP (Model Context Protocol) pomiędzy serwerem i klientem w języku C#, a także dostęp do bazy SQLite.
Struktura:
- McpServer: prosty serwer MCP (komunikacja JSON przez stdin/stdout)
- McpClient: klient MCP uruchamiający serwer i wysyłający zapytanie
- McpServerDb: serwer MCP z obsługą bazy SQLite (plik mcp.db)
Jak uruchomić:
- Upewnij się, że masz zainstalowany .NET 8.0 SDK.
- Otwórz plik MCP_Demo_PL.sln w Visual Studio lub uruchom z terminala: dotnet build dotnet run --project McpServer
- Aby przetestować klienta: dotnet run --project McpClient
Przykład zapytania dla McpServerDb: { "tool": "get_user", "params": "1" }
Odpowiedź: { "result": { "imie": "Jan Kowalski", "email": "jan@firma.pl" } }