# Lamha MCP for AI Agents AI Agent Connect

> Lamha MCP for AI Agents. Build AI chatbots for Arabic-speaking audiences with natural language understanding designed for Middle Eastern dialects. Connect your Lamha account to any AI agent and manage HR operations and logistics workflows through natural conversation. This tool handles everything from employee attendance and payroll to warehouse inventory and delivery orders in one place, making it a complete solution for regional business management.

## Overview
- **Category:** productivity
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_kQiyfT4feIO1cJTgoMbpPrYwb8asGvlR7jDk7QWf/ai-agent-connect
- **Tags:** attendance-tracking, leave-management, payroll-management, employee-records, hr-automation, organizational-structure

## Description

Lamha is an HR and logistics MCP that connects your account to your AI agent. Instead of digging through spreadsheets or clicking through complex dashboards, you just tell your agent what you need. You can pull up employee profiles, check who's clocked in today, or see who's on leave with a simple text command. At the same time, you can track your logistics by checking city coverage, listing warehouse inventory, and managing delivery orders. It handles the heavy lifting of organizational data and shipping workflows, so you can focus on actually running your business. It's built to understand the nuances of Middle Eastern dialects, making it a practical tool for teams in that region. You'll get your data in plain language, whether you're checking leave balances or pulling up a list of carriers. It's about making the admin part of your job disappear. You'll find that having this in your Vinkius catalog makes it easy to keep your HR and shipping data in one place. This connection means you no longer have to worry about missing a payroll update or a shipping delay because the information is always just a question away. It bridges the gap between your people and your products, giving you a single point of truth for your daily operations.

## Tools

### cancel_order
This tool lets you cancel an existing order that needs to be stopped. It helps you handle last-minute changes.

### check_city_coverage
This tool lets you check if a specific city is included in your delivery coverage area. It helps you quickly see where you can ship products.

### get_order
This tool lets you pull up the specific details for an existing order. It's useful for checking real-time status.

### list_inventory
This tool lets you view your current product inventory across all locations. It helps you keep track of stock levels.

### create_order
This tool lets you create a new logistics order within the Lamha system. You can use it to start a new delivery without manual entry.

### list_carriers
This tool lets you see a full list of available delivery carriers. You can use it to compare your shipping options.

### list_orders
This tool lets you pull a list of all orders currently in the Lamha system. It's a fast way to see your total volume.

### list_warehouses
This tool lets you see a list of all warehouses in your network. Use it to manage your storage locations.

## Prompt Examples

**Prompt:** 
```
Show me who is on leave today and what their remaining balances are.
```

**Response:** 
```
### Leave Status
| Employee | Leave Type | Dates | Balance Remaining |
| :--- | :--- | :--- | :--- |
| **Ahmed** | Annual | May 1-5 | 18 days |
| **Sarah** | Sick | Apr 28 | 15 days |
| **Omar** | Annual | May 10-14 | 12 days |

**Summary:** 3 employees are currently on leave. The company average balance is 14.2 days.
```

**Prompt:** 
```
Can you check if we cover Riyadh and list our current warehouse inventory?
```

**Response:** 
```
### Coverage & Inventory
- **City Coverage:** Yes, Riyadh is currently included in your delivery coverage area.
- **Warehouse Inventory:** 
  - *Main Hub:* 450 units (Electronics, Home Goods)
  - *North Branch:* 120 units (Apparel)
  - *South Branch:* 85 units (Furniture)

You can create a new order for Riyadh whenever you're ready.
```

**Prompt:** 
```
Give me a payroll summary for the Engineering team.
```

**Response:** 
```
### Engineering Team Payroll Summary
- **Total Employees:** 18
- **Total Monthly Payroll:** SAR 285K
- **Average Salary:** SAR 15.8K
- **Salary Range:** SAR 8K - SAR 35K
- **New Hires (Last 90 Days):** 2

Would you like me to pull the individual details for any specific team members?
```

## Capabilities

### Manage employee records
View status and details for any team member in your organization.

### Track daily attendance
Monitor check-in times and daily presence in real-time.

### Oversee leave requests
Check balances and approval statuses for staff requests.

### Track delivery orders
Create, list, and cancel logistics orders through chat.

### Monitor inventory
View warehouse stock and product lists across all locations.

## Use Cases

### Checking team availability for a project
An HR manager asks the agent to show all pending leave requests and check the balances for the Engineering team to see who can work.

### Verifying delivery coverage for a new client
A logistics coordinator needs to see if a new city is covered and then create a new delivery order for it using check_city_coverage.

### Quick payroll summary for a department
A manager asks for a payroll summary and employee details for the sales team to review monthly compensation.

### Monitoring warehouse stock levels
A warehouse manager wants to list all current inventory and see which warehouses are currently active via list_warehouses.

## Benefits

- No more tab-switching between HR and logistics tools when using list_orders and list_inventory.
- Get instant answers on team availability using the attendance and leave management features.
- Quickly check delivery feasibility with check_city_coverage instead of manual lookups.
- Manage the full order lifecycle from create_order to cancel_order using plain text.
- Pull real-time compensation and payroll data for your team without opening complex reports.
- Navigate your entire organizational structure and warehouse network through simple chat commands.

## How It Works

The bottom line is you stop manual data entry and start managing your operations through conversation.

1. Subscribe to the Connector and grab your Lamha API token.
2. Connect the token to your AI client like Claude or Cursor.
3. Start asking your agent for HR updates or logistics status.

## Frequently Asked Questions

**Can the Lamha MCP help me manage my team's leave and attendance?**
Yes. You can ask your agent to check who is currently clocked in, view pending leave requests, and see how many vacation days employees have left.

**How does the Lamha MCP handle payroll for my employees?**
It allows you to pull payroll summaries and compensation details for specific departments or teams through simple natural language commands.

**Can I use the Lamha MCP to check warehouse inventory?**
You can. The Connector connects to your warehouse data so your agent can list current stock levels across all your locations.

**Does the Lamha MCP support Middle Eastern dialects?**
Yes, it is specifically designed with natural language understanding for Middle Eastern dialects to make it easier for regional teams to use.

**Can I create and cancel delivery orders using the Lamha MCP?**
Yes, the Connector includes tools to create new logistics orders, list all active orders, and cancel them when necessary.

**Is the Lamha MCP good for small businesses with multiple locations?**
It is ideal for any business needing to manage a workforce and logistics, as it handles department structures, warehouse lists, and carrier info in one place.

**Can I track employee attendance and leave?**
Yes. Monitor check-in/out records, view attendance summaries, and track leave balances, requests, and approvals for any employee.

**How does Lamha authentication work?**
Lamha uses a **Token** header (not Bearer) for authentication against `app.lamha.sa/api/v2`. This is a custom token format.

**Can I browse the organizational structure?**
Yes. Navigate departments, teams, and reporting hierarchies within the organization.