{
  "Configuration": {
    "serverInfo": {
      "name": "Akumina MCP Gateway",
      "version": "1.0.0",
      "protocolVersion": "2024-11-05"
    },
    "tools": [
      {
        "name": "search_documents",
        "description": "Search for documents in the knowledge base using semantic search",
        "inputSchema": {
          "type": "object",
          "properties": {
            "query": {
              "type": "string",
              "description": "The search query"
            },
            "maxResults": {
              "type": "integer",
              "description": "Maximum number of results to return",
              "default": 10
            }
          },
          "required": ["query"]
        },
        "backendEndpoint": "https://your-api.azurewebsites.net/api/chat/search",
        "httpMethod": "POST",
        "forwardAuthorization": true,
        "additionalHeaders": {
          "X-Tenant-Id": "tenant1"
        }
      },
      {
        "name": "get_user_profile",
        "description": "Get the current user's profile information",
        "inputSchema": {
          "type": "object",
          "properties": {},
          "required": []
        },
        "backendEndpoint": "https://your-api.azurewebsites.net/api/users/profile",
        "httpMethod": "GET",
        "forwardAuthorization": true,
        "additionalHeaders": {}
      },
      {
        "name": "send_email",
        "description": "Send an email to specified recipients",
        "inputSchema": {
          "type": "object",
          "properties": {
            "to": {
              "type": "array",
              "items": { "type": "string" },
              "description": "List of email recipients"
            },
            "subject": {
              "type": "string",
              "description": "Email subject"
            },
            "body": {
              "type": "string",
              "description": "Email body content"
            }
          },
          "required": ["to", "subject", "body"]
        },
        "backendEndpoint": "https://your-api.azurewebsites.net/api/email/send",
        "httpMethod": "POST",
        "forwardAuthorization": true,
        "additionalHeaders": {}
      }
    ],
    "resources": [
      {
        "uri": "akumina://config/tenant",
        "name": "Tenant Configuration",
        "description": "Current tenant configuration settings",
        "mimeType": "application/json",
        "backendEndpoint": "https://your-api.azurewebsites.net/api/tenants/current",
        "forwardAuthorization": true
      },
      {
        "uri": "akumina://knowledge/buckets",
        "name": "Knowledge Buckets",
        "description": "List of available knowledge buckets for search",
        "mimeType": "application/json",
        "backendEndpoint": "https://your-api.azurewebsites.net/api/knowledge/buckets",
        "forwardAuthorization": true
      }
    ],
    "prompts": [
      {
        "name": "summarize_document",
        "description": "Summarize a document from the knowledge base",
        "arguments": [
          {
            "name": "documentId",
            "description": "The ID of the document to summarize",
            "required": true
          },
          {
            "name": "style",
            "description": "Summary style: brief, detailed, or bullet-points",
            "required": false
          }
        ],
        "template": "Please summarize the document with ID {{documentId}}. Style: {{style}}"
      },
      {
        "name": "draft_email",
        "description": "Draft an email based on context",
        "arguments": [
          {
            "name": "recipient",
            "description": "Email recipient name",
            "required": true
          },
          {
            "name": "topic",
            "description": "Email topic or purpose",
            "required": true
          },
          {
            "name": "tone",
            "description": "Desired tone: formal, casual, or friendly",
            "required": false
          }
        ],
        "template": "Draft an email to {{recipient}} about {{topic}}. Tone: {{tone}}"
      }
    ]
  }
}
