AWS Knowledge Base Retrieval MCP Server logo

AWS Knowledge Base Retrieval MCP Server

by modelcontextprotocol

An MCP server implementation for retrieving information from the AWS Knowledge Base using the Bedrock Agent Runtime. It enables Retrieval-Augmented Generation (RAG) by fetching context from the AWS Knowledge Base based on a query and Knowledge Base ID.

View on GitHub

Last updated: N/A

What is AWS Knowledge Base Retrieval MCP Server?

This server is an MCP (Model Context Protocol) server designed to retrieve information from an AWS Knowledge Base using the Bedrock Agent Runtime. It facilitates RAG (Retrieval-Augmented Generation) by connecting a language model to an AWS Knowledge Base.

How to use AWS Knowledge Base Retrieval MCP Server?

To use this server, configure your AWS credentials (access key ID, secret access key, and region) with appropriate permissions for Bedrock Agent Runtime operations. Then, integrate the server into your claude_desktop_config.json using either Docker or npx, providing the necessary environment variables for AWS authentication. The server exposes a 'retrieve_from_aws_kb' tool that accepts a query and knowledgeBaseId as input.

Key features of AWS Knowledge Base Retrieval MCP Server

  • RAG (Retrieval-Augmented Generation)

  • Supports multiple results retrieval

  • Uses AWS Knowledge Base

  • Integration with Bedrock Agent Runtime

Use cases of AWS Knowledge Base Retrieval MCP Server

  • Question Answering

  • Document Summarization

  • Chatbot Knowledge Enhancement

  • Contextual Information Retrieval

FAQ from AWS Knowledge Base Retrieval MCP Server

What is the purpose of this server?

This server retrieves information from an AWS Knowledge Base to enhance language model capabilities through RAG.

What AWS services are required?

AWS Knowledge Base and Bedrock Agent Runtime are required.

How do I configure AWS credentials?

Provide your AWS access key ID, secret access key, and region as environment variables.

What is the 'retrieve_from_aws_kb' tool?

This tool performs retrieval operations using the AWS Knowledge Base, taking a query and knowledgeBaseId as input.

What license is this server under?

This server is licensed under the MIT License.