Skip to main content
Glama
mattcoatsworth

ShipStation API MCP Server

reactivate_store

Reactivate a deactivated store in ShipStation by providing its store ID to restore order processing and shipping functionality.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
storeIdYesStore ID to reactivate

Implementation Reference

  • The main handler function for the 'reactivate_store' MCP tool. It receives storeId, calls the ShipStation API via shipStationClient.reactivateStore, formats the result as JSON text response, or returns error.
    handler: async ({ storeId }) => { try { const result = await shipStationClient.reactivateStore(storeId); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] }; } catch (error) { return { content: [{ type: "text", text: error.message }], isError: true }; } }
  • Zod schema defining the input parameter 'storeId' as a number for the reactivate_store tool.
    schema: { storeId: z.number().describe("Store ID to reactivate") },
  • src/server.js:175-191 (registration)
    MCP server registration of all tools, spreading the storeTools array (which includes 'reactivate_store') 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 } ); });
  • ShipStationClient helper method that performs the actual POST request to reactivate a store by ID.
    async reactivateStore(storeId) { return this.request('POST', '/stores/reactivate', { storeId }); }

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