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:
+34
-2
@@ -1,10 +1,42 @@
|
||||
{
|
||||
"Version": "0.1",
|
||||
"Name": "xAiMcpServer",
|
||||
"DefaultLanguage": "fa-IR",
|
||||
"XPoweredValue": "SaherElmITCenter",
|
||||
"WelcomeMessage": "Welcome to xSaherElm Project's AI Mcp Server",
|
||||
"SwaggerConfiguration": {
|
||||
"Version": "v1.0",
|
||||
"Title": "xSaherElm AI Mcp Server",
|
||||
"Description": "Complete AI Mcp Server Documentation",
|
||||
"Contact": {
|
||||
"Name": "Hadi Khazaee Asl",
|
||||
"Email": "hadi_khazaee_asl@yahoo.com",
|
||||
"Url": "https://www.saherelm.ir"
|
||||
}
|
||||
},
|
||||
"AllowedOrigins": [
|
||||
"http://localhost:6000",
|
||||
"https://localhost:6001",
|
||||
"http://api.saherelm.ir",
|
||||
"https://api.saherelm.ir",
|
||||
"http://api.saherelmhub.ir",
|
||||
"https://api.saherelmhub.ir"
|
||||
],
|
||||
"IdentityServiceConfiguration": {
|
||||
"Authority": "https://localhost:4001",
|
||||
"ApiName": "xSaherElmAPI",
|
||||
"ApiSecret": "s@H@1694056",
|
||||
"ClientId": "xSaherElmAPIClient",
|
||||
"ClientSecret": "s@H@1694056",
|
||||
"XPoweredValue": "SaherElmITCenter",
|
||||
"XRevisionSecretKey": "SaherElmITCenter@1694056",
|
||||
"DefaultClientTimeout": -1
|
||||
},
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft": "Warning",
|
||||
"Microsoft.Hosting.Lifetime": "Information"
|
||||
}
|
||||
},
|
||||
"AllowedHosts": "*"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user