Add Standalone MCP ASP.NET Core Server
- تکمیل Program و Startup و ثبت سرویسهای پایه، configuration، CORS، Swagger و احراز هویت/مجوز. - افزودن McpController و StartupController. - افزودن DI و ابزار XEchoTools. - بهروزرسانی appsettings، launchSettings و xAiMcpServer.csproj. - حذف appsettings.Development.json از وضعیت کاری فعلی.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using xCommons.Providers;
|
||||
using xAiService.Interfaces;
|
||||
using xAiService.Controllers;
|
||||
using xCommons.Configurations;
|
||||
using xIdentityService.Interfaces;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace xAiMcpServer.Controllers
|
||||
{
|
||||
public class McpController : XAiMcpControllerBase
|
||||
{
|
||||
public McpController(
|
||||
IXAiMcpHandler mcpHandler,
|
||||
ILogger<McpController> logger,
|
||||
XAppConfiguration appConfiguration,
|
||||
IXIdentityProvider identityProvider,
|
||||
XValidationProvider validationProvider
|
||||
) : base(mcpHandler, appConfiguration, identityProvider, logger, validationProvider)
|
||||
{ }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user