Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SANDBOX | No | Use Square sandbox environment | |
| PRODUCTION | No | Use Square production environment | |
| ACCESS_TOKEN | Yes | Your Square API access token | |
| SQUARE_VERSION | No | Specify Square API version | |
| DISALLOW_WRITES | No | Restrict to read-only operations |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| make_api_request | Unified tool for all Square API operations. Be sure to get types before calling. Available services: applepay, bankaccounts, bookingcustomattributes, bookings, cards, cashdrawers, catalog, checkout, customercustomattributes, customergroups, customersegments, customers, devices, disputes, events, giftcardactivities, giftcards, inventory, invoices, labor, locationcustomattributes, locations, loyalty, merchantcustomattributes, merchants, oauth, ordercustomattributes, orders, payments, payouts, refunds, sites, snippets, subscriptions, team, terminal, vendors, webhooksubscriptions. |
| get_type_info | Get type information for a Square API method. You must call this before calling the make_api_request tool. |
| get_service_info | Get information about a Square API service. Call me before trying to get type info |