MCP Aws Kb MCP Server

MCP server for AWS Knowledge Base retrieval using Bedrock Agent Runtime

Local serverstdio

What is the MCP Aws Kb MCP Server?

MCP server for AWS Knowledge Base retrieval using Bedrock Agent Runtime

What you get

  • RAG (Retrieval-Augmented Generation) — Retrieve context from the AWS Knowledge Base based on a query and a Knowledge Base ID
  • Supports multiple results retrieval — Option to retrieve a customizable number of results

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
retrieve_from_aws_kbPerform retrieval operations using the AWS Knowledge Base.
Inputs:query (string): The search query for retrieval.

How to install the MCP Aws Kb MCP Server

{
  "mcpServers": {
    "aws-kb-retrieval": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "AWS_ACCESS_KEY_ID",
        "-e",
        "AWS_SECRET_ACCESS_KEY",
        "-e",
        "AWS_REGION",
        "-e",
        "AWS_KB_IDS",
        "mcp/aws-kb-retrieval-server"
      ],
      "env": {
        "AWS_ACCESS_KEY_ID": "YOUR_AWS_ACCESS_KEY_ID",
        "AWS_SECRET_ACCESS_KEY": "YOUR_AWS_SECRET_ACCESS_KEY",
        "AWS_SESSION_TOKEN": "YOUR_AWS_SESSION_TOKEN",
        "AWS_REGION": "YOUR_AWS_REGION_HERE",
        "AWS_KB_IDS": "[\"kb-12345\", \"kb-67890\"]"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
AWS_ACCESS_KEY_IDDeclared in the maintainer’s client configuration.Check documentation
AWS_SECRET_ACCESS_KEYDeclared in the maintainer’s client configuration.Check documentation
AWS_SESSION_TOKENDeclared in the maintainer’s client configuration.Optional
AWS_REGIONDeclared in the maintainer’s client configuration.Check documentation
AWS_KB_IDSDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use MCP Aws Kb to retrieve from aws kb.”
  • “Use MCP Aws Kb to Inputs.”

Frequently asked questions

MCP server for AWS Knowledge Base retrieval using Bedrock Agent Runtime Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.