eBay Shopper MCP Server for Mastra AI 10 tools — connect in under 2 minutes
Mastra AI is a TypeScript-native agent framework built for modern web stacks. Connect eBay Shopper 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
Vinkius supports streamable HTTP and SSE.
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: {
"ebay-shopper": {
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
},
});
const tools = await mcpClient.getTools();
const agent = new Agent({
name: "eBay Shopper Agent",
instructions:
"You help users interact with eBay Shopper " +
"using 10 tools.",
model: openai("gpt-4o"),
tools,
});
const result = await agent.generate(
"What can I do with eBay Shopper?"
);
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 eBay Shopper MCP Server
Connect eBay Shopper to any AI agent via MCP.
How to Connect eBay Shopper to Mastra AI via MCP
Follow these steps to integrate the eBay Shopper MCP Server with Mastra AI.
Install dependencies
Run npm install @mastra/core @mastra/mcp @ai-sdk/openai
Replace the token
Replace [YOUR_TOKEN_HERE] with your Vinkius token
Run the agent
Save to agent.ts and run with npx tsx agent.ts
Explore tools
Mastra discovers 10 tools from eBay Shopper via MCP
Why Use Mastra AI with the eBay Shopper MCP Server
Mastra AI provides unique advantages when paired with eBay Shopper through the Model Context Protocol.
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add eBay Shopper 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 eBay Shopper 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
eBay Shopper + Mastra AI Use Cases
Practical scenarios where Mastra AI combined with the eBay Shopper MCP Server delivers measurable value.
Automated workflows: build multi-step agents that query eBay Shopper, process results, and trigger downstream actions in a typed pipeline
SaaS integrations: embed eBay Shopper as a first-class tool in your product's AI features with Mastra's clean agent API
Background jobs: schedule Mastra agents to query eBay Shopper on a cron and store results in your database automatically
Multi-agent systems: create specialist agents that collaborate using eBay Shopper tools alongside other MCP servers
eBay Shopper MCP Tools for Mastra AI (10)
These 10 tools become available when you connect eBay Shopper to Mastra AI via MCP:
get_categories
Optional parentId filters to subcategories. Use this to discover available categories or navigate the eBay catalog structure. List eBay product categories and subcategories
get_item_compatibility
Essential for auto parts buyers to verify fitment before purchase. Get vehicle compatibility information for an auto parts listing
get_item_details
The itemId is obtained from search results. Use this to get complete product specs before purchasing or comparing. Get full details for a specific eBay item by its ID
get_item_rating
Use this for a quick quality assessment without reading individual reviews. Get aggregated rating summary for an eBay item
get_item_reviews
Returns rating (1-5), review text, reviewer name, and date. Use this to assess product quality and customer satisfaction before buying. Get customer reviews and ratings for a specific eBay item
get_merchant_item_details
Similar to get_item_details but with merchant-focused data. Use this for inventory research. Get item details from the merchant perspective
get_shipping_estimate
Use this to calculate total cost before buying. Get estimated shipping cost and delivery date for an item
search_by_category
g., Electronics, Fashion, Motors). Requires categoryId from get_categories endpoint. Useful for browsing specific sections of eBay. Search for items within a specific eBay category
search_by_image
Useful when you know what something looks like but not its name or model. Returns visually similar items with prices and details. Search eBay for visually similar items using an image URL
search_items
Returns a list of matching items with title, price, condition, image URL, and item ID. Use optional parameters: limit (max 10), offset (pagination), sort (BestMatch, price, etc.). Ideal for finding products, comparing prices, or discovering available inventory. Search for items on eBay by keyword, brand, or product name
Troubleshooting eBay Shopper MCP Server with Mastra AI
Common issues when connecting eBay Shopper to Mastra AI through the Vinkius, and how to resolve them.
createMCPClient not exported
npm install @mastra/mcpeBay Shopper + Mastra AI FAQ
Common questions about integrating eBay Shopper 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?
Connect eBay Shopper with your favorite client
Step-by-step setup guides for every MCP-compatible client and framework:
Anthropic's native desktop app for Claude with built-in MCP support.
AI-first code editor with integrated LLM-powered coding assistance.
GitHub Copilot in VS Code with Agent mode and MCP support.
Purpose-built IDE for agentic AI coding workflows.
Autonomous AI coding agent that runs inside VS Code.
Anthropic's agentic CLI for terminal-first development.
Python SDK for building production-grade OpenAI agent workflows.
Google's framework for building production AI agents.
Type-safe agent development for Python with first-class MCP support.
TypeScript toolkit for building AI-powered web applications.
TypeScript-native agent framework for modern web stacks.
Python framework for orchestrating collaborative AI agent crews.
Leading Python framework for composable LLM applications.
Data-aware AI agent framework for structured and unstructured sources.
Microsoft's framework for multi-agent collaborative conversations.
Connect eBay Shopper to Mastra AI
Get your token, paste the configuration, and start using 10 tools in under 2 minutes. No API key management needed.
