ShipSmart MCP Server
Allows AI assistants to interact with a logistics management system through MCP tools, wrapping an existing FastAPI backend that manages orders, shipments, warehouses, and package tracking.
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., "@ShipSmart MCP Servertrack package SHIP-12345"
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.
š ShipSmart MCP Server
ShipSmart is a sample Logistics AI Backend that demonstrates how to expose an existing FastAPI application as an MCP (Model Context Protocol) Server.
The project simulates a logistics company that manages customer orders, shipments, warehouses, and package tracking. A FastAPI backend exposes REST APIs, while an MCP server wraps those APIs so AI assistants (such as Claude Desktop, Cursor, or MCP Inspector) can interact with the logistics system using standardized MCP tools.
This project demonstrates how to build AI-ready applications without modifying existing business logic.
šļø Architecture

The MCP server does not access the database directly. Instead, it communicates with the FastAPI backend over HTTP, demonstrating how existing applications can be made AI-accessible without changing their internal architecture.
⨠Features
FastAPI REST backend
SQLite database using SQLAlchemy ORM
MCP Server built using FastMCP
AI-accessible logistics operations
Sample logistics dataset
Layered architecture (API ā Services ā Database)
MCP Tools
MCP Resources
MCP Prompt
š Project Structure
logistics-mcp-server/
ā
āāā app/
ā āāā api/ # FastAPI routes
ā āāā database/ # Database connection, models and seed script
ā āāā mcp_server/
ā ā āāā api_client.py # Calls FastAPI endpoints
ā ā āāā server_v1.py # MCP Server using official MCP SDK
ā ā āāā server_v2.py # MCP Server using FastMCP package
ā āāā schemas/ # Pydantic models
ā āāā services/ # Business logic
ā
āāā client/
ā āāā streamlit_app.py # Streamlit client application connecting to MCP Server
ā
āāā requirements.txt
āāā .env
āāā README.md
š MCP Tools
The following tools are exposed through the MCP Server.
Tool | Description |
get_order_details | Retrieve complete order information |
search_orders | Search orders by customer, city or status |
track_package | Retrieve shipment tracking details |
cancel_order | Cancel an order |
reschedule_delivery | Update the estimated delivery date |
find_warehouse | Find warehouse serving a city |
š MCP Resources
The project also exposes static resources.
Resource | Description |
company://shipping-policy | Company shipping policy |
company://supported-couriers | Supported courier partners |
company://warehouse-locations | Warehouse locations |
š¬ MCP Prompt
Prompt | Description |
summarize_tracking | Generates a professional customer-friendly shipment update from tracking information |
š Database
The project uses SQLite for simplicity.
Main entities:
Customer
Order
OrderItem
Shipment
TrackingHistory
Warehouse
š Running the Project
1. Clone the repository
git clone <repository-url>
cd logistics-mcp-serverRelated MCP server: Logistics AI MCP
2. Create a virtual environment
Windows
python -m venv .venv
.venv\Scripts\activateLinux / macOS
python3 -m venv .venv
source .venv/bin/activate3. Install dependencies
pip install -r requirements.txt4. Create the database
python -m app.database.create_db5. Seed sample data
python -m app.database.seedThis populates the database with sample:
Customers
Orders
Shipments
Tracking history
Warehouses
6. Start the FastAPI server
uvicorn app.api.main:app --reloadSwagger UI
http://localhost:8000/docs7. Start the MCP Server
ShipSmart MCP Server contains two implementations:
MCP Server Implementations
File | Implementation | Import Used | Usage |
| Official MCP SDK FastMCP |
| Basic MCP server implementation |
| FastMCP package |
| Used with the Streamlit + Gemini client |
The Streamlit application connects to server_v2.py.
Running servers
To start the MCP server:
python -m app.mcp_server.server_v1
#OR
python -m app.mcp_server.server_v2Testing MCP Tools
You can test the MCP servers independently using the MCP Inspector:
mcp dev app/mcp_server/sever_v1.py
#OR
fastmcp dev inspector app/mcp_server/server_v2.pyThe MCP Inspector allows you to test the available tools and verify that the server is exposing the expected MCP functionality.
8. Start the Streamlit Client
The Streamlit application acts as an MCP client and connects to server_v2.py.
Run:
streamlit run client/streamlit_app.pyš” Example Questions for an AI Assistant
Once connected to the MCP Server, an AI assistant can answer questions like:
Where is my order ORD-1001?
Show me the tracking history for ORD-1002.
Cancel order ORD-1003.
Reschedule delivery for ORD-1004 to next Monday.
Find the warehouse responsible for Pune.
Search all delivered orders for Alice.
š§ Why MCP?
Without MCP, every AI application would need custom integration code for each backend service.
MCP provides a standard interface that allows AI assistants to discover and invoke application capabilities through Tools, Resources, and Prompts.
This enables existing business applications to become AI-accessible with minimal changes.
š Tech Stack
Python
FastAPI
SQLAlchemy
SQLite
Pydantic
HTTPX
FastMCP (Model Context Protocol)
Faker
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
- AlicenseAqualityDmaintenanceThe first logistics/WMS MCP server for AI agents. Rate shopping, inventory management, order tracking, fleet logistics, AI-powered route optimization, demand forecasting, and supply chain analytics. 18 tools across 3 tiers.Last updated20281MIT
- Alicense-qualityAmaintenanceProvides supply chain and shipping tools including shipment tracking, route optimization, warehouse inventory management, delivery ETA estimation, and customs documentation. Enables logistics operations through natural language interactions with Claude.Last updated27MIT
- Alicense-qualityDmaintenanceEnables AI assistants to query flight routes, real-time flight tracking, weather, and transfer flights via standardized MCP tools.Last updatedMIT
- Flicense-qualityDmaintenanceEnables AI assistants to manage products, shopping carts, and orders in an online store through a well-defined MCP API.Last updated
Related MCP Connectors
Connect e-commerce and marketing data to AI assistants via MCP.
100+ MCP tools for AI agents: content metadata, trade intelligence, business-expertise analysis.
Connect any AI agent to 11+ social platforms: schedule, publish & track posts via hosted MCP.
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/wickedseer/logistics-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server