Skip to main content
Glama
mattcoatsworth

ShipStation API MCP Server

list_stores

Retrieve all connected e-commerce stores and marketplaces from ShipStation to manage sales channels and order sources.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'list_stores' tool. It fetches all stores using shipStationClient.getStores() and returns the JSON stringified result or an error message.
    handler: async () => {
      try {
        const stores = await shipStationClient.getStores();
        return {
          content: [{ type: "text", text: JSON.stringify(stores, null, 2) }]
        };
      } catch (error) {
        return {
          content: [{ type: "text", text: error.message }],
          isError: true
        };
      }
    }
  • The schema for the 'list_stores' tool, which is empty as the tool requires no input parameters.
    schema: {},
  • src/server.js:174-191 (registration)
    The registration block where the 'storeTools' array (containing 'list_stores') is spread and each tool is registered with the MCP server using server.tool().
    [
      ...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