Home / Servers / Stripe API / post_terminal_connection_tokens

Create a Connection Token

An MCP tool from the Stripe API server, hosted on mcp.hjlabs.in.

Create a Connection Token To connect to a reader the Stripe Terminal SDK needs to retrieve a short-lived connection token from Stripe, proxied through your server. On your backend, add an endpoint that creates and returns a… [POST /v1/terminal/connection_tokens]

Name on the gateway: stripe_api__post_terminal_connection_tokens · may change things.

Parameters

NameTypeDescription
expandarraySpecifies which fields in the response should be expanded.
locationstringThe id of the location that this connection token is scoped to. If specified…

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": "stripe_api__post_terminal_connection_tokens",
  "arguments": {}
}

Or connect the Stripe API server directly, which lists 606 tools including this one:

Run in your terminal
claude mcp add --transport http hj-stripe-api https://mcp.hjlabs.in/mcp/stripe-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the create a connection token tool with expand set to ….

More from Stripe API