{ "openapi": "3.0.1", "info": { "title": "xSaherElm AI Mcp Server", "description": "Complete AI Mcp Server Documentation", "contact": { "name": "Hadi Khazaee Asl", "url": "https://www.saherelm.ir", "email": "hadi_khazaee_asl@yahoo.com" }, "version": "v1.0" }, "servers": [ { "url": "https://localhost:7001" } ], "paths": { "/mcp": { "post": { "tags": [ "Mcp" ], "summary": "Handle MCP ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "requestBody": { "description": "", "content": { "application/json-patch+json": { "schema": { "type": "object", "additionalProperties": { "$ref": "#/components/schemas/JToken" } } }, "application/json": { "schema": { "type": "object", "additionalProperties": { "$ref": "#/components/schemas/JToken" } } }, "text/json": { "schema": { "type": "object", "additionalProperties": { "$ref": "#/components/schemas/JToken" } } }, "application/*+json": { "schema": { "type": "object", "additionalProperties": { "$ref": "#/components/schemas/JToken" } } } } }, "responses": { "200": { "description": "Success" } } } }, "/mcp/sse": { "get": { "tags": [ "Mcp" ], "summary": "Handle SSE EndPoint ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success" } } } }, "/mcp/Test/Hi": { "get": { "tags": [ "Mcp" ], "summary": "Check the Controller Up and Running", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success" } } } }, "/mcp/Test/PassRequireXPowered": { "get": { "tags": [ "Mcp" ], "summary": "Check Controller ByPass XPowered Filter", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success" } } } }, "/": { "get": { "tags": [ "Startup" ], "summary": "Show Configured Welcome Message", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/Test/Hi": { "get": { "tags": [ "Startup" ], "summary": "Check the Controller Up and Running", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success" } } } }, "/Test/PassRequireXPowered": { "get": { "tags": [ "Startup" ], "summary": "Check Controller ByPass XPowered Filter", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success" } } } }, "/TestIdentity/PassReadAccess": { "get": { "tags": [ "TestIdentity" ], "summary": "API Read Scope ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/TestIdentity/PassWriteAccess": { "get": { "tags": [ "TestIdentity" ], "summary": "API Write Scope ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/TestIdentity/PassAdminAccess": { "get": { "tags": [ "TestIdentity" ], "summary": "API Admin Scope ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/TestIdentity/PassManageAccess": { "get": { "tags": [ "TestIdentity" ], "summary": "API Manage Scope ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/TestIdentity/HiClaims": { "get": { "tags": [ "TestIdentity" ], "summary": "a simple Action which returns a List of Authenticated User Claims ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/TestIdentity/HiUser": { "get": { "tags": [ "TestIdentity" ], "summary": "a simple Hello User for Checking Authentication and Policy ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/TestIdentity/HiEnabledUser": { "get": { "tags": [ "TestIdentity" ], "summary": "a simple Hello User for Checking Authentication and Policy ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/TestIdentity/HiAgent": { "get": { "tags": [ "TestIdentity" ], "summary": "a simple Hello User for Checking Authentication and Policy ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/TestIdentity/HiEnabledAgent": { "get": { "tags": [ "TestIdentity" ], "summary": "a simple Hello User for Checking Authentication and Policy ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/TestIdentity/HiAdmin": { "get": { "tags": [ "TestIdentity" ], "summary": "a simple Hello User for Checking Authentication and Policy ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/TestIdentity/HiEnabledAdmin": { "get": { "tags": [ "TestIdentity" ], "summary": "a simple Hello User for Checking Authentication and Policy ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/TestIdentity/HiApiKeyAccess": { "get": { "tags": [ "TestIdentity" ], "summary": "a simple Hello for Accessing ApiKey Authorization ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/TestIdentity/HiApiKeyReadAccess": { "get": { "tags": [ "TestIdentity" ], "summary": "a simple Hello for Accessing ApiKey Read Access ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/TestIdentity/HiApiKeyWriteAccess": { "get": { "tags": [ "TestIdentity" ], "summary": "a simple Hello for Accessing ApiKey Write Access ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/TestIdentity/HiApiKeyManageAccess": { "get": { "tags": [ "TestIdentity" ], "summary": "a simple Hello for Accessing ApiKey Manage Access ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/TestIdentity/HiApiKeyAdminAccess": { "get": { "tags": [ "TestIdentity" ], "summary": "a simple Hello for Accessing ApiKey Admin Access ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/TestIdentity/Test/Hi": { "get": { "tags": [ "TestIdentity" ], "summary": "Check the Controller Up and Running", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success" } } } }, "/TestIdentity/Test/PassRequireXPowered": { "get": { "tags": [ "TestIdentity" ], "summary": "Check Controller ByPass XPowered Filter", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success" } } } } }, "components": { "schemas": { "JToken": { "type": "array", "items": { "$ref": "#/components/schemas/JToken" } } }, "securitySchemes": { "AccessToken": { "type": "apiKey", "description": "Bearer token", "name": "Authorization", "in": "header" }, "RefreshToken": { "type": "apiKey", "description": "Refresh Token", "name": "refresh_token", "in": "header" }, "ExpiresAt": { "type": "apiKey", "description": "Expires at", "name": "expires_at", "in": "header" }, "XApiKey": { "type": "apiKey", "description": "Api Key for Authentication ...", "name": "X-Api-Key", "in": "header" } } }, "security": [ { "AccessToken": [ ] }, { "RefreshToken": [ ] }, { "ExpiresAt": [ ] }, { "XApiKey": [ ] } ] }