ParcelPilot MCP Server
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., "@ParcelPilot MCP ServerCheck account ACCT-001 and prepare an escalation for their open ticket."
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.
๐ฆ ParcelPilot AI
Intelligent customer-support operations agent built with LangGraph, MCP, Agentic RAG, and Streamlit.
ParcelPilot AI can retrieve customer/account/order/ticket information, answer policy questions using hybrid retrieval, apply customer-specific agreements, and enforce confirmation before state-changing operations.
โจ Features
LangGraph-based agent orchestration
Remote FastMCP server over Streamable HTTP
9 MCP tools for customer-support operations
Hybrid Agentic RAG using Chroma + BM25
Customer-specific agreement retrieval
Source authority and document precedence handling
Structured Excel data for accounts, orders, and tickets
Mock role-based access control
Human-in-the-loop confirmation for escalations and follow-ups
Streamlit interface for interacting with the agent
Related MCP server: mcp-server-salesforce
๐๏ธ Architecture
โโโโโโโโโโโโโโโโโโโโโโโ
โ Streamlit App โ
โ app.py โ
โโโโโโโโโโโโฌโโโโโโโโโโโ
โ
โ MCP / HTTP
โผ
โโโโโโโโโโโโโโโโโโโโโโโ
โ FastMCP Server โ
โ mcp_server.py โ
โโโโโโโโโโโโฌโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโ
โ โ โ
โผ โผ โผ
Structured Data Agentic RAG Security
Excel workbook Chroma + BM25 Access checks
โ โ
โโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโ
โผ
Grounded Tool Results
โ
โผ
LangGraph Agent
โ
โผ
Final Response๐ง MCP Tools
The MCP server exposes:
get_accountget_orderget_ticketsearch_knowledgesearch_customer_agreementcalculate_service_creditprepare_escalationexecute_escalationcreate_followup
State-changing operations use a confirmation step before execution.
๐ Agentic RAG
The retrieval pipeline combines:
User Query
โ
Chroma Semantic Retrieval
+
BM25 Keyword Retrieval
โ
Source Authority
โ
Customer-Aware Ranking
โ
Conflict / Precedence Handling
โ
Grounded Evidence
โ
LLM AnswerDocument precedence:
Current signed customer agreement
Current ParcelPilot policy/SOP
Other valid documentation
Deprecated documents are given lower authority and should not override current sources.
๐ Project Structure
ParcelPilot/
โ
โโโ app.py
โโโ mcp_server.py
โโโ PARCELPILOT.ipynb
โโโ ParcelPilot_Assessment_Data.xlsx
โ
โโโ 01_Support_Policy_v3_CURRENT.pdf
โโโ 02_Support_Policy_v2_DEPRECATED.pdf
โโโ 03_Cancellation_and_Service_Credit_SOP_v4.pdf
โโโ 04_Product_Operations_Guide_and_Known_Issues.pdf
โโโ 05_Northstar_Logistics_Enterprise_Agreement.pdf
โโโ 06_LumenWorks_Service_Agreement.pdf
โ
โโโ pyproject.toml
โโโ README.mdโ๏ธ Setup
1. Clone the repository
git clone <YOUR_GITHUB_REPOSITORY_URL>
cd ParcelPilot2. Install dependencies
This project uses pyproject.toml.
With uv:
uv syncOr install the required packages using your preferred Python environment.
3. Create .env
Create a .env file in the project root:
OPENAI_API_KEY=your_openai_api_key
PARCELPILOT_USER=support_agent
MCP_HOST=0.0.0.0
MCP_PORT=8000For the Streamlit client, set the MCP URL:
PARCELPILOT_MCP_URL=http://127.0.0.1:8000/mcpDo not commit .env or API keys to GitHub.
โถ๏ธ Run the MCP Server
Start the MCP server first:
uv run python mcp_server.pyThe server runs at:
http://127.0.0.1:8000/mcpYou should see the ParcelPilot MCP server startup information in the terminal.
โถ๏ธ Run Streamlit
In a second terminal:
uv run streamlit run app.pyOpen the Streamlit URL shown in the terminal, normally:
http://localhost:8501๐ Prototype Access Control
This submission includes mock authenticated-user context for demonstrating authorization behavior.
Supported prototype users include:
support_agent
customer_acct_002
customer_acct_003
adminThe server uses PARCELPILOT_USER to select the current prototype user.
In a production system, this would be replaced with real authentication and authorization, such as identity-provider-issued tokens, tenant/account claims, and server-side permission checks.
๐งโ๐ผ Human-in-the-Loop
For state-changing actions, the agent first prepares the operation.
Example:
User
โ
prepare_escalation
โ
Preview
โ
Explicit confirmation
โ
execute_escalationThe prototype does not modify persistent operational data during execution.
๐งช Example Queries
Try these in the Streamlit application:
What is the current status of ORD-1001?
Show me the account details for ACCT-001.
What is the cancellation fee for a BOOKED shipment?
Can Northstar Logistics cancel a BOOKED shipment without a fee?
What is Northstar Logistics' P1 response target?
What are the failed-pickup service-credit rules for LumenWorks?
What is the current Enterprise P1 response target?
Escalate ticket TKT-501 because the customer needs urgent assistance.For the escalation example, the agent should prepare the escalation and request confirmation before execution.
๐ฏ Product Decisions
The solution focuses on reducing support-agent effort while keeping operational actions controlled.
Key decisions:
Use MCP to separate the agent from operational tools.
Keep retrieval inside the MCP server rather than duplicating it in the UI.
Combine structured data and document retrieval.
Give customer agreements higher authority than general policies.
Require explicit confirmation for state-changing actions.
Include authorization checks at the tool layer rather than relying only on the UI.
๐ Future Improvements
If continuing development, I would prioritize:
Production authentication and tenant isolation
Persistent audit logs for every tool call and action
Real ticket/order updates through production APIs
Better retrieval evaluation and automated RAG testing
Observability for latency, tool failures, and answer quality
Approval workflows for high-impact actions
Support analytics and customer-risk detection
๐ Success Metric
A primary product metric would be:
Support resolution time per ticket
The goal would be to reduce average resolution time while maintaining high accuracy and preventing unauthorized or incorrect operational actions.
๐ Submission
Demo Video
https://drive.google.com/file/d/1gTZlT4bx4oSflD68SWqcN6-uHPtcaT8l/view?usp=sharing
Built as a ParcelPilot assessment prototype.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
AlicenseAqualityCmaintenanceEnable AI agents to work reliably - giving them secure access to structured data, tools to take action, and the context needed to make smart decisions.852,034419MIT- FlicenseBqualityDmaintenanceProvides AI agents with secure access to Salesforce data and operations, enabling natural language interaction with CRM for sales, marketing, and executive teams.65
- FlicenseNot gradedqualityAmaintenanceProvides a trust and governance layer for AI agents, enabling secure API access, credential vaulting, paid execution with human approval, and automatic call resume.82
- AlicenseNot gradedqualityDmaintenanceEnables AI-powered customer support with real-time access to CRM, ticketing, and communication tools via MCP, supporting context-aware conversations and automated actions.Apache 2.0
Related MCP Connectors
Runtime permission, approval, and audit layer for AI agent tool execution.
Shared, permission-aware company context for AI agents, with provenance, approvals and audit.
SaaS intelligence for AI agents. 5 unified tools cover 1,000+ services with 91-96% token savings.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/PraneethGoud04/parcelpilot-ai-agent'
If you have feedback or need assistance with the MCP directory API, please join our Discord server