Query and retrieve information from AWS knowledge bases using the Bedrock Agent Runtime.
Created byApr 21, 2025
AWS Knowledge Base Retrieval MCP Server
An MCP server implementation for retrieving information from the AWS Knowledge Base using the Bedrock Agent Runtime.
Features
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.
Tools
retrieve_from_aws_kb
Configuration
Setting up AWS Credentials
Obtain AWS access key ID, secret access key, and region from the AWS Management Console.
Ensure these credentials have appropriate permissions for Bedrock Agent Runtime operations.
Usage with Claude Desktop
Add this to your claude_desktop_config.json:
Building
Docker:
License
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
This README assumes that your server package is named @modelcontextprotocol/server-aws-kb-retrieval. Adjust the package name and installation details if they differ in your setup. Also, ensure that your server script is correctly built and that all dependencies are properly managed in your package.json.