Skip to main content
Glama
mattcoatsworth

ShipStation API MCP Server

reactivate_store

Reactivate a specific store in the ShipStation API by providing its unique store ID, enabling continued management of orders, shipments, and fulfillments.

Input Schema

NameRequiredDescriptionDefault
storeIdYesStore ID to reactivate

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "storeId": { "description": "Store ID to reactivate", "type": "number" } }, "required": [ "storeId" ], "type": "object" }

Implementation Reference

  • The main execution logic for the 'reactivate_store' tool. It calls the ShipStation API client to reactivate the store and returns formatted success or error response.
    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 required input parameter 'storeId' as a number.
    schema: { storeId: z.number().describe("Store ID to reactivate") },
  • src/server.js:184-191 (registration)
    The MCP server registration code that registers the 'reactivate_store' tool (included in storeTools array) by calling server.tool() with its name, schema, handler, and description.
    ].forEach(tool => { server.tool( tool.name, tool.schema, tool.handler, { description: tool.description } ); });
  • The ShipStationClient helper method that performs the actual HTTP POST request to the ShipStation API endpoint '/stores/reactivate'.
    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