<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/scaling-organizational-knowledge-in-kiro-with-amazon-bedrock-knowledge-bases-langchain-and-mcp-51ez7vf5z" -->

---
title: Scaling organizational knowledge in Kiro with Amazon...
description: A tutorial showing how to connect Amazon Bedrock Knowledge Bases to the Kiro agentic IDE via the Model Context Protocol (MCP), enabling developers to query...
canonical: https://daily.dev/posts/scaling-organizational-knowledge-in-kiro-with-amazon-bedrock-knowledge-bases-langchain-and-mcp-51ez7vf5z
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Scaling organizational knowledge in Kiro with Amazon Bedrock Knowledge Bases, LangChain, and MCP | daily.dev
og:description: A tutorial showing how to connect Amazon Bedrock Knowledge Bases to the Kiro agentic IDE via the Model Context Protocol (MCP), enabling developers to query...
og:url: https://daily.dev/posts/scaling-organizational-knowledge-in-kiro-with-amazon-bedrock-knowledge-bases-langchain-and-mcp-51ez7vf5z
og:image: https://api.daily.dev/og/posts/51EZ7VF5Z.png
og:image:alt: Scaling organizational knowledge in Kiro with Amazon Bedrock Knowledge Bases, LangChain, and MCP
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Scaling organizational knowledge in Kiro with Amazon Bedrock Knowledge Bases, LangChain, and MCP

**[AWS](https://daily.dev/sources/aws)** · 13 min read · 1 upvotes · 0 comments

## Summary

A tutorial showing how to connect Amazon Bedrock Knowledge Bases to the Kiro agentic IDE via the Model Context Protocol (MCP), enabling developers to query organizational documentation (ADRs, API specs, runbooks, coding standards) directly from their editor without context switching. The integration uses the awslabs bedrock-kb-retrieval-mcp-server, which translates natural language queries into vector search operations against OpenSearch Serverless and returns cited answers in-editor. Two paths are covered: tagging an existing Knowledge Base with mcp-multirag-kb=true for instant connection, or deploying fresh infrastructure via an AWS CDK sample repo. A LangChain alternative is also described for provider portability. The same MCP config works for Kiro CLI, enabling headless Knowledge Base queries in CI/CD pipelines for automated compliance checks.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://aws.amazon.com/blogs/devops/scaling-organizational-knowledge-in-kiro-with-amazon-bedrock-knowledge-bases-langchain-and-mcp>

## Questions this post answers

### How do I connect an existing Amazon Bedrock Knowledge Base to the Kiro IDE?

Tag the Knowledge Base with mcp-multirag-kb=true so the awslabs.bedrock-kb-retrieval-mcp-server can auto-discover it, then add an MCP server configuration to .kiro/settings/mcp.json using the uvx command to run the server without permanent installation. After restarting Kiro, it discovers tagged Knowledge Bases automatically and you can query them from the editor.

_daily.dev helps engineers tracking AWS Bedrock and Kiro integration patterns stay on top of new MCP tooling._

### What is the difference between using the official Bedrock MCP server and the LangChain alternative for Kiro?

The official awslabs.bedrock-kb-retrieval-mcp-server only handles retrieval, calling Bedrock's Retrieve API and letting Kiro's own LLM generate the final answer, which is simplest for most use cases. The LangChain alternative offers server-side RAG with relevance filtering, custom LCEL chain composition, and provider portability, letting you swap between Bedrock, OpenAI, or local models. Both can run simultaneously, with Kiro choosing the right tool per query.

_Developers weighing retrieval architectures for AI coding assistants can compare approaches like these on daily.dev._

### What AWS permissions are needed to query an Amazon Bedrock Knowledge Base from an MCP server?

AWS CLI v2 must be configured with credentials that include bedrock:Retrieve permissions, since the MCP server runs as a local process and inherits the same permissions as the AWS_PROFILE specified in its configuration. For production Knowledge Bases, use a least-privilege profile scoped to bedrock:Retrieve for read-only queries rather than broad permissions.

_Teams setting up secure AI tooling access can find practical permission guidance like this on daily.dev._

## Similar posts on daily.dev

- [Introducing Amazon Bedrock Managed Knowledge Base for faster, more accurate enterprise AI applications](https://daily.dev/posts/introducing-amazon-bedrock-managed-knowledge-base-for-faster-more-accurate-enterprise-ai-applicatio-lfogbfa0k) · AWS · 0 upvotes · 0 comments
- [Teaching Kiro new tricks with agent steering and MCP](https://daily.dev/posts/teaching-kiro-new-tricks-with-agent-steering-and-mcp-xhv2yuzd6) · Kiro · 0 upvotes · 0 comments
- [Amazon RDS log analysis: natural language queries with Kiro and MCP](https://daily.dev/posts/amazon-rds-log-analysis-natural-language-queries-with-kiro-and-mcp-kezhdppcz) · AWS Database Blog · 0 upvotes · 0 comments
- [AWS re:Invent: Kiro, Docker Sandboxes & MCP Catalog](https://daily.dev/posts/aws-re-invent-kiro-docker-sandboxes-mcp-catalog-fmmdstyha) · Docker · 1 upvotes · 0 comments
- [AWS aims to take the pain out of RAG with Bedrock Managed Knowledge Base](https://daily.dev/posts/aws-aims-to-take-the-pain-out-of-rag-with-bedrock-managed-knowledge-base-5adnuuplz) · InfoWorld · 2 upvotes · 0 comments

---

Tags: [#mcp](https://daily.dev/tags/mcp), [#rag](https://daily.dev/tags/rag), [#langchain](https://daily.dev/tags/langchain), [#amazon-bedrock](https://daily.dev/tags/amazon-bedrock), [#kiro](https://daily.dev/tags/kiro)

[View this post on daily.dev](https://daily.dev/posts/scaling-organizational-knowledge-in-kiro-with-amazon-bedrock-knowledge-bases-langchain-and-mcp-51ez7vf5z)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Scaling organizational knowledge in Kiro with Amazon Bedrock Knowledge Bases, LangChain, and MCP","url":"https://daily.dev/posts/scaling-organizational-knowledge-in-kiro-with-amazon-bedrock-knowledge-bases-langchain-and-mcp-51ez7vf5z","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/scaling-organizational-knowledge-in-kiro-with-amazon-bedrock-knowledge-bases-langchain-and-mcp-51ez7vf5z"},"datePublished":"2026-08-10T11:25:29.760Z","dateModified":"2026-09-13T19:31:25.521Z","description":"A tutorial showing how to connect Amazon Bedrock Knowledge Bases to the Kiro agentic IDE via the Model Context Protocol (MCP), enabling developers to query...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/fd57552cecfecbb5f653b0571108e225?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/fd57552cecfecbb5f653b0571108e225?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"AWS","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"AWS","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/aws","url":"https://daily.dev/sources/aws"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/scaling-organizational-knowledge-in-kiro-with-amazon-bedrock-knowledge-bases-langchain-and-mcp-51ez7vf5z","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"mcp,rag,langchain,amazon-bedrock,kiro","timeRequired":"PT13M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"AWS","item":"https://daily.dev/sources/aws"},{"@type":"ListItem","position":3,"name":"Scaling organizational knowledge in Kiro with Amazon Bedrock Knowledge Bases, LangChain, and MCP"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/scaling-organizational-knowledge-in-kiro-with-amazon-bedrock-knowledge-bases-langchain-and-mcp-51ez7vf5z#faq","mainEntity":[{"@type":"Question","name":"How do I connect an existing Amazon Bedrock Knowledge Base to the Kiro IDE?","acceptedAnswer":{"@type":"Answer","text":"Tag the Knowledge Base with mcp-multirag-kb=true so the awslabs.bedrock-kb-retrieval-mcp-server can auto-discover it, then add an MCP server configuration to .kiro/settings/mcp.json using the uvx command to run the server without permanent installation. After restarting Kiro, it discovers tagged Knowledge Bases automatically and you can query them from the editor. daily.dev helps engineers tracking AWS Bedrock and Kiro integration patterns stay on top of new MCP tooling."}},{"@type":"Question","name":"What is the difference between using the official Bedrock MCP server and the LangChain alternative for Kiro?","acceptedAnswer":{"@type":"Answer","text":"The official awslabs.bedrock-kb-retrieval-mcp-server only handles retrieval, calling Bedrock's Retrieve API and letting Kiro's own LLM generate the final answer, which is simplest for most use cases. The LangChain alternative offers server-side RAG with relevance filtering, custom LCEL chain composition, and provider portability, letting you swap between Bedrock, OpenAI, or local models. Both can run simultaneously, with Kiro choosing the right tool per query. Developers weighing retrieval architectures for AI coding assistants can compare approaches like these on daily.dev."}},{"@type":"Question","name":"What AWS permissions are needed to query an Amazon Bedrock Knowledge Base from an MCP server?","acceptedAnswer":{"@type":"Answer","text":"AWS CLI v2 must be configured with credentials that include bedrock:Retrieve permissions, since the MCP server runs as a local process and inherits the same permissions as the AWS_PROFILE specified in its configuration. For production Knowledge Bases, use a least-privilege profile scoped to bedrock:Retrieve for read-only queries rather than broad permissions. Teams setting up secure AI tooling access can find practical permission guidance like this on daily.dev."}}]}
```

