AspNetCore
Implements a minimal .NET 9 ASP.NET Core Model Context Protocol (MCP) server, offering API Key and JWT authentication, automatic tool discovery, OpenAPI/Swagger UI, CORS, and example server-side tools for time retrieval.
About
Provides a minimal .NET 9 ASP.NET Core implementation for a Model Context Protocol (MCP) sample server. This robust foundation includes secure API Key and JWT authentication mechanisms, alongside automatic MCP tool discovery, simplifying integration and management. Developers benefit from built-in OpenAPI/Swagger UI for interactive API documentation and testing, comprehensive CORS support, and practical examples of server-side tools, such as time retrieval, to accelerate development.
Key Features
- CORS support
- API Key + JWT authentication
- OpenAPI/Swagger UI
- Example server-side tools for time retrieval
- Automatic MCP tool discovery
- 0 GitHub stars
Use Cases
- Learning and demonstrating MCP server implementation with ASP.NET Core
- Providing a foundational server for custom MCP tool development
- Developing and testing MCP clients