Acme Operations Assistant
MCP server providing business tools for customer support and account management, integrated with SQLite, OpenAI, and Streamlit.
README
Acme Operations Assistant (MCP demo)
A client-ready demo: an AI operations assistant for customer support and account managers, built on the Model Context Protocol.
Stack: MCP server → SQLite business data → OpenAI → Streamlit UI
Why this is a “real” project
- Business domain — customers, orders, support tickets (not
hello worldmath) - Persistent data — seeded SQLite database you can reset and extend
- Transparent tool calls — the UI shows exactly which MCP tools ran and what they returned
- Portable integration — the same MCP server works in Cursor, custom apps, or OpenAI Agents SDK
Quick start (client demo)
cd /apps/tmp/mcp-servers
python3 -m venv .venv && source .venv/bin/activate
pip install -e ".[demo]"
export OPENAI_API_KEY=sk-...
streamlit run demo_app.py
Open http://localhost:8501 and use the sidebar scenario buttons.
Full presenter script: DEMO.md
Project layout
| File | Purpose |
|---|---|
server.py |
MCP server — 7 business tools over stdio |
ops_db.py |
SQLite schema + demo seed data |
demo_app.py |
Streamlit chat UI for presentations |
assistant.py |
OpenAI ↔ MCP bridge (shared by UI and CLI) |
client.py |
Smoke test MCP tools (no API key) |
openai_chat.py |
CLI assistant |
openai_agent.py |
Same flow via OpenAI Agents SDK |
MCP tools
| Tool | Description |
|---|---|
search_customers |
Search by name, id, email, industry |
get_customer |
Full customer profile |
get_order |
Order status + line items |
list_customer_orders |
Order history for a customer |
list_open_tickets |
Open support tickets |
create_support_ticket |
Create ticket (writes to DB) |
account_summary |
Executive snapshot for an account |
Commands
# UI demo (recommended for clients)
streamlit run demo_app.py
# MCP smoke test — no OpenAI key
python client.py
# CLI assistant
python openai_chat.py "Account summary for CUST-1003"
# Reset demo database
python scripts/reset_demo_data.py
Connect to OpenAI (details)
The MCP server uses stdio. Your app must spawn it (as demo_app.py and assistant.py do).
- Chat Completions bridge:
assistant.py/openai_chat.py - Agents SDK:
openai_agent.py—pip install -e ".[agents]" - Responses API (remote URL): deploy server over HTTP; see OpenAI MCP guide
Cursor / Claude Desktop
{
"mcpServers": {
"acme-operations": {
"command": "/apps/tmp/mcp-servers/.venv/bin/python",
"args": ["/apps/tmp/mcp-servers/server.py"]
}
}
}
Next steps for production
- Replace SQLite with CRM/ERP APIs behind the same tool names
- Add auth (OAuth) per user and row-level access on tools
- Require human approval for
create_support_ticketin production - Deploy MCP over HTTP + host the Streamlit app behind SSO
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.