Files
xAiMcpServer/appsettings.json
2026-11-15 21:26:29 +03:30

91 lines
2.4 KiB
JSON

{
"Version": "0.1",
"Name": "xAiMcpServer",
"DefaultLanguage": "fa-IR",
"XPoweredValue": "SaherElmITCenter",
"WelcomeMessage": "Welcome to xSaherElm Project's AI Mcp Server",
"DefaultCacheTtlMinutes": 10,
"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
},
"LinkExtractionToolConfiguration": {
"MaxLinks": 5,
"MaxChars": 8000
},
"WebSearchToolConfiguration": {
"Region": "wt-wt",
"TimeoutSeconds": 20,
"DefaultMaxResults": 5,
"CacheTtlSeconds": 600,
"EnableLiteFallback": true,
"MinDelayMilliseconds": 1000,
"HtmlEndpoint": "https://html.duckduckgo.com/html/",
"LiteEndpoint": "https://lite.duckduckgo.com/lite/"
},
"LoggingServiceConfiguration": {
"Enabled": true,
"MinimumLevel": "Information",
"Queue": {
"Enabled": true,
"Capacity": 10000,
"ShutdownTimeoutSeconds": 10
},
"File": {
"Enabled": true,
"Format": "Json",
"Directory": "./Logs",
"RetainedFileCountLimit": 30,
"MinimumLevel": "Information",
"FileName": "xAiMcpServer-.log"
},
"Database": {
"Enabled": false,
"TableName": "XLogs",
"AutoCreateTable": true,
"MinimumLevel": "Warning",
"Provider": "Microsoft.Data.Sqlite",
"ConnectionString": "Filename=./Db/XLogs.db"
},
"Event": {
"Enabled": false,
"MinimumLevel": "Error",
"Sender": "xAiMcpServer",
"Topic": "application-logs",
"Action": "ApplicationLogCreated"
}
},
"Logging": {
"LogLevel": {
"Microsoft": "Warning",
"Default": "Information",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*"
}