Skip to main content
Glama
mattcoatsworth

ShipStation API MCP Server

list_marketplaces

Retrieve a list of available marketplaces to manage order and fulfillment integrations with the ShipStation API for streamlined e-commerce operations.

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": {}, "type": "object" }

Implementation Reference

  • The tool handler that invokes shipStationClient.getMarketplaces() and formats the response as MCP content or error.
    handler: async () => { try { const marketplaces = await shipStationClient.getMarketplaces(); return { content: [{ type: "text", text: JSON.stringify(marketplaces, null, 2) }] }; } catch (error) { return { content: [{ type: "text", text: error.message }], isError: true }; } }
  • API client method that performs the GET request to ShipStation's /stores/marketplaces endpoint.
    async getMarketplaces() { return this.request('GET', '/stores/marketplaces'); }
  • Empty Zod schema indicating no input parameters are required for the tool.
    schema: {},
  • src/server.js:174-191 (registration)
    The loop that registers all tools by spreading the storeTools array (which contains list_marketplaces) and calling server.tool for each.
    [ ...orderTools, ...shipmentTools, ...carrierTools, ...warehouseTools, ...productTools, ...customerTools, ...storeTools, ...webhookTools, ...fulfillmentTools ].forEach(tool => { server.tool( tool.name, tool.schema, tool.handler, { description: tool.description } ); });

Latest Blog Posts

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/mattcoatsworth/shipstation-mcp-server'

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