Fistron docs

fistron.io

Create an API token

A personal API token acts as you, with your roles, where there is no browser: fistron mcp --engineer --control-plane for your coding assistant’s tool project_work (Use Fistron from your coding assistant), the command line, your scripts. It is shown once; Fistron keeps only its hash.

Before you start

Create a token

  1. Click Your API tokens at the top, next to Sign out.

  2. Under Create a personal token, give it a Name after where you will use it (the machine or the tool) and how many days it is Valid for (days) (1 to 366; 90 by default).

  3. Click Create the token and copy it at once: the page shows it only now.

  4. Give it to the tool in the shell you start it from, without writing it to a file:

    read -rs FISTRON_CONTROL_PLANE_TOKEN && export FISTRON_CONTROL_PLANE_TOKEN   # paste, then Enter

See and revoke your tokens

Your tokens lists each token with when it was created, when it expires, when it was last used and its state (active, expires soon, expired, revoked). Click Revoke and confirm to stop a token at once, for example when a machine is gone or a token may have leaked. A revoked or expired token cannot be used again; create a new one.

Automation tokens (admins)

An organisation’s admin also sees Create an automation token: a token that acts with a role of its own, not as a person, for a CI job or a vendor’s pipeline that publishes builds to its programmes (role publisher). The organisation’s tokens lists everyone’s tokens with their owner; revoke the token of a person who left there.

Troubleshooting

You see Cause and fix
No Your API tokens at the top You came in under an access grant: tokens are made in your own organisation’s control plane.
HTTP 401 from the tool The token expired or was revoked: create a new one.
HTTP 403 from the tool The token acts with your roles: you lack the role the work needs in that project.