Skip to content

encodium/order-agent

Repository files navigation

Welcome to your CDK TypeScript project

This is a blank project for CDK development with TypeScript.

The cdk.json file tells the CDK Toolkit how to execute your app.

Useful commands

  • npm run build compile typescript to js
  • npm run watch watch for changes and compile
  • npm run test perform the jest unit tests
  • npx cdk deploy deploy this stack to your default AWS account/region
  • npx cdk diff compare deployed stack with current state
  • npx cdk synth emits the synthesized CloudFormation template

MCP URL: http://stg-order-mcp.revolutionparts.vpc/mcp/order

Example payload:

"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
    "name": "get-order",
    "arguments": {
    "order_number": 1074145599
    }}

Tools:

1. get-order

Retrieves detailed information about a specific order by its order number. Returns comprehensive data including:

  • Order status and substatus
  • Customer information
  • Financial details (totals, taxes, fees)
  • Shipping information
  • Timestamps and order history

Required: order_number


2. get-order-messages

Retrieves all communication related to a specific order, including:

  • Internal notes between team members
  • External communications with customers
  • Message threads and conversation history
  • Any attachments

Required: order_number, customer_id


3. get-order-activity-logs

Retrieves complete activity history for an order, showing:

  • User actions taken on the order
  • System-generated events
  • Timestamps for all activities
  • Detailed audit trail of what happened and when

Required: order_number, customer_id


4. get-order-line-items

Retrieves all products/items in a specific order with details like:

  • Product information and descriptions
  • Pricing and quantities
  • Shipping details for each item
  • Tax information
  • Individual item status

Required: order_number


5. update-order

Updates modifiable fields of an order, including:

  • Order status: New, In Progress, Exception, Ready to Fulfill, Completed
  • Order substatus: Detailed status information
  • Buyer comments/internal notes
  • Cancel reason
  • Shipping method
  • Channel status
  • Admin user assignment

Required: order_number Optional: Various fields depending on what you want to update

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published