This project is a .NET Core Web API implementation of an MCP (Model Context Protocol) server, inspired by the Node.js reference. It provides:
- Diagnostics and status endpoints
- Tool listing and execution endpoints
- Query results listing and retrieval
- Server-Sent Events (SSE) support for real-time communication
- SQL Server database connectivity
- Security middleware (rate limiting, CORS, etc.)
- Extensible architecture for registering tools and resources
- Ensure you have .NET 8.0 SDK or later installed.
- Restore dependencies:
dotnet restore
- Build the project:
dotnet build
- Run the project:
dotnet run
- Database connection and other settings will be managed via
appsettings.jsonand environment variables.
- Implement endpoints and features as described in the Node.js reference.
- See
.github/copilot-instructions.mdfor Copilot guidance.