🚀 Multi-Agent System: A2A & MCP Integration POC
POC: Integrating A2A, MCP, and OpenAI Agents for AWS Tasks 🖥️✨
🎥 Demo Video
Watch the demo video to see MCP-AWS in action! 🚀

🌟 Features
🚀 Seamless Protocol Integration: Demonstrates the successful integration of the Agent-to-Agent (A2A) protocol with a Model Context Protocol (MCP) server for robust multi-agent communication.
🧠 Leverages OpenAI Agents SDK: Built upon the powerful OpenAI Agents SDK to create intelligent agents capable of understanding and acting on user prompts.
☁️ Automated Cloud Management: Enables direct provisioning and termination of AWS EC2 instances through simple user interactions, showcasing practical tool execution via the MCP.
🛠️ Tools in the MCP Server
The MCP server is a custom server with two tools:
initiate_aws_ec2_instance: Creates an AWS EC2 instance.terminate_aws_ec2_instance: Terminates an AWS EC2 instance by its ID.
🚀 Getting Started
Prerequisites
- Python 3.12+ (for local setup) or Docker (for containerized setup)
- AWS IAM Role: Create an IAM role with the necessary permissions to manage EC2 instances.
- Environment Variables: Prepare a
.envfile with the following variables:AWS_ACCESS_KEY_IDAWS_SECRET_ACCESS_KEYAWS_DEFAULT_REGIONOPENAI_API_KEYAMI_IDINSTANCE_TYPEKEY_NAMESECURITY_GROUP_IDSAWS_REGION
🏃♂️ Running the App
Clone the repository at the root:
git clone https://github.com/anirban1592/google_openai_mcp.git cd google_openai_mcpCreate
.envfile as shown in prerequisitesRun the remote agent example:
cd openai-agent/ uv run .Clone the A2A client code(by google) at the root dir:
git clone https://github.com/google/A2A.git cd demo/uiCreate an environment file with your API key or enter it directly in the UI when prompted:
echo "GOOGLE_API_KEY=your_api_key_here" >> .envRun the front end example:
uv run main.pyRefer to the attached video to see it in action
💬 Using the AI Agent
To create an EC2 instance:
Enter your command: Create an EC2 instanceTo terminate an EC2 instance:
Enter your command: Terminate EC2 instance with ID <instance-id>
⚠️ Word of Caution
- IAM Role and Credentials: Please create AWS IAM roles and credentials at your own risk. Ensure you follow AWS best practices for security.
- Billing and Security: This app is a proof of concept (POC) and is intended for learning purposes only. We are not responsible for any billing issues or security incidents.
📚 Learnings
This project demonstrates:
- How to integrate MCP servers with OpenAI Agents SDK
- How to build a simple AI-driven application for AWS resource management
Enjoy exploring the power of AI and MCP servers! 🌟
Multi-Agent AWS Management Server
Project Details
- anirban1592/google_openai_mcp
- Last Updated: 4/20/2025
Recomended MCP Servers
demo
This read-only MCP Server allows you to connect to Office 365 data from Claude Desktop through CData JDBC...
MCP server that provides tools and resources for interacting with n8n API
Verodat MCP Server Implementation
An MCP Server for Ollama
Perplexity Search MCP服务器实现,支持全部命令允许大型语言模型通过MCP协议访问Perplexity搜索API
An implementation of Model Context Protocol (MCP) server for Argo CD.
A start template for a typescript mcp server
macOS Notification MCP enables AI assistants to trigger native macOS sounds, visual notifications, and text-to-speech. Built for Claude...
A Model Context Protocol Server for connecting with Adfin APIs





