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

NameTypeDescription
cursorstringA pagination cursor returned by a previous call to this endpoint. Provide this…
customer_idstringLimit results to cards associated with the customer supplied. By default, all…
include_disabledbooleanIncludes disabled cards. By default, all enabled cards owned by the merchant…
reference_idstringLimit results to cards associated with the reference_id supplied.
sort_orderDESC | ASCSorts 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:

call_tool arguments
{
  "name": "square_api__list_cards",
  "arguments": {}
}

Or connect the Square API server directly, which lists 308 tools including this one:

Run in your terminal
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 ….

More from Square API