Skip to main content
Glama
mattcoatsworth

ShipStation API MCP Server

list_webhooks

Retrieve and manage webhook configurations from the ShipStation API MCP Server, enabling streamlined integration and automated updates for order and shipment tracking.

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 list_webhooks tool. It calls shipStationClient.getWebhooks() to fetch all webhooks and returns a formatted JSON response or an error message.
    handler: async () => { try { const webhooks = await shipStationClient.getWebhooks(); return { content: [{ type: "text", text: JSON.stringify(webhooks, null, 2) }] }; } catch (error) { return { content: [{ type: "text", text: error.message }], isError: true }; } }
  • Empty Zod schema indicating the tool requires no input parameters.
    schema: {},
  • src/server.js:174-191 (registration)
    Registration of the list_webhooks tool (included in webhookTools) to the MCP server using server.tool() in a loop over all tools.
    [ ...orderTools, ...shipmentTools, ...carrierTools, ...warehouseTools, ...productTools, ...customerTools, ...storeTools, ...webhookTools, ...fulfillmentTools ].forEach(tool => { server.tool( tool.name, tool.schema, tool.handler, { description: tool.description } ); });
  • Tool object definition for list_webhooks, exported as part of webhookTools array.
    { name: "list_webhooks", description: "List all webhooks for the account", schema: {}, handler: async () => { try { const webhooks = await shipStationClient.getWebhooks(); return { content: [{ type: "text", text: JSON.stringify(webhooks, null, 2) }] }; } catch (error) { return { content: [{ type: "text", text: error.message }], isError: true }; } } },

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