Theta-MCP
A comprehensive sales automation platform combining Model Context Protocol (MCP) server with Gemini AI voice interface, featuring 13+ integrated sales tools and AWS deployment capabilities.
README
Theta-MCP: AI-Powered Sales Assistant
A comprehensive sales automation platform combining Model Context Protocol (MCP) server with Gemini AI voice interface, featuring 13+ integrated sales tools and AWS deployment capabilities.
🚀 Features
Core Capabilities
- Voice Interface: Gemini AI-powered speech-to-text and text-to-speech
- MCP Server: Model Context Protocol server with extensive tool integration
- Real-time Processing: WebSocket-based voice communication
- AWS Deployment: Production-ready with ECS Fargate and auto-scaling
Integrated Sales Tools
- CRM: HubSpot, Salesforce integration
- Communication: Gmail, Google Meet, Twilio SMS
- Lead Generation: LinkedIn Sales Navigator, Apollo
- Data Management: Google Sheets, Google Drive
- Payments: Stripe integration
- Scheduling: Calendly automation
- Search: Google Search API
🏗️ Architecture
┌─────────────────┐ ┌──────────────────┐ ┌─────────────────┐
│ Voice Client │◄──►│ Gemini AI TTS │◄──►│ MCP Server │
│ (WebSocket) │ │ Interface │ │ (13+ Tools) │
└─────────────────┘ └──────────────────┘ └─────────────────┘
🛠️ Quick Start
Local Development
# Clone repository
git clone <repository-url>
cd Theta-MCP
# Setup environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
# Configure settings
cp config/settings.example.json config/settings.json
# Add your API keys to config/settings.json
# Run locally
python ./deployment/test_local.py
Production Deployment
# Setup AWS deployment
./deployment/setup_aws.sh
# Deploy to AWS ECS
./deployment/aws/deploy.sh
📁 Project Structure
Theta-MCP/
├── sales_mcp_server.py # Main MCP server
├── gemini_tts_interface.py # Voice interface with Gemini AI
├── health_check.py # Health monitoring
├── refresh_google_token.py # Token management
├── config/ # Configuration files
│ ├── google_auth.py # Google authentication
│ ├── settings.py # Settings loader
│ └── settings.example.json # Configuration template
├── tools/ # Sales automation tools
│ ├── hubspot_tool.py # HubSpot CRM integration
│ ├── salesforce_tool.py # Salesforce integration
│ ├── gmail_tool.py # Gmail automation
│ ├── linkedin_tool.py # LinkedIn Sales Navigator
│ ├── apollo_tool.py # Lead generation
│ ├── stripe_tool.py # Payment processing
│ ├── calendly_tool.py # Scheduling automation
│ └── ... (13+ tools total)
├── deployment/ # Deployment configurations
│ ├── aws/ # AWS-specific files
│ ├── docker/ # Docker configurations
│ ├── setup_aws.sh # AWS setup script
│ └── test_local.py # Local testing
└── tests/ # Test suite
🔧 Configuration
Required API Keys
- Google Cloud (Speech-to-Text, Text-to-Speech, Calendar, Gmail)
- Gemini AI API key
- HubSpot, Salesforce, LinkedIn, Apollo (as needed)
- AWS credentials (for deployment)
Environment Variables
Copy .env.example to .env and configure:
GOOGLE_CLOUD_PROJECT=your-project
GEMINI_API_KEY=your-gemini-key
HUBSPOT_API_KEY=your-hubspot-key
# ... additional API keys
🚀 AWS Deployment
Infrastructure
- ECS Fargate: Serverless container orchestration
- Application Load Balancer: Traffic distribution
- Auto Scaling: 2-10 instances based on demand
- EFS Storage: Persistent token and log storage
- Secrets Manager: Secure API key management
- CloudWatch: Monitoring and logging
Deployment Process
- Configure AWS credentials
- Run
./deployment/setup_aws.sh - Execute
./deployment/aws/deploy.sh - Access via provided ALB endpoint
🧪 Testing
# Run test suite
python -m pytest tests/
# Test local deployment
python ./deployment/test_local.py
# Health check
curl http://localhost:8000/health
📚 API Documentation
MCP Server Endpoints
GET /health- Health checkPOST /tools/{tool_name}- Execute toolWebSocket /voice- Voice interface
Voice Interface
- Real-time speech-to-text processing
- Gemini AI conversation handling
- Text-to-speech response generation
- WebSocket-based communication
🤝 Contributing
- Fork the repository
- Create feature branch (
git checkout -b feature/amazing-feature) - Commit changes (
git commit -m 'Add amazing feature') - Push to branch (
git push origin feature/amazing-feature) - Open Pull Request
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🆘 Support
For issues and questions:
- Create an issue in this repository
- Check the deployment guide:
./deployment/README.md - Review test configurations:
./tests/README.md
Built with ❤️ using Python, FastAPI, Gemini AI, and AWS
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。