Home / Servers / Stripe API / post_account_sessions
Create an Account Session
An MCP tool from the Stripe API server, hosted on mcp.hjlabs.in.
Create an Account Session Creates an AccountSession object that includes a single-use token that the platform can use on their front-end to grant client-side API access. [POST /v1/account_sessions]
Name on the gateway: stripe_api__post_account_sessions · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
account required | string | The identifier of the account to create an Account Session for. |
components required | object | Each key of the dictionary represents an embedded component, and each embedded… |
expand | array | Specifies which fields in the response should be expanded. |
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": "stripe_api__post_account_sessions",
"arguments": {
"account": "…",
"components": "…"
}
}Or connect the Stripe API server directly, which lists 606 tools including this one:
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 an account session tool with account set to ….