Theta-MCP

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.

Category
Visit Server

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

  1. Configure AWS credentials
  2. Run ./deployment/setup_aws.sh
  3. Execute ./deployment/aws/deploy.sh
  4. 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 check
  • POST /tools/{tool_name} - Execute tool
  • WebSocket /voice - Voice interface

Voice Interface

  • Real-time speech-to-text processing
  • Gemini AI conversation handling
  • Text-to-speech response generation
  • WebSocket-based communication

๐Ÿค Contributing

  1. Fork the repository
  2. Create feature branch (git checkout -b feature/amazing-feature)
  3. Commit changes (git commit -m 'Add amazing feature')
  4. Push to branch (git push origin feature/amazing-feature)
  5. 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

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured