MCP Hub
Back to servers

Parcel MCP Server

A mock MCP server for small parcel operations, providing tools to track packages, manage delivery exceptions, and handle recipient issues for use with Salesforce Agentforce.

glama
Updated
May 9, 2026

Parcel MCP Server

A mock MCP (Model Context Protocol) server that simulates small parcel and package operations. Designed for use with Salesforce Agentforce, it exposes 12 tools covering the common actions a driver or package processing centre would need to remedy recipient issues.

Live Server

Hosted on Railway — always on, no setup required.

Health checkhttps://parcel-mcp-server-production.up.railway.app/health
MCP endpointhttps://parcel-mcp-server-production.up.railway.app/mcp
OAuth token URLhttps://parcel-mcp-server-production.up.railway.app/oauth/token

Salesforce Agentforce Registry Connection

To register this server in the Salesforce Agentforce Registry, use the following settings:

FieldValue
MCP Server NameParcel MCP Server
Server URLhttps://parcel-mcp-server-production.up.railway.app/mcp
Authentication MethodOAuth 2.0
Identity Provider URLhttps://parcel-mcp-server-production.up.railway.app/oauth/token
Scoperead
Client IDany value
Client Secretany value

The OAuth endpoint is a mock — it accepts any client ID and secret and returns a valid bearer token.

Tools

ToolDescription
track_packageLook up status, location history, and delivery details by tracking number
list_packages_for_driverList all packages assigned to a driver with status and recipient info
update_delivery_statusLog delivery attempts, exceptions, or completions
correct_delivery_addressSubmit a corrected address for an invalid or undeliverable package
schedule_redeliveryBook a redelivery with preferred date and time window
request_hold_for_pickupHold a package at the nearest facility for recipient pickup
initiate_return_to_senderMark a package for return with a reason code
update_recipient_contactUpdate phone or email for delivery notifications
report_damaged_packageFile a damage claim with severity level
get_facility_infoGet hours, address, and accessibility info for the holding facility
send_delivery_notificationSend SMS or email notification to the recipient
get_route_summaryGet a driver's route stats — delivered, pending, exceptions

Mock Data

Four packages are pre-loaded covering the main exception scenarios:

Tracking #StatusScenario
PKG-001OUT_FOR_DELIVERYNormal delivery in progress
PKG-002DELIVERY_EXCEPTIONAddress not found, buzzer issue
PKG-003HELD_AT_FACILITYMax attempts reached, awaiting pickup
PKG-004PENDING_ADDRESS_CORRECTIONInvalid ZIP code

Two drivers are also pre-loaded: DRV-101 (Route A) and DRV-102 (Route B).

Running Locally

No npm install required — the server uses only Node.js built-ins.

node server.js
# Server runs on http://localhost:3333

Or use the included launcher which starts the server and an ngrok tunnel together:

bash launch.command

The launcher prints your public ngrok URL and the Salesforce connection settings automatically.

Redeploying to Railway

Any changes to server.js can be redeployed with:

railway up

Make sure you have the Railway CLI installed and are logged in (railway login).

Reviews

No reviews yet

Sign in to write a review