Labsco
MCP SERVER · OFFICIAL PROJECT

AWS KB Retrieval

by modelcontextprotocol

Queries an AWS Bedrock Knowledge Base by ID and returns the retrieved context.

CloudAnthropic

No longer maintained. Its publisher now ships a current server for the same product. That pointer is ours, not a statement by the archived project. Use

AWS Bedrock KB Retrieval →

The Knowledge Base ID is a tool argument, not a config value, so the model picks which knowledge base to search.

The server retrieves and nothing more: there is no ingestion, no indexing and no write path, so the Knowledge Base has to exist and be populated before it is any use.

What it is

A retrieval server that sits in front of an AWS Knowledge Base through the Bedrock Agent Runtime. It takes a search query and a Knowledge Base ID and returns matching context for retrieval-augmented generation. The number of results per call is adjustable.

What you get

  • Retrieval against an AWS Knowledge Base via the Bedrock Agent Runtime
  • Adjustable result count, defaulting to 3

Requirements

An AWS account with an existing Knowledge Base, and an access key ID, secret access key and region taken from the AWS Management Console. The credentials must have permissions for Bedrock Agent Runtime operations. Three environment variables are set in the client config: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and AWS_REGION.

Setup effort

One command plus a key — npx -y @modelcontextprotocol/server-aws-kb-retrieval, then supply credentials