Connect
Optimize
Secure
Announcing StackOne Defender: leading open-source prompt injection guard for your agent • Read More →
Production-ready Square MCP server with 125 extensible actions — plus built-in authentication, security, and optimized execution.
Coverage
Create, read, update, and delete across Square — and extend your agent's capabilities with custom actions.
Authentication
Per-user OAuth in one call. Your Square MCP server gets session-scoped tokens with zero credentials stored on your infra.
Agent Auth →Security
Every Square tool response scanned for prompt injection in milliseconds — 88.7% accuracy, all running on CPU.
Prompt Injection Defense →Performance
Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every Square call.
Tools Discovery →A Square MCP server lets AI agents read and write Square data through the Model Context Protocol — Anthropic's open standard for connecting LLMs to external tools. StackOne's Square MCP server ships with 125 pre-built actions, fully extensible via the Connector Builder — plus managed authentication, prompt injection defense, and optimized agent context. Connect it from MCP clients like Claude Desktop, Cursor, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.
Every action from Square's API, ready for your agent. Create, read, update, and delete — scoped to exactly what you need.
Create a payment using a payment source such as a card or gift card
Retrieve a paginated list of payments taken by the account
Retrieve details for a specific payment by ID
Update a payment with APPROVED status to modify tip or amount
Retrieve a paginated list of refunds for the account
Retrieve details of a specific refund by ID
Create a new order for a location
Create a new order by cloning an existing order
Search for orders across one or more locations with filters
Retrieve an order by its ID
Update an open order by adding, replacing, or deleting fields
Retrieve multiple orders by their IDs in a single request
Create a new customer profile for the business
Retrieve a paginated list of all customer profiles for the account
Search customer profiles by phone, email, name, or custom attributes
Retrieve a specific customer profile by ID
Update an existing customer profile
Delete a customer profile from the business
Create a new customer group for the business
Retrieve a list of all customer groups for the business
Retrieve a specific customer group by ID
Update an existing customer group's name
Delete a customer group from the business
Retrieve a list of all customer segments for the business
Retrieve a specific customer segment by ID
Search for catalog objects by supported attribute values
Retrieve a single catalog object by ID
Retrieve multiple catalog objects by their IDs in a single request
Delete multiple catalog objects in a single request
Delete a single catalog object and its children
Create or update up to 10,000 catalog objects in a single request
Create or update a single catalog object
Retrieve current inventory counts for a specific catalog object
Retrieve current inventory counts for multiple catalog objects at specific locations
Create a new location for the seller account
Retrieve all seller locations for the account
Retrieve details of a specific location by ID
Update an existing location's settings and information
Retrieve the merchant profile for the account
Retrieve a specific merchant's profile by ID
Retrieve a paginated list of all payouts for the seller's default or specified location
Retrieve details of a specific payout by its ID
Create a draft invoice for an order
Publish a draft invoice to send it to the customer
Retrieve a list of invoices for a given location
Search for invoices by location, customer, or status
Retrieve an invoice by its ID
Update a draft or scheduled invoice
Delete a draft invoice
Enroll a customer in a subscription plan
Search for subscriptions by customer, location, or plan
Retrieve a specific subscription by ID
Modify or clear field values on an active subscription
Add a card on file to an existing customer or merchant
Retrieve a list of cards on file for the account
Retrieve details of a specific card on file by ID
Create a digital gift card or register a physical gift card
Retrieve a list of gift cards for the account
Retrieve a gift card by its ID
Create a new team member for the seller account
Search for team members by location, status, or other criteria
Retrieve a team member by ID
Update an existing team member's information
Create a new job definition for the seller account
Retrieve a list of all jobs defined for the seller account
Retrieve a specific job definition by its ID
Update an existing job definition by its ID
Retrieve the wage setting for a team member
Create or update the wage setting for a team member
Create a new break type for team member shifts
Retrieve a list of all break types for the seller account
Retrieve a specific break type by ID
Update an existing break type by ID
Delete a break type by ID
Create a new timecard for a team member at a location
Search for timecard records with filters for team member and date range
Retrieve a specific timecard by ID
Update an existing timecard by ID
Delete a timecard by ID
Retrieve a list of disputes associated with the account
Retrieve details about a specific dispute by ID
Retrieve all evidence submitted for a dispute
Retrieve metadata for a specific piece of dispute evidence
Remove a specific piece of evidence from a dispute before submission
Retrieve a list of bank accounts linked to the Square account
Retrieve details of a specific bank account by ID
Create a Square-hosted checkout page with a shareable payment link
Retrieve a list of all payment links for the account
Retrieve a specific payment link by its token ID
Update an existing payment link's settings
Delete a payment link permanently
Add a group membership to a customer profile
Create an activity (activate, load, redeem, adjust, etc.) on a gift card
Upload text-based evidence to contest a dispute
Retrieve a paginated list of all catalog objects for the account
Search for catalog items or item variations by specific attributes
Retrieve a specific inventory adjustment by its ID
Retrieve a specific inventory physical count record by its ID
Retrieve all payout entries for a specific payout
Retrieve a paginated list of events for a specific subscription
Retrieve a gift card using the gift card account number (GAN)
Retrieve a list of gift card activities for a specific gift card or across all gift cards
Retrieve a list of inventory changes for catalog objects at specific locations
Apply adjustments and counts to catalog object quantities
Remove a group membership from a customer profile
Cancel (void) a payment by its ID
Cancel a payment using the original idempotency key when the payment ID is unknown
Complete (capture) a payment that was created with autocomplete set to false
Refund a payment, either fully or partially
Pay for an order using one or more approved payments
Preview order pricing without creating an order
Create up to 100 customer profiles in a single request
Retrieve up to 100 customer profiles by ID in a single request
Update up to 100 customer profiles in a single request
Delete up to 100 customer profiles in a single request
Cancel a published invoice
Schedule a cancellation for an active subscription
Resume a paused or canceled subscription
Disable a card on file to prevent further charges
Link a customer to a gift card to associate it with their account
Unlink a customer from a gift card to remove the association
Create multiple team members in a single request
Update multiple team members in a single request
Accept the loss on a dispute without submitting evidence
Submit collected evidence to contest a dispute
One endpoint. Any framework. Your agent is talking to Square in under 10 lines of code.
MCP Clients
Agent Frameworks
{
"mcpServers": {
"stackone": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://api.stackone.com/mcp?x-account-id=<account_id>",
"--header",
"Authorization: Basic <YOUR_BASE64_TOKEN>"
]
}
}
}162+ actions
133+ actions
125+ actions
120+ actions
73+ actions
69+ actions
66+ actions
Anthropic's code_execution processes data already in context. Custom MCP code mode keeps raw tool responses in a sandbox. 14K tokens vs 500.
11 min
Benchmarking BM25, TF-IDF, and hybrid search for MCP tool discovery across 916 tools. The 80/20 TF-IDF/BM25 hybrid hits 21% Top-1 accuracy in under 1ms.
10 min
MCP tools that read emails, CRM records, and tickets are indirect prompt injection vectors. Here's how we built a two-tier defense that scans tool results in ~11ms.
12 min
origin_owner_id.All the tools you need to build and scale AI agent integrations, with best-in-class connectivity, execution, and security.