Home / Servers / Stripe API / post_file_links

Create a file link

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

Create a file link Creates a new file link object. [POST /v1/file_links]

Name on the gateway: stripe_api__post_file_links · may change things.

Parameters

NameTypeDescription
expandarraySpecifies which fields in the response should be expanded.
expires_atintegerThe link isn't usable after this future timestamp.
file requiredstringThe ID of the file. The file's purpose must be one of the following…
metadataobjectSet of key-value pairs that you can attach to an object. This can be useful…

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_file_links",
  "arguments": {
    "file": "…"
  }
}

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 file link tool with expand set to ….

More from Stripe API