Skip to main content
Glama

ScanPower MCP Server

Official
by scanpower
types.ts1.07 kB
// MCP Protocol Types export interface MCPRequest { jsonrpc: "2.0"; id: string | number; method: string; params?: Record<string, any>; } export interface MCPResponse { jsonrpc: "2.0"; id: string | number; result?: any; error?: MCPError; } export interface MCPError { code: number; message: string; data?: any; } // ScanPower API Types export interface ScanPowerCredentials { apiKey: string; baseUrl: string; } export interface InventoryItem { sku: string; asin?: string; title: string; quantity: number; condition?: string; price?: number; cost?: number; } export interface ShipmentPlan { id: string; name: string; status: string; items: InventoryItem[]; destination?: string; createdAt: string; updatedAt: string; } export interface ApiResponse<T = any> { success: boolean; data?: T; error?: string; message?: string; } // Logging Types export interface RequestLog { timestamp: string; method: string; path: string; statusCode: number; duration: number; userAgent?: string; ip?: string; }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/scanpower/scanmcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server