{"id":76803,"date":"2025-11-19T13:24:40","date_gmt":"2025-11-19T07:54:40","guid":{"rendered":"https:\/\/www.tothenew.com\/blog\/?p=76803"},"modified":"2025-11-21T13:52:42","modified_gmt":"2025-11-21T08:22:42","slug":"enhancing-the-power-of-amazon-q-integrating-open-source-mcp-servers-and-creating-seamless-aws-architectural-diagrams","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/enhancing-the-power-of-amazon-q-integrating-open-source-mcp-servers-and-creating-seamless-aws-architectural-diagrams\/","title":{"rendered":"Enhancing the Power of Amazon Q: Integrating Open-Source MCP Servers and Creating Seamless AWS Architectural Diagrams"},"content":{"rendered":"<h2>Introduction<\/h2>\n<p>In this blog, we will explore how to integrate an open-source MCP server with Amazon Q and unlock its enhanced capabilities, creating seamless architecture diagrams generation.<\/p>\n<p>Take a look at this architectural diagram below &#8211;<\/p>\n<div id=\"attachment_76797\" style=\"width: 956px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-76797\" decoding=\"async\" loading=\"lazy\" class=\" wp-image-76797\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2025\/11\/created-diagram-using-mcp.png\" alt=\"Diagram generated by Amazon Q + MCP\" width=\"946\" height=\"847\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2025\/11\/created-diagram-using-mcp.png 1555w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/created-diagram-using-mcp-300x269.png 300w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/created-diagram-using-mcp-1024x917.png 1024w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/created-diagram-using-mcp-768x687.png 768w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/created-diagram-using-mcp-1536x1375.png 1536w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/created-diagram-using-mcp-624x559.png 624w\" sizes=\"(max-width: 946px) 100vw, 946px\" \/><p id=\"caption-attachment-76797\" class=\"wp-caption-text\">Diagram generated by Amazon Q + MCP<\/p><\/div>\n<p>Isn&#8217;t it amazing?<\/p>\n<p>You will be surprised to know it was not created manually by draw.io or any other diagramming websites rather it was generated in just minutes just by giving simple prompts, using the power of AI (Amazon Q + MCP).<\/p>\n<p>By the end of this BLOG you will be able to create such magical diagrams by writing prompts<br \/>\nBut before that, let\u2019s quickly understand the basics of LLM\u2019s and MCP<\/p>\n<p><strong>LLM (Large Language Model) \u2013<\/strong> Examples include GPT and Amazon Q. These models are trained on massive datasets and can understand, reason, and generate human-like text. They act as the &#8220;brain&#8221; that processes your queries and provides intelligent responses.<\/p>\n<p><strong>MCP (Model Context Protocol) \u2013<\/strong> MCP is an open protocol that allows LLMs to connect with external tools, data sources, and services. Think of it as a bridge. that lets your AI go beyond just text generation and actually interact with APIs, databases, and other systems.<\/p>\n<div id=\"attachment_76820\" style=\"width: 881px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-76820\" decoding=\"async\" loading=\"lazy\" class=\" wp-image-76820\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2025\/11\/mcp-response-diagram-aws.png\" alt=\"mcp-architecture-diagram-aws\" width=\"871\" height=\"352\" \/><p id=\"caption-attachment-76820\" class=\"wp-caption-text\">mcp-architecture-diagram-aws<\/p><\/div>\n<p>When combined, Amazon Q (LLM) + MCP give you a powerful setup \u2014where Amazon Q acts as the intelligent LLM, and MCP extends its capabilities by connecting it with the tools and data you need. Together, they enable faster automation, smarter workflows, and richer integrations.<\/p>\n<p><a href=\"https:\/\/docs.aws.amazon.com\/amazonq\/latest\/qdeveloper-ug\/qdev-mcp.html\"><em>Read More from AWS Official Documentation<\/em><\/a><\/p>\n<p>Let\u2019s get started!<\/p>\n<p>We\u2019ll set up MCP server with Amazon Q and tap into the power of open-source MCP servers\u00a0 to generate stunning architecture diagrams\u00a0 of our AWS infrastructure.<\/p>\n<p>For this setup, we\u2019ll be using an Ubuntu EC2 instance on AWS !<\/p>\n<p><strong>Update the system<\/strong><br \/>\n<em>sudo apt-get update<\/em><\/p>\n<div id=\"attachment_76798\" style=\"width: 929px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-76798\" decoding=\"async\" loading=\"lazy\" class=\" wp-image-76798\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-39-37.png\" alt=\"Update system\" width=\"919\" height=\"552\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-39-37.png 1519w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-39-37-300x180.png 300w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-39-37-1024x615.png 1024w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-39-37-768x462.png 768w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-39-37-624x375.png 624w\" sizes=\"(max-width: 919px) 100vw, 919px\" \/><p id=\"caption-attachment-76798\" class=\"wp-caption-text\">Update system<\/p><\/div>\n<p><strong>Install libfuse<\/strong><br \/>\n<em>sudo apt install libfuse2<\/em><\/p>\n<div id=\"attachment_76799\" style=\"width: 922px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-76799\" decoding=\"async\" loading=\"lazy\" class=\" wp-image-76799\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-40-10.png\" alt=\"Install libfuse2\" width=\"912\" height=\"442\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-40-10.png 1517w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-40-10-300x145.png 300w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-40-10-1024x496.png 1024w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-40-10-768x372.png 768w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-40-10-624x302.png 624w\" sizes=\"(max-width: 912px) 100vw, 912px\" \/><p id=\"caption-attachment-76799\" class=\"wp-caption-text\">Install libfuse2<\/p><\/div>\n<p><strong>Download the Amazon Q Debian package<\/strong><br \/>\n<em>curl &#8211;proto &#8216;=https&#8217; &#8211;tlsv1.2 -sSf https:\/\/desktop-release.q.us-east-1.amazonaws.com\/latest\/amazon-q.deb -o amazon-q.deb<\/em><\/p>\n<div id=\"attachment_76800\" style=\"width: 940px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-76800\" decoding=\"async\" loading=\"lazy\" class=\" wp-image-76800\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-40-39.png\" alt=\"Install AmazonQ\" width=\"930\" height=\"90\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-40-39.png 1818w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-40-39-300x29.png 300w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-40-39-1024x99.png 1024w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-40-39-768x74.png 768w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-40-39-1536x149.png 1536w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-40-39-624x60.png 624w\" sizes=\"(max-width: 930px) 100vw, 930px\" \/><p id=\"caption-attachment-76800\" class=\"wp-caption-text\">Install AmazonQ<\/p><\/div>\n<p><strong>Install Amazon Q<br \/>\n<\/strong><em>sudo apt install -y .\/amazon-q.deb<\/em><\/p>\n<div id=\"attachment_76801\" style=\"width: 950px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-76801\" decoding=\"async\" loading=\"lazy\" class=\" wp-image-76801\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-40-53.png\" alt=\"AmazonQ Installation\" width=\"940\" height=\"307\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-40-53.png 1837w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-40-53-300x98.png 300w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-40-53-1024x334.png 1024w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-40-53-768x251.png 768w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-40-53-1536x502.png 1536w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-40-53-624x204.png 624w\" sizes=\"(max-width: 940px) 100vw, 940px\" \/><p id=\"caption-attachment-76801\" class=\"wp-caption-text\">AmazonQ Installation<\/p><\/div>\n<p><strong>Login!<\/strong><br \/>\nNext, let\u2019s log in to Amazon Q<br \/>\nRun the following command:<br \/>\n<em>q login<\/em><\/p>\n<p>Now we will be prompted with few login methods, for simplicity we will just proceed with &#8220;Use Free with Builder ID&#8221; and we will be given a Code to confirm on our browser.<\/p>\n<div id=\"attachment_76802\" style=\"width: 946px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-76802\" decoding=\"async\" loading=\"lazy\" class=\" wp-image-76802\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-41-33.png\" alt=\"q login\" width=\"936\" height=\"97\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-41-33.png 1658w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-41-33-300x31.png 300w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-41-33-1024x106.png 1024w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-41-33-768x80.png 768w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-41-33-1536x159.png 1536w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-41-33-624x65.png 624w\" sizes=\"(max-width: 936px) 100vw, 936px\" \/><p id=\"caption-attachment-76802\" class=\"wp-caption-text\">q login<\/p><\/div>\n<div id=\"attachment_76806\" style=\"width: 956px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-76806\" decoding=\"async\" loading=\"lazy\" class=\" wp-image-76806\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-13-10-01.png\" alt=\"Login Confirmation\" width=\"946\" height=\"420\" \/><p id=\"caption-attachment-76806\" class=\"wp-caption-text\">Login Confirmation<\/p><\/div>\n<p>After confirming the code and allowing the access on our browser, our terminal will show login successful message.<\/p>\n<div id=\"attachment_76807\" style=\"width: 948px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-76807\" decoding=\"async\" loading=\"lazy\" class=\" wp-image-76807\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-41-41-1.png\" alt=\"Login succeeded\" width=\"938\" height=\"125\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-41-41-1.png 1658w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-41-41-1-300x40.png 300w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-41-41-1-1024x136.png 1024w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-41-41-1-768x102.png 768w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-41-41-1-1536x205.png 1536w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-41-41-1-624x83.png 624w\" sizes=\"(max-width: 938px) 100vw, 938px\" \/><p id=\"caption-attachment-76807\" class=\"wp-caption-text\">Login succeeded<\/p><\/div>\n<p><strong>Using AmazonQ<\/strong><\/p>\n<p>Now that we have logged with our BuilderID, we can start using AmazonQ<br \/>\nPress q to login into AmazonQ<\/p>\n<div id=\"attachment_76808\" style=\"width: 948px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-76808\" decoding=\"async\" loading=\"lazy\" class=\" wp-image-76808\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-41-55.png\" alt=\"AmazonQ Logged In\" width=\"938\" height=\"389\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-41-55.png 1692w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-41-55-300x124.png 300w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-41-55-1024x425.png 1024w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-41-55-768x319.png 768w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-41-55-1536x637.png 1536w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-41-55-624x259.png 624w\" sizes=\"(max-width: 938px) 100vw, 938px\" \/><p id=\"caption-attachment-76808\" class=\"wp-caption-text\">AmazonQ Logged In<\/p><\/div>\n<p>We can start asking questions directly to Amazon Q, and it will respond intelligently with <strong>context-aware answers.<\/strong><\/p>\n<div id=\"attachment_76809\" style=\"width: 935px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-76809\" decoding=\"async\" loading=\"lazy\" class=\" wp-image-76809\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-44-50.png\" alt=\"Question asked to AmazonQ on EIP charges\" width=\"925\" height=\"300\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-44-50.png 1891w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-44-50-300x97.png 300w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-44-50-1024x332.png 1024w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-44-50-768x249.png 768w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-44-50-1536x499.png 1536w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-44-50-624x203.png 624w\" sizes=\"(max-width: 925px) 100vw, 925px\" \/><p id=\"caption-attachment-76809\" class=\"wp-caption-text\">Question asked to AmazonQ on EIP charges<\/p><\/div>\n<p>Now lets get started<br \/>\nWe\u2019ll ask it to generate an architecture diagram for <strong><em>S3 Static website Hosting.<\/em><\/strong><br \/>\n<strong>Just a reminder!<\/strong>\u2014we haven\u2019t yet integrated the open-source MCP server. So let\u2019s first see what the output looks like <strong>without MCP<\/strong><\/p>\n<div id=\"attachment_76811\" style=\"width: 936px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-76811\" decoding=\"async\" loading=\"lazy\" class=\" wp-image-76811\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-48-33.png\" alt=\"Asking AmazonQ to generate Architectural Diagrams\" width=\"926\" height=\"451\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-48-33.png 1886w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-48-33-300x146.png 300w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-48-33-1024x498.png 1024w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-48-33-768x374.png 768w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-48-33-1536x748.png 1536w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-48-33-624x304.png 624w\" sizes=\"(max-width: 926px) 100vw, 926px\" \/><p id=\"caption-attachment-76811\" class=\"wp-caption-text\">Asking AmazonQ to generate Architectural Diagrams<\/p><\/div>\n<p>As we can see, Amazon Q is currently relying on <strong>Python libraries<\/strong> to generate diagrams.<\/p>\n<div id=\"attachment_76812\" style=\"width: 934px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-76812\" decoding=\"async\" loading=\"lazy\" class=\" wp-image-76812\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-48-54.png\" alt=\"AmazonQ is Using Pyhton Libraries to build the diagrams\" width=\"924\" height=\"91\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-48-54.png 1885w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-48-54-300x30.png 300w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-48-54-1024x101.png 1024w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-48-54-768x76.png 768w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-48-54-1536x152.png 1536w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-48-54-624x62.png 624w\" sizes=\"(max-width: 924px) 100vw, 924px\" \/><p id=\"caption-attachment-76812\" class=\"wp-caption-text\">AmazonQ is Using Pyhton Libraries to build the diagrams<\/p><\/div>\n<p>And below is the diagram that AmazonQ generates.<\/p>\n<div id=\"attachment_76816\" style=\"width: 934px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-76816\" decoding=\"async\" loading=\"lazy\" class=\" wp-image-76816\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-2025-11-15-at-10.39.44\u202fAM.png\" alt=\"Architectural Diagram created by AmazonQ\" width=\"924\" height=\"526\" \/><p id=\"caption-attachment-76816\" class=\"wp-caption-text\">Architectural Diagram created by AmazonQ<\/p><\/div>\n<p>They\u2019re decent\u2026 but nothing close to the magic we\u2019ll unlock once MCP servers come into play.<\/p>\n<p><strong>Integrating Amazon Q with MCP Servers<br \/>\n<\/strong>Now, let\u2019s integrate Amazon Q with MCP servers and compare the outputs. Open <a href=\"https:\/\/awslabs.github.io\/mcp\/\">this<\/a> link to explore AWS MCP servers. When you will open the website you will be able to see and explore a bunch of AWS MCP servers in the left pane. We will use the <strong>AWS Diagram MCP Server<\/strong><\/p>\n<div id=\"attachment_76822\" style=\"width: 923px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-76822\" decoding=\"async\" loading=\"lazy\" class=\" wp-image-76822\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2025\/11\/mcp-servers.png\" alt=\"AWS MCP servers\" width=\"913\" height=\"480\" \/><p id=\"caption-attachment-76822\" class=\"wp-caption-text\">AWS MCP servers<\/p><\/div>\n<p>After installing the prerequisites <em>(sudo snap install astral-uv &#8211;classic)<\/em> we will configure the MCP server in our AmazonQ by placing the mentioned JSON file in the path <em>\/.aws\/amazonq\/mcp.json<\/em><\/p>\n<div id=\"attachment_76821\" style=\"width: 931px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-76821\" decoding=\"async\" loading=\"lazy\" class=\" wp-image-76821\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-56-45.png\" alt=\"aws mcp servers\" width=\"921\" height=\"348\" \/><p id=\"caption-attachment-76821\" class=\"wp-caption-text\">aws mcp servers<\/p><\/div>\n<p>&nbsp;<\/p>\n<p>Create mcp.json file in the directory <em>\/.aws\/amazonq<\/em><\/p>\n<div id=\"attachment_76823\" style=\"width: 942px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-76823\" decoding=\"async\" loading=\"lazy\" class=\" wp-image-76823\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-51-17.png\" alt=\"create mcp.json file\" width=\"932\" height=\"148\" \/><p id=\"caption-attachment-76823\" class=\"wp-caption-text\">create mcp.json file<\/p><\/div>\n<p>Paste the MCP JSON for AWS Architectural diagrams in the mcp.json file<\/p>\n<div id=\"attachment_76824\" style=\"width: 941px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-76824\" decoding=\"async\" loading=\"lazy\" class=\" wp-image-76824\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-from-2025-08-09-12-58-58.png\" alt=\"Pasting the mcp server JSON\" width=\"931\" height=\"541\" \/><p id=\"caption-attachment-76824\" class=\"wp-caption-text\">Pasting the mcp server JSON<\/p><\/div>\n<p>&nbsp;<\/p>\n<p>After configuring the mcp server when we will login again into AmazonQ we will now see that AmazonQ has Loaded our MCP server for AWS Diagrams.<\/p>\n<div id=\"attachment_76838\" style=\"width: 947px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-76838\" decoding=\"async\" loading=\"lazy\" class=\" wp-image-76838\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-2025-11-16-at-6.56.48\u202fAM.png\" alt=\"Loaded MCP\" width=\"937\" height=\"457\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-2025-11-16-at-6.56.48\u202fAM.png 2996w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-2025-11-16-at-6.56.48\u202fAM-300x146.png 300w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-2025-11-16-at-6.56.48\u202fAM-1024x500.png 1024w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-2025-11-16-at-6.56.48\u202fAM-768x375.png 768w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-2025-11-16-at-6.56.48\u202fAM-1536x750.png 1536w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-2025-11-16-at-6.56.48\u202fAM-2048x999.png 2048w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-2025-11-16-at-6.56.48\u202fAM-624x305.png 624w\" sizes=\"(max-width: 937px) 100vw, 937px\" \/><p id=\"caption-attachment-76838\" class=\"wp-caption-text\">Loaded MCP<\/p><\/div>\n<p>Now when we will Give the same prompt to create Architecture diagram of <em>S3 Website Hosting <\/em>AmazonQ will use the <strong>digrams MCP server package<\/strong> to create stunning Architectural diagrams.<\/p>\n<div id=\"attachment_76839\" style=\"width: 940px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-76839\" decoding=\"async\" loading=\"lazy\" class=\" wp-image-76839\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-2025-11-16-at-7.00.25\u202fAM.png\" alt=\"Using Diagrams\" width=\"930\" height=\"346\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-2025-11-16-at-7.00.25\u202fAM.png 2598w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-2025-11-16-at-7.00.25\u202fAM-300x112.png 300w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-2025-11-16-at-7.00.25\u202fAM-1024x381.png 1024w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-2025-11-16-at-7.00.25\u202fAM-768x286.png 768w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-2025-11-16-at-7.00.25\u202fAM-1536x571.png 1536w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-2025-11-16-at-7.00.25\u202fAM-2048x761.png 2048w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Screenshot-2025-11-16-at-7.00.25\u202fAM-624x232.png 624w\" sizes=\"(max-width: 930px) 100vw, 930px\" \/><p id=\"caption-attachment-76839\" class=\"wp-caption-text\">Using Diagrams<\/p><\/div>\n<p>&nbsp;<\/p>\n<p>Below are some Archictectural diagrams created using AmazonQ + MCP integration<\/p>\n<div id=\"attachment_76841\" style=\"width: 955px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-76841\" decoding=\"async\" loading=\"lazy\" class=\" wp-image-76841\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2025\/11\/Web-Application-with-ALB.png\" alt=\"Web App with ALB\" width=\"945\" height=\"806\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2025\/11\/Web-Application-with-ALB.png 1184w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Web-Application-with-ALB-300x256.png 300w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Web-Application-with-ALB-1024x874.png 1024w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Web-Application-with-ALB-768x655.png 768w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/Web-Application-with-ALB-624x532.png 624w\" sizes=\"(max-width: 945px) 100vw, 945px\" \/><p id=\"caption-attachment-76841\" class=\"wp-caption-text\">Web App with ALB<\/p><\/div>\n<p>&nbsp;<\/p>\n<div id=\"attachment_76842\" style=\"width: 975px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-76842\" decoding=\"async\" loading=\"lazy\" class=\" wp-image-76842\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2025\/11\/SNS-Multi-Topic.png\" alt=\"SNS-Multi-Topic\" width=\"965\" height=\"903\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2025\/11\/SNS-Multi-Topic.png 1412w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/SNS-Multi-Topic-300x281.png 300w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/SNS-Multi-Topic-1024x959.png 1024w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/SNS-Multi-Topic-768x719.png 768w, \/blog\/wp-ttn-blog\/uploads\/2025\/11\/SNS-Multi-Topic-624x584.png 624w\" sizes=\"(max-width: 965px) 100vw, 965px\" \/><p id=\"caption-attachment-76842\" class=\"wp-caption-text\">SNS-Multi-Topic<\/p><\/div>\n<p>&nbsp;<\/p>\n<p>This is not limited to generating diagrams\u2014there are numerous other MCP servers available online for a variety of use cases. Below are some useful references:<br \/>\nhttps:\/\/awslabs.github.io\/mcp\/<br \/>\nhttps:\/\/github.com\/awslabs\/mcp<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction In this blog, we will explore how to integrate an open-source MCP server with Amazon Q and unlock its enhanced capabilities, creating seamless architecture diagrams generation. Take a look at this architectural diagram below &#8211; Isn&#8217;t it amazing? You will be surprised to know it was not created manually by draw.io or any other [&hellip;]<\/p>\n","protected":false},"author":2171,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":42},"categories":[5877],"tags":[4782,8222,248,7637,8223],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/76803"}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/2171"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=76803"}],"version-history":[{"count":15,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/76803\/revisions"}],"predecessor-version":[{"id":76845,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/76803\/revisions\/76845"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=76803"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=76803"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=76803"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}