{
  "name": "aws-kb-retrieval",
  "display_name": "AWS Knowledge Base Retrieval",
  "description": "Retrieval from AWS Knowledge Base using Bedrock Agent Runtime",
  "repository": {
    "type": "git",
    "url": "https://github.com/modelcontextprotocol/servers"
  },
  "homepage": "https://github.com/modelcontextprotocol/servers/blob/main/src/aws-kb-retrieval-server",
  "author": {
    "name": "modelcontextprotocol"
  },
  "license": "MIT",
  "categories": [
    "Knowledge Base"
  ],
  "tags": [
    "Knowledge Base",
    "Retrieval",
    "AWS",
    "Bedrock Agent Runtime"
  ],
  "installations": {
    "npm": {
      "type": "npm",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-aws-kb-retrieval"
      ],
      "env": {
        "AWS_ACCESS_KEY_ID": "${AWS_ACCESS_KEY_ID}",
        "AWS_SECRET_ACCESS_KEY": "${AWS_SECRET_ACCESS_KEY}",
        "AWS_REGION": "${AWS_REGION}"
      }
    },
    "docker": {
      "type": "docker",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "AWS_ACCESS_KEY_ID",
        "-e",
        "AWS_SECRET_ACCESS_KEY",
        "-e",
        "AWS_REGION",
        "mcp/aws-kb-retrieval-server"
      ],
      "env": {
        "AWS_ACCESS_KEY_ID": "${AWS_ACCESS_KEY_ID}",
        "AWS_SECRET_ACCESS_KEY": "${AWS_SECRET_ACCESS_KEY}",
        "AWS_REGION": "${AWS_REGION}"
      }
    }
  },
  "arguments": {
    "AWS_ACCESS_KEY_ID": {
      "description": "The access key ID for your AWS account used for authentication.",
      "required": true,
      "example": "YOUR_ACCESS_KEY_HERE"
    },
    "AWS_SECRET_ACCESS_KEY": {
      "description": "The secret access key for your AWS account used for authentication.",
      "required": true,
      "example": "YOUR_SECRET_ACCESS_KEY_HERE"
    },
    "AWS_REGION": {
      "description": "The AWS region where your resources are located.",
      "required": true,
      "example": "us-east-1"
    }
  },
  "tools": [
    {
      "name": "retrieve_from_aws_kb",
      "description": "Performs retrieval from the AWS Knowledge Base using the provided query and Knowledge Base ID.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "The query to perform retrieval on"
          },
          "knowledgeBaseId": {
            "type": "string",
            "description": "The ID of the AWS Knowledge Base"
          },
          "n": {
            "type": "number",
            "default": 3,
            "description": "Number of results to retrieve"
          }
        },
        "required": [
          "query",
          "knowledgeBaseId"
        ]
      }
    }
  ],
  "is_official": true,
  "is_archived": true,
  "docker_url": "https://hub.docker.com/r/mcp/aws-kb-retrieval-server"
}