Akashkittu/Alaiy-Mcp-Server
If you are the rightful owner of Alaiy-Mcp-Server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Claude AI Voice Assistant ā Alaiy MCP Server is a full-stack voice assistant project that integrates Claude AI with ElevenLabs voice synthesis, supporting both WhatsApp and Telegram platforms.
š¤ Claude AI Voice Assistant ā Alaiy MCP Server
A full-stack voice assistant project that connects Claude AI with ElevenLabs voice synthesis, and supports both WhatsApp and Telegram integrations.
This project was built for the Alaiy Computer Scientist Skill Test, simulating a multi-platform, voice-based conversational experience powered by Claude and ElevenLabs.
š Features
- š¤ Claude MCP Assistant Integration
- š ElevenLabs Text-to-Speech (TTS) for realistic voice generation
- š¬ WhatsApp Messaging using Twilio Webhook
- š² Telegram Bot Integration
- š§ Chat history memory (platform-aware)
- š Web-based UI with theme toggle and voice playback
š§© Tech Stack
- Backend: Node.js + Express
- Frontend: HTML/CSS/JS (Vanilla)
- APIs: Claude (MCP), ElevenLabs, Twilio WhatsApp, Telegram Bot API
š Folder Structure
Alaiy-Mcp-Server/
āāā server.js
āāā .env.example
āāā public/
ā āāā index.html
āāā elevenlabs/
ā āāā voice.js
ā āāā claude.js
ā āāā twilio.js
ā āāā telegram.js
āāā uploads/ (auto-generated audio files)
āāā .gitignore
āāā package.json
āļø Setup Instructions (Run Locally)
1. Clone the Repo
git clone https://github.com/Akashkittu/Alaiy-Mcp-Server.git
cd Alaiy-Mcp-Server
2. Install Dependencies
npm install
3. Create .env
File
Create a .env
file in the root directory and fill it like this:
PORT=3000
# Claude MCP
MCP_API_KEY=your_claude_api_key
MCP_ASSISTANT_ID=your_claude_assistant_id
# ElevenLabs
ELEVENLABS_API_KEY=your_elevenlabs_api_key
VOICE_ID=your_elevenlabs_voice_id
# Twilio WhatsApp
TWILIO_ACCOUNT_SID=your_twilio_sid
TWILIO_AUTH_TOKEN=your_twilio_auth_token
TWILIO_PHONE_NUMBER=+your_twilio_number
# Telegram
TELEGRAM_BOT_TOKEN=your_telegram_bot_token
ā You can copy
.env.example
and rename it to.env
4. Start the Server
node server.js
Then visit:
š http://localhost:3000/
š² How to Use WhatsApp Integration (via Twilio + LocalTunnel)
To enable Twilio to access your local server, follow these steps:
Step 1: Start the server
node server.js
Step 2: Open a new terminal and run LocalTunnel
npx localtunnel --port 3000
This will give you a URL like:
https://bold-mango-lion.loca.lt
Step 3: Update the Webhook in Twilio Console
- Go to Twilio Console > Messaging > WhatsApp > Senders
- Choose your sandbox number or phone number
- Set the Incoming Message Webhook to:
https://your-localtunnel-url/whatsapp
Example:
https://bold-mango-lion.loca.lt/whatsapp
Step 4: Update twilio.js
if you're pushing from server
If you're sending messages from the backend using twilio.js
, update the url
with the new localtunnel link inside the sendVoiceMessage()
function.