IT Support Ticket MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
IT Support Ticket MCP Server
An MCP server built with FastMCP (Python) for tracking IT support tickets in SQLite. It demonstrates all three MCP primitives (Tools, Resources and Prompts) over Streamable HTTP.
Features
Register, get, search, resolve and update the status of IT support tickets
SQLite storage through the SQLModel ORM
Streamable HTTP transport on
0.0.0.0:8989at the/mcppath, with no authenticationA colourful startup banner (rich + pyfiglet)
Graceful shutdown on
CTRL+C/SIGTERMRotating file logs in
logs/Sample tickets seeded automatically on first start
Runs in Docker via Dockerfile and Docker Compose, with a healthcheck
Related MCP server: TicketAI
Ticket model
Field | Notes |
Ticket ID |
|
Ticket Date | UTC ISO 8601, e.g. |
Registered By | Free text |
Title / Description | Free text |
Product Family |
|
Priority |
|
Status |
|
Resolved By / Resolved Date | Set when the ticket is resolved |
Remarks | Timestamped history of status notes |
Status transitions
From | Allowed next status |
Open | In Progress, Resolved |
In Progress | Resolved |
Resolved | Closed, Open (reopen) |
Closed | none (final state) |
MCP primitives
Type | Name | Description |
Tool |
| Create a ticket (status |
Tool |
| Get a ticket by ID |
Tool |
| Filter by status, priority, product family, keyword, registered/resolved by, or date range. Supports |
Tool |
| Resolve with |
Tool |
| Move to |
Resource |
| Allowed values and status transitions |
Resource |
| Counts by status, priority and product family |
Resource |
| The 10 most recent tickets |
Resource template |
| A single ticket |
Prompt |
| Triage a ticket: priority check, root causes, next steps |
Prompt |
| Summarise unresolved tickets, optionally for one product family |
Quick start
Prerequisites: Python 3.12 and uv. Optional: Docker, GNU Make, Node.js (for MCP Inspector).
cp .env.example .env # Windows PowerShell: Copy-Item .env.example .envWith uv
uv sync
uv run ticket-mcpWith make
make install
make runWith Docker
docker compose up -d --build # or: make up
docker compose logs -f # or: make logs
docker compose down # or: make downThe server listens at http://localhost:8989/mcp. The health check is at http://localhost:8989/health.
Try it with MCP Inspector
npx -y @modelcontextprotocol/inspector # or: make inspectorSelect the Streamable HTTP transport, enter the URL http://localhost:8989/mcp, and click Connect.
Use it from Claude Code / Claude Desktop
claude mcp add --transport http tickets http://localhost:8989/mcpLangChain agent demo (Jupyter)
notebooks/ticket_agent_demo.ipynb builds a custom LangChain agent (OpenAI) that uses this server through langchain-mcp-adapters (MultiServerMCPClient, Streamable HTTP). The agent has a help-desk system prompt and conversation memory (InMemorySaver).
# | Use case | MCP primitives used |
1 | Help-desk intake: turn a plain-English complaint into a ticket, with priority and family inferred | Tool |
2 | Triage & work a ticket: find open P1 tickets, triage one, start it, resolve it | Tools |
3 | Manager status report: executive summary of the backlog | Resource |
Run it
Add
OPENAI_API_KEY,AGENT_MODELand, optionally,MCP_SERVER_URLto.env. See.env.example.Start the server:
make runormake up. Use one, not both, because they share port 8989 but not the database.Open the notebook in VS Code or Jupyter, select the
.venv(Python 3.12) kernel, and Run All.
The notebook makes real OpenAI API calls and writes tickets to whichever server is running.
Make targets
Target | Description |
|
|
| Run the server locally |
| Run pytest |
| Remove caches |
| Docker Compose helpers |
| Insert sample tickets if the DB is empty |
| Drop and recreate tables (empties the DB) |
| Launch MCP Inspector |
Installing make on Windows
Use any one of these:
winget install ezwinports.make
choco install make
scoop install makeOr use Git Bash, which can run make once it is installed by one of the options above.
Configuration (.env)
Variable | Default | Description |
|
| Display name |
|
| Bind address |
|
| Port |
|
| Streamable HTTP endpoint path |
|
| SQLAlchemy URL |
|
| Seed sample tickets when the DB is empty |
|
|
|
|
| Enable rotating file logs |
|
| Log file location |
|
| Rotation settings |
Project structure
src/ticket_mcp/
├── config.py # Settings from .env (pydantic-settings)
├── logging_config.py # Rich console + rotating file logs
├── db.py # Engine, sessions, table creation
├── models.py # SQLModel Ticket table, enums, DTOs
├── repository.py # Business rules & queries (no MCP code)
├── seed.py # Sample data + CLI (seed / reset)
├── tools.py # MCP tools
├── resources.py # MCP resources
├── prompts.py # MCP prompts
├── server.py # FastMCP instance + /health route
├── banner.py # Startup banner
└── main.py # Entrypoint & graceful shutdown
tests/ # pytest (repository + in-memory MCP client)
notebooks/ # LangChain agent demo (Jupyter)
data/ logs/ # Runtime folders (kept via .gitkeep)Documentation
License
MIT © 2026 Ramkumar
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Manage Ticketdesk AI support tickets: create, reply, add notes, assign, tag, prioritize and close.
Work your Help tickets with your AI: read them, reply or leave notes, and set up forms and sites.
Helpdesk tickets from your AI: find, reply, take, hold, complete — within your own role. OAuth.
Project tracker for AI agents and teams: file, claim, update and hand off tickets over MCP.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn AI IT support agent that enables natural language interaction with IT helpdesk operations, including knowledge base search, ticket querying, password reset, and escalation, powered by LangGraph and MCP.-
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to analyze IT support tickets, categorize urgency, suggest responses, and retrieve statistics via MCP tools.-
- FlicenseNot gradedqualityDmaintenanceEnables IT helpdesk automation by classifying support tickets, estimating priority, generating troubleshooting steps, and predicting resolution times through MCP tools.1-
- FlicenseNot gradedqualityDmaintenanceMCP server that provides IT support tools to search known incidents, check ticket status, and create ticket drafts, enabling an AI assistant to help users with IT support queries.-