Skip to main content
Glama
mattcoatsworth

ShipStation API MCP Server

list_stores

Retrieve a list of connected stores from the ShipStation API to manage and organize store data efficiently using the MCP server.

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 handler function that implements the core logic of the 'list_stores' tool. It retrieves all connected stores via the ShipStation API client and returns the JSON-formatted list or an error.
    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 input schema for the 'list_stores' tool, which is empty as no parameters are required.
    schema: {},
  • src/server.js:174-191 (registration)
    The registration code that spreads the storeTools array (containing 'list_stores') along with other tools and registers each 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