▌BestMCPTools.org
AWS KB Retrieval MCP logo

AWS KB Retrieval MCP

Archived reference server for Bedrock Knowledge Base retrieval

APIs & DataOpen SourceClaude DesktopVS CodeCursorMedium

Last verified: November 24, 2026

Own AWS KB Retrieval MCP? Boost it to the top.✦ Upgrade to Featured

Maintenance status

Archived
License: MITChecked November 24, 2026

Archived by the owner on May 29, 2025 and read-only (modelcontextprotocol/servers-archived, checked November 24, 2026). README says no security updates or bug fixes will be provided. Maintained alternative: awslabs/mcp (Apache-2.0, not archived).

How to Install AWS KB Retrieval MCP

$npx -y @modelcontextprotocol/server-aws-kb-retrieval

Compatible with: Claude Desktop, VS Code, Cursor.

Setup by client

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "aws-kb-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-aws-kb-retrieval"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "aws-kb-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-aws-kb-retrieval"
      ]
    }
  }
}

VS Code (.vscode/mcp.json)

{
  "servers": {
    "aws-kb-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-aws-kb-retrieval"
      ]
    }
  }
}

Claude Code (terminal)

claude mcp add aws-kb-mcp -- npx -y @modelcontextprotocol/server-aws-kb-retrieval

Add any API keys or environment variables the server's README lists.

About AWS KB Retrieval MCP

AWS KB Retrieval MCP is the reference MCP server that the Model Context Protocol project once published for querying Amazon Bedrock Knowledge Bases. It has one tool, retrieve_from_aws_kb, which takes a query and a knowledge base ID and returns the top matching passages. The code now lives in the modelcontextprotocol/servers-archived repository, which the owner archived on May 29, 2025, so this is a legacy reference server, not a maintained product. If you want Bedrock Knowledge Bases in an assistant today, AWS Labs publishes an actively maintained Bedrock Knowledge Bases Retrieval MCP server, and AWS also documents a managed AWS MCP Server inside its Agent Toolkit.

Quick facts (as of November 24, 2026)

AWS KB Retrieval MCP
MakerModel Context Protocol project (reference server)
StatusArchived and read-only since May 29, 2025; the README says no security guarantees are provided
TypeLocal stdio server, run with npx or Docker
Tools1: retrieve_from_aws_kb
AuthAWS access key, secret key and region as environment variables
LicenseMIT
PriceFree to run; AWS charges for Bedrock use under your account
Maintained alternativeBedrock Knowledge Bases Retrieval MCP server in the awslabs/mcp repository (Apache-2.0)

What it is

The server wraps the Bedrock Agent Runtime retrieval call so an MCP client can ask a question against a knowledge base you already have in AWS. The README describes it as retrieval from an AWS Knowledge Base, and says the credentials you supply need permissions for Bedrock Agent Runtime operations. The README describes only retrieval operations, and documents no answer generation.

The archived repository's README lists "AWS KB Retrieval" among servers kept for historical reference. It states that no security updates or bug fixes will be provided and points users to the active servers repository. That is the honest summary: it may still run, but nobody is maintaining it.

Tools and capabilities

The archived README documents a single tool.

ToolParameterTypeRequiredNotes
retrieve_from_aws_kbquerystringYesThe search query
knowledgeBaseIdstringYesID of the AWS Knowledge Base
nnumberNoNumber of results, default 3

There is no tool to list knowledge bases, filter by data source, rerank, or synthesize an answer. You must already know the knowledge base ID.

Setup for Claude, Cursor and other clients

These configurations come from the archived README. Replace the placeholder values with your own.

NPX (Claude Desktop config)

{
  "mcpServers": {
    "aws-kb-retrieval": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-aws-kb-retrieval"],
      "env": {
        "AWS_ACCESS_KEY_ID": "YOUR_ACCESS_KEY_HERE",
        "AWS_SECRET_ACCESS_KEY": "YOUR_SECRET_ACCESS_KEY_HERE",
        "AWS_REGION": "YOUR_AWS_REGION_HERE"
      }
    }
  }
}

Docker (Claude Desktop config)

{
  "mcpServers": {
    "aws-kb-retrieval": {
      "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": "YOUR_ACCESS_KEY_HERE",
        "AWS_SECRET_ACCESS_KEY": "YOUR_SECRET_ACCESS_KEY_HERE",
        "AWS_REGION": "YOUR_AWS_REGION_HERE"
      }
    }
  }
}

The README also gives VS Code variants that prompt for the key, secret and region through inputs, using the same npx or docker commands. It documents no Cursor-specific steps, but the same command and environment variables are what any stdio-capable client needs. The README builds the Docker image as mcp/aws-kb-retrieval and runs mcp/aws-kb-retrieval-server, so keep the tag consistent if you build it yourself.

Authentication

The server reads AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and AWS_REGION from its environment. The README says those credentials need permissions for Bedrock Agent Runtime operations. It describes no AWS profile support, no session token handling and no per-user access control. Putting long-lived access keys into a client config file is a security trade-off worth weighing, especially for software that is no longer maintained.

Limits and things to watch

  • Archived. The repository is read-only. The README says no security updates or bug fixes will be provided.
  • Thin feature set. One retrieval tool, default 3 results, no listing, filtering or reranking.
  • Static keys. Credentials are passed as environment variables in the client config.
  • README inconsistencies. The Docker build and run image names differ, and the VS Code Docker example omits the -e flags used in the Claude Desktop example, so credentials may not reach the container there.
  • No numeric limits. The README states no rate or size limits. Bedrock itself applies quotas; the Retrieve API reference lists throttling and quota errors but does not give numbers.

The maintained path: AWS options

AWS Labs Bedrock Knowledge Bases Retrieval MCP server. The AWS Labs documentation page describes a server that lists knowledge bases, queries them in natural language with citations, supports data-source filtering, optional reranking, and ACL-aware retrieval when you pass user_id. Its tools are ListKnowledgeBases, QueryKnowledgeBases and AgenticQueryKnowledgeBases. It runs with uvx awslabs.bedrock-kb-retrieval-mcp-server@latest, uses an AWS_PROFILE and AWS_REGION, and by default looks for knowledge bases tagged with key mcp-multirag-kb and value true. Reranking needs extra IAM permissions (bedrock:Rerank and bedrock:InvokeModel) and model access in your region, and agentic retrieval works with managed knowledge bases only. The awslabs/mcp repository page shows no archive notice and lists an Apache-2.0 license.

Agent Toolkit for AWS. The awslabs/mcp README calls the Agent Toolkit the successor to the MCP servers, plugins and skills available on AWS Labs, and says the most useful projects there will eventually move into the toolkit. AWS documents the toolkit as having four components: a managed AWS MCP Server, agent skills, plugins for Claude Code, Codex and Devin, and rules files. Documentation search needs no authentication; API calls, sandboxed Python scripts and skills use your IAM credentials. See also the existing AWS MCP Server listing.

Calling Bedrock directly. If you build your own tool, the Bedrock Agent Runtime Retrieve API (POST /knowledgebases/{knowledgeBaseId}/retrieve) takes a retrievalQuery, optional retrievalConfiguration and optional userContext, and returns retrievalResults with content, location, metadata and score.

Pricing

As of November 2026, the archived server itself is free and MIT licensed. The AWS bill is separate. AWS's Bedrock pricing page lists these Knowledge Bases prices for managed knowledge bases: index storage at $5.00 per GB of raw data per month, standard retrieval (Retrieve API) at $1.00 per 1,000 API calls, and agentic retrieval at $4.00 per 1,000 Agentic Retrieve API calls plus $1.00 per 1,000 underlying Retrieve calls. Managed parsing, managed embeddings and managed reranking are listed at $0. The page says self-managed knowledge bases and rerank models are charged per request or query, so check it for your setup. AWS says the Agent Toolkit has no additional charge, with standard pricing for the resources your agent uses.

Pros and cons

Pros

  • Very small and simple: one tool, one knowledge base ID.
  • MIT licensed, so you can fork it.
  • Works for a quick look at retrieval from an existing Bedrock knowledge base.

Cons

  • Archived, with no security fixes promised.
  • No knowledge base discovery, filtering, reranking or access control.
  • Static access keys in the client config.
  • Maintained AWS options now cover more.

Who it is for

A reasonable fit if:

  • You want to read or fork a minimal reference implementation of Bedrock retrieval over MCP.
  • You have an existing pinned setup and accept the risk of unmaintained code.

Not the right tool if:

  • You are starting fresh. Use the AWS Labs Bedrock Knowledge Bases Retrieval server or the AWS MCP Server above.
  • You need a vendor-neutral memory store. See Memory MCP.

Alternatives

Within this directory, AWS MCP Server covers the broader AWS option, and Memory MCP is a different approach to giving an assistant persistent context. The AWS Labs Bedrock Knowledge Bases Retrieval server described above is the closest maintained equivalent, but we have no separate listing for it.

What we don't know

  • Last release and push date. The archived repository page showed no last commit date, so we do not state one.
  • Whether the npm package or Docker image still install. We did not check registry status.
  • Full parameters of the AWS Labs tools. The documentation page lists tool names and a few parameters but not complete schemas.
  • AWS Labs release cadence. The page shows no version or changelog.
  • Whether the toolkit's managed AWS MCP Server can query Bedrock Knowledge Bases. The pages we read do not say.
  • Behavior in practice. This page is based on documentation only.

How this page was put together

On November 24, 2026 we read the archived repository's README (through its raw file), the repository front page for its archive notice, the AWS Labs Bedrock Knowledge Bases Retrieval documentation page, the awslabs/mcp repository page, AWS's Agent Toolkit documentation, the Bedrock Retrieve API reference and the Bedrock pricing page, and compared them. We did not run any of these servers.

Sources

Pricing

Open Source: from Free to run (MIT, archived); AWS Bedrock usage billed separately, e.g. managed Retrieve API $1.00 per 1,000 calls (as of November 2026)

Our Take on AWS KB Retrieval MCP

Fine to read or fork as a minimal example, but archived with no security fixes promised. For new work, use the AWS Labs Bedrock Knowledge Bases Retrieval server or the AWS MCP Server.

Alternatives to AWS KB Retrieval MCP

Memory MCPAI & LLM

server-memory: local knowledge graph memory for Claude and other MCP clients

View Memory MCP →
AWS MCP ServerDeveloper Tools

AWS's managed MCP server for AWS docs, skills and IAM-controlled API calls

View AWS MCP Server →

Frequently Asked Questions

Tags