ShipStation MCP Server for Mastra AIGive Mastra AI instant access to 28 tools to Add Funds, Add Tag To Order, Create Label For Order, and more
Mastra AI is a TypeScript-native agent framework built for modern web stacks. Connect ShipStation through Vinkius and Mastra agents discover all tools automatically. type-safe, streaming-ready, and deployable anywhere Node.js runs.
Ask AI about this MCP Server for Mastra AI
The ShipStation MCP Server for Mastra AI is a standout in the Ecommerce category — giving your AI agent 28 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
import { Agent } from "@mastra/core/agent";
import { createMCPClient } from "@mastra/mcp";
import { openai } from "@ai-sdk/openai";
async function main() {
// Your Vinkius token. get it at cloud.vinkius.com
const mcpClient = await createMCPClient({
servers: {
"shipstation": {
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
},
});
const tools = await mcpClient.getTools();
const agent = new Agent({
name: "ShipStation Agent",
instructions:
"You help users interact with ShipStation " +
"using 28 tools.",
model: openai("gpt-4o"),
tools,
});
const result = await agent.generate(
"What can I do with ShipStation?"
);
console.log(result.text);
}
main();
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About ShipStation MCP Server
Connect your ShipStation account to any AI agent and take full control of your e-commerce logistics and fulfillment workflows through natural conversation.
Mastra's agent abstraction provides a clean separation between LLM logic and ShipStation tool infrastructure. Connect 28 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
What you can do
- Order Management — List, create, and fetch detailed information for orders across all your connected stores.
- Carrier Logistics — List connected carriers, check account balances, and retrieve supported packages and services.
- Shipping Rates & Labels — Get real-time shipping rates and generate labels for orders or manual shipments instantly.
- Fulfillment Operations — Mark orders as shipped, void labels, and manage order tags to keep your workflow organized.
- Store & Warehouse Sync — List and update store configurations and manage warehouse locations for accurate inventory tracking.
The ShipStation MCP Server exposes 28 tools through the Vinkius. Connect it to Mastra AI in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 28 ShipStation tools available for Mastra AI
When Mastra AI connects to ShipStation through Vinkius, your AI agent gets direct access to every tool listed below — spanning shipping-labels, carrier-integration, logistics-automation, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
Add funds on ShipStation
Add funds to a carrier account
Add tag to order on ShipStation
Add a tag to an order
Create label for order on ShipStation
Create a shipping label for an order
Create order on ShipStation
Create or update an order
Create shipment label on ShipStation
Create a manual shipment label
Get carrier on ShipStation
Get carrier details and balance
Get customer on ShipStation
Get customer details
Get order on ShipStation
Get a single order by ID
Get rates on ShipStation
Get shipping rates
Get store on ShipStation
Get store details
List carriers on ShipStation
List all connected carriers
List customers on ShipStation
List customers with filters
List orders on ShipStation
List orders with filters
List orders by tag on ShipStation
List orders by status and tag
List packages on ShipStation
List packages for a carrier
List services on ShipStation
List services for a carrier
List shipments on ShipStation
List shipments (generated labels)
List stores on ShipStation
List stores
List tags on ShipStation
List all account tags
List warehouses on ShipStation
List warehouses (Ship From Locations)
List webhooks on ShipStation
List webhooks
Mark as shipped on ShipStation
Mark an order as shipped
Register account on ShipStation
Register a new ShipStation account
Remove tag from order on ShipStation
Remove a tag from an order
Subscribe webhook on ShipStation
Subscribe to a webhook
Unsubscribe webhook on ShipStation
Unsubscribe from a webhook
Update store on ShipStation
Update a store
Void label on ShipStation
Void a shipping label
Connect ShipStation to Mastra AI via MCP
Follow these steps to wire ShipStation into Mastra AI. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install dependencies
npm install @mastra/core @mastra/mcp @ai-sdk/openaiReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenRun the agent
agent.ts and run with npx tsx agent.tsExplore tools
Why Use Mastra AI with the ShipStation MCP Server
Mastra AI provides unique advantages when paired with ShipStation through the Model Context Protocol.
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add ShipStation without touching business code
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
TypeScript-native: full type inference for every ShipStation tool response with IDE autocomplete and compile-time checks
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
ShipStation + Mastra AI Use Cases
Practical scenarios where Mastra AI combined with the ShipStation MCP Server delivers measurable value.
Automated workflows: build multi-step agents that query ShipStation, process results, and trigger downstream actions in a typed pipeline
SaaS integrations: embed ShipStation as a first-class tool in your product's AI features with Mastra's clean agent API
Background jobs: schedule Mastra agents to query ShipStation on a cron and store results in your database automatically
Multi-agent systems: create specialist agents that collaborate using ShipStation tools alongside other MCP servers
Example Prompts for ShipStation in Mastra AI
Ready-to-use prompts you can give your Mastra AI agent to start working with ShipStation immediately.
"List all orders with status 'awaiting_shipment' from the last 24 hours."
"Get the full details for order ID 123456789."
"List all connected carriers and their current balances."
Troubleshooting ShipStation MCP Server with Mastra AI
Common issues when connecting ShipStation to Mastra AI through Vinkius, and how to resolve them.
createMCPClient not exported
npm install @mastra/mcpShipStation + Mastra AI FAQ
Common questions about integrating ShipStation MCP Server with Mastra AI.
How does Mastra AI connect to MCP servers?
MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.Can Mastra agents use tools from multiple servers?
Does Mastra support workflow orchestration?
Explore More MCP Servers
View all →
Scoro
12 toolsBring your Scoro end-to-end work management platform into your AI workflows — query projects, invoices, and time logs seamlessly.

VTEX Orders
6 toolsSearch, track, invoice, and cancel orders on your VTEX store — manage your entire order lifecycle from any AI agent.

GitHub
12 toolsManage repositories, pull requests, issues, and CI/CD workflows on the world largest developer collaboration platform.

Coda
11 toolsCombine docs, spreadsheets, and apps into powerful all-in-one documents that grow with your team and automate routine work.
