# Cedar AI MCP for AI Agents AI Agent Connect

> Cedar AI connects your railway management system to your AI client so you can track railcars, manage waybills, and coordinate train movements through a simple chat interface. It turns complex yard logistics into conversational commands, allowing you to see your yard inventory and move cars with just a few words. This Connector helps terminal managers and logistics coordinators stay on top of their operations without the constant manual data entry.

## Overview
- **Category:** erp-operations
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_PkCPnGLHGN0B18tCS2DF9sCnbSC0482qdW1jHnam/ai-agent-connect
- **Tags:** railway-management, logistics-optimization, freight-tracking, terminal-operations, asset-management

## Description

Cedar AI connects your railway management account to any AI agent to help you coordinate rail operations and track car movements through natural conversation. Instead of jumping between different screens to see where cars are, what's on the waybills, and what work orders are still open, this Connector lets you talk to your railway data directly. You can ask your AI agent to list all the cars in the yard or check the status of a specific shipment without hunting through a database. You can record train arrivals, move cars between tracks, and update statuses like "Bad Order" or "Loaded" directly via AI commands. It's a way to keep your logistics moving without the constant manual data entry that slows down yard operations. By using Vinkius to manage this connection, you get a unified way to handle your entire railway ecosystem from any MCP-compatible client. You can monitor your fleet and coordinate movements in real-time, making it easier to keep the freight moving and the yard organized. This setup removes the need to manually copy data between systems, ensuring that your inventory remains accurate. Whether you're checking a waybill for a specific route or updating a work order for a terminal move, the information is always one prompt away. You get a faster way to manage the complex moving parts of rail logistics without the usual friction of navigating dense management software.

## Tools

### get_waybill_details
Get details for a specific waybill. This shows you shipping instructions and routes. It helps you see what's on a specific shipment.

### setout_cars
Record placement of cars. This logs when a railcar is set out on a track. It helps you track specific car movements.

### arrive_train
Record train arrival. This helps you log every train entering your facility. It keeps your yard inventory accurate in real-time.

### get_work_order_details
Get details for a specific work order. This shows the status and tasks for a movement instruction. You can check progress at a glance.

### list_inventory
List railcars currently in inventory. This shows every railcar currently in your facility. It's the fastest way to see your total yard stock.

### list_waybills
List waybills. This gives you a list of all active waybills. Use it to see what shipments are currently in the system.

### list_work_orders
List work orders. This shows all current work orders. You can monitor the lifecycle of movement instructions easily.

### pickup_cars
Record removal of cars. This logs when a railcar is picked up. It keeps your inventory counts accurate.

### update_railcar_status
Update status of a railcar. This changes a car's condition to Loaded, Empty, or Bad Order. It keeps your asset data current.

### update_work_order
Update a work order. This modifies an existing work order. Use it to change tasks or status as work progresses.

### depart_train
Record train departure. Use this to log when a train leaves your facility. It ensures your outgoing logs stay up to date.

### get_railcar_details
Get details for a specific railcar. This pulls metadata for a single unit. You can check specific IDs quickly.

## Prompt Examples

**Prompt:** 
```
List all railcars currently in the main yard inventory.
```

**Response:** 
```
I've retrieved the railcar inventory. You have 15 cars in the main yard including:

| Car ID | Status | Location |
| :--- | :--- | :--- |
| TBOX 12345 | Loaded | Main Yard A |
| BNSF 98765 | Empty | Main Yard B |
| GATX 5521 | Bad Order | Maintenance Track |

Would you like detailed metadata for any of them?
```

**Prompt:** 
```
Record a setout of cars 'TBOX 101, TBOX 102' at 'Customer Track 4'.
```

**Response:** 
```
Placement recorded! I've logged the setout for railcars **TBOX 101** and **TBOX 102** at **Customer Track 4**. The inventory status has been updated successfully in your records.
```

**Prompt:** 
```
Show me the details for waybill 'WB-88231'.
```

**Response:** 
```
Fetching waybill details... 

**WB-88231** is an active shipment with the following details:
*   **Commodity:** Lumber
*   **Origin:** Portland
*   **Destination:** Houston
*   **Route:** Via CONSIST-102
*   **Equipment:** 3 flatcars

Would you like to see the movement history?
```

## Capabilities

### List all railcars in your yard inventory
See every car currently in your facility with a single command.

### Record train arrivals and departures
Log train movements to keep your yard operations in sync.

### Query waybill details
Get shipping instructions, routes, and commodity data instantly.

### Update railcar statuses
Change car conditions to Loaded, Empty, or Bad Order via chat.

### Track and manage work orders
Monitor and update the lifecycle of all movement instructions.

### Log car placements and removals
Record setouts and pickups at specific tracks to maintain accuracy.

## Use Cases

### Checking yard inventory for a specific unit
A terminal manager needs to know what's in the yard. They ask the AI to list all cars and then check the status of a specific Bad Order unit using get_railcar_details.

### Logging a new shipment arrival
A coordinator uses arrive_train to log a new entry and then queries list_waybills to see what needs to be unloaded from the shipment.

### Moving cars to customer tracks
An operator tells the AI to use setout_cars to move two specific units to Customer Track 4, updating the yard status instantly.

### Updating completed work orders
A fleet manager sees a completed task and uses update_work_order to mark it as finished in the system without opening the management app.

## Benefits

- Get instant visibility into yard inventory by using list_inventory to see every car in your facility.
- Update railcar conditions like Loaded or Bad Order quickly with update_railcar_status.
- Track freight movement accurately by querying waybill data using get_waybill_details.
- Keep operations in sync by recording arrivals and departures with arrive_train and depart_train.
- Manage complex logistics tasks by viewing and modifying work orders with list_work_orders and update_work_order.
- Record precise car movements at specific tracks using setout_cars and pickup_cars.

## How It Works

The bottom line is you get a conversational interface for your railway logistics data.

1. Subscribe to the Cedar AI MCP on Vinkius.
2. Add your Cedar AI API Key from your developer settings.
3. Ask your AI client to check your inventory or move cars.

## Frequently Asked Questions

**What can I do with the Cedar AI MCP?**
You can use it to manage your entire railway logistics workflow. This includes tracking railcar inventory, logging train movements, and checking waybill details through a simple chat interface.

**How does Cedar AI help with railcar tracking?**
It gives you real-time visibility into your yard. You can quickly check which cars are in your inventory, see their current status, and move them between tracks using natural language.

**Can I use Cedar AI to manage waybills?**
Yes. You can query specific waybills to see shipping instructions, routes, and commodity data without having to dig through your management software's database.

**Can I update railcar statuses like Bad Order?**
Absolutely. You can tell your AI agent to update a railcar's condition to Loaded, Empty, or Bad Order, and it will update your records immediately.

**How do I connect my railway data to an AI agent?**
You just need to subscribe to the Cedar AI MCP on Vinkius and provide your API key. From there, your AI client can interact with your railway data directly.

**Can Cedar AI handle train arrivals and departures?**
Yes, it can record both arrivals and departures. This helps keep your yard inventory and operational logs synchronized as freight moves through your facility.

**Is Cedar AI good for terminal managers?**
It's specifically designed for terminal managers and rail operators. It streamlines the way you monitor yard inventory and coordinate car movements during busy shifts.

**Can I record a railcar movement via AI?**
Yes! Use the `setout_cars` tool to record placement or `pickup_cars` for removal. Provide the location name and a list of railcar IDs to log the movement instantly.

**How do I see the latest waybills for my shipments?**
Run the `list_waybills` query. The agent will retrieve a history of active and completed shipping instructions, including route details and commodity info.

**Is it possible to check the status of a specific work order via AI?**
Absolutely. Use the `get_work_order_details` tool with the Work Order ID to retrieve the current status, assigned tasks, and completion progress.