Home / Servers / Square API / list_cards
ListCards
An MCP tool from the Square API server, hosted on mcp.hjlabs.in.
ListCards Retrieves a list of cards owned by the account making the request. A max of 25 cards will be returned. [GET /v2/cards]
Name on the gateway: square_api__list_cards · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
cursor | string | A pagination cursor returned by a previous call to this endpoint. Provide this… |
customer_id | string | Limit results to cards associated with the customer supplied. By default, all… |
include_disabled | boolean | Includes disabled cards. By default, all enabled cards owned by the merchant… |
reference_id | string | Limit results to cards associated with the reference_id supplied. |
sort_order | DESC | ASC | Sorts the returned list by when the card was created with the specified order.… |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "square_api__list_cards",
"arguments": {}
}Or connect the Square API server directly, which lists 308 tools including this one:
claude mcp add --transport http hj-square-api https://mcp.hjlabs.in/mcp/square-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the listcards tool with cursor set to ….