MCP server for AWS Knowledge Base retrieval using Bedrock Agent Runtime
MCP server for AWS Knowledge Base retrieval using Bedrock Agent Runtime
Once MCP Aws Kb is connected, these are the calls the assistant has available:
retrieve_from_aws_kb — Perform retrieval operations using the AWS Knowledge BaseInputs — - query (string): The search query for retrievalYou will need 5 environment variables: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN, AWS_REGION, AWS_KB_IDS. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
The server ships on npm as with, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.
retrieve_from_aws_kb — Perform retrieval operations using the AWS Knowledge Base.Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| retrieve_from_aws_kb | Perform retrieval operations using the AWS Knowledge Base. |
| Inputs: | query (string): The search query for retrieval. |
| knowledgeBaseId | string): The ID of the AWS Knowledge Base. |
{
"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.
| Variable | Description | Required |
|---|---|---|
| AWS_ACCESS_KEY_ID | Declared in the maintainer’s client configuration. | Check documentation |
| AWS_SECRET_ACCESS_KEY | Declared in the maintainer’s client configuration. | Check documentation |
| AWS_SESSION_TOKEN | Declared in the maintainer’s client configuration. | Optional |
| AWS_REGION | Declared in the maintainer’s client configuration. | Check documentation |
| AWS_KB_IDS | Declared in the maintainer’s client configuration. | Check documentation |
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Manage your whole Supabase project in conversation — database, auth, storage, Edge Functions and branches.
Payments infrastructure meets AI — customers, invoices, subscriptions and current API docs from Stripe's server.
Stop letting your assistant hallucinate n8n node parameters — this server hands it the real schemas, templates and validation.
AWS Labs' official server suite — current AWS docs, CDK guidance, cost analysis and service tools.
Cloud browsers for AI agents — automation sessions that run in Browserbase's fleet, not on your machine.