Customer Support Ticket Automation MCP Server
Allows sending automated email responses to customer support tickets.
Automatically logs ticket data into a Google Sheet for record-keeping.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Customer Support Ticket Automation MCP ServerProcess this support ticket: My order hasn't arrived yet."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
๐ค AI Customer Support Ticket Resolver Using Agents and MCP (Model Context Protocol)
This Project uses large language models to automate customer support. It classifies tickets, analyzes content, generate and send responses automatically to the given customer email address. Built with Streamlit and MCP Inspector Tool.
๐ฆ What It Does
๐ฌ Accepts customer support messages or Queries
๐ค Uses AI to understand the issue and generate a helpful reply
๐ง Detects urgency and classifies the type of request
๐ค Automatically Sends responses via email
๐ Automatically Logs tickets into a Google Sheet
๐ฅ๏ธ Has a simple Streamlit web interface and MCP Inspector Tool
Demo
videoUrl: https://drive.google.com/file/d/12AznYzfWe23n0x6ZmxI7E7--NwtcBGVO/view?usp=sharing
๐ Installation
1. Clone the project
git clone https://github.com/ManideepMuddagowni/AI-Customer-Support-Ticket-Resolver-Using-MCP.git2. Set up Python environment
conda create -p venv/ python==3.10 -y3. Install dependencies
pip install -r requirements.txt๐ API Keys and Config
Create a
.envfile with:
GROQ_API_KEY=your_groq_key_here
GMAIL_USER=your_email@gmail.com
GMAIL_APP_PASSWORD=your_gmail_app_passwordAdd your
google_cred.json(Google Sheets API key file) to the project folder.
๐งพ FrontEnd - Customer Support Registration UI (register_ticket.py)
To view the customer support ticket registration form:

โถ๏ธ Run the UI
streamlit run register.py
This will launch the app in your default browser at:
The form allows you to:
Submit a new support query
Log responses into Google Sheets
๐ค AI Ticket Manager Backend (main.py)
The AI Ticket Manager script handles all incoming tickets from the registration UI or external sources.

๐ What It Does
โ Monitors and processes new or pending tickets
๐ Uses AI to classify the ticket by intent and urgency
โ๏ธ Generates an intelligent response using LLM
๐ฌ Sends the reply to the customer's registered email
๐ Logs the full interaction in a Google Sheet
๐ค All these are Fully Automated by using Agents
โ๏ธ Commands Youโll Use
โถ๏ธ Run the web app
streamlit run main.pyThis opens the UI in your browser at: http://localhost:8501
๐ง Set up and run the MCP Server
Option A: Simple MCP setup with pip
pip install fastmcpOption B: With UV (optional tool for MCP projects)
uv init .
uv add "mcp[cli]"๐ Install your MCP server
mcp install mcp_server:mcp๐งฐ Use MCP Inspector
Option 1: Dev mode with Claude's tools
mcp dev mcp_server.py
mcp install mcp_server.pyOption 2: With Node.js inspector
run - npx @modelcontextprotocol/inspector python mcp_server.py
---
๐ Troubleshooting
โ JSON parse error from MCP
If you see:
Unexpected token โ
, "โ
Email se"... is not valid JSONRemove emojis like โ
from your print() statements. The MCP CLI expects only plain JSON-safe text.
๐ Deploy Options
Streamlit Cloud
Heroku, EC2, or GCP
๐งโ๐ป Contributing
Pull requests are welcome. Feel free to open issues for feature ideas or bugs.
๐ Future Improvements & Collaboration
This project is designed with flexibility and growth in mind. Here are a few directions weโre excited to explore next:
๐ฎ Possible Extensions
RAG Integration:
Enhance responses by using a Retrieval-Augmented Generation (RAG) system. This will let the AI pull relevant info from past tickets, FAQs, or internal documents before generating a reply โ making answers more accurate and context-aware.
Analytics Dashboard:
Track ticket volume, resolution accuracy, response time, and user satisfaction.
User Feedback Loop:
Let customers rate the AI-generated response to continuously improve performance using reinforcement learning.
๐ค Open for Collaboration
I am always happy to collaborate with others who are passionate about Machine Learning, NLP, and Gen AI. Whether you're interested in:
Contributing code
Integrating new data sources
Connecting to new platforms
I Would love to connect!
๐ฌ Reach out via GitHub Issues or start a discussion to get involved.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ManideepMuddagowni/Customer-Support-Ticket-Automation-Using-AI-Agents-and-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server