Enterprise HR MCP Server
README.md
# MCP + A2A Enterprise HR Demo
A hands-on project to practice **Model Context Protocol (MCP)** and basic **Agent-to-Agent (A2A) communication** using a mock Enterprise HR system.
## What I Built
### 1. MCP Server
Created an Enterprise HR MCP server exposing tools for:
- Employee information
- Leave balance
- Support tickets
- Product inventory
The tools were tested successfully using the MCP Inspector and MCP client.
### 2. AI Agent + MCP
Connected a Groq LLM to the MCP client.
The LLM:
1. Receives the user request.
2. Discovers the available MCP tools.
3. Selects the appropriate tool.
4. Generates the required arguments.
5. Calls the MCP tool.
6. Receives the result.
Example:
```text
User
↓
Groq LLM
↓
get_leave_balance
↓
MCP Client
↓
HR MCP Server
↓
Leave Balance
```
### 3. A2A Communication
Added an Escalation Agent to the primary agent.
The LLM can decide whether a request should:
- Use an MCP tool, or
- Be sent to the Escalation Agent.
Example:
```text
User
↓
Primary Agent + LLM
↓
Decision
├── MCP Tool → HR MCP Server
│
└── A2A → Escalation Agent
↓
Response
↓
Primary Agent
```
## Main Goal
This project was built as a hands-on practice project to understand:
- MCP servers
- MCP tools
- MCP clients
- Tool discovery
- LLM tool calling
- A2A agent communication
- How MCP and A2A can work together
This server cannot be deployed
Maintenance
ActivitySlowing
ResponsivenessNo issues