Stakflows for developers
For developers who connect other tools to Stakflows: API keys, assistant access (MCP), automated test results and webhooks. Keys and tokens are shown once; keep them private.
For developers who connect other tools to Stakflows: API keys, assistant access (MCP), automated test results and webhooks. Keys and tokens are shown once; keep them private.
1. Which door to use
| You want to | Use | Set up in |
|---|---|---|
| Read your Task Board's tasks, columns and members from another program | Task Board API key | The board's API Access tab |
| Let an AI assistant read and work a project's tasks | MCP token | The project's Settings → Tools → Assistant access (MCP) |
| Send automated test results from your build, or read QA data | QA keys | The Test Case Automation page |
| Be told when something happens in QA | QA webhooks | The Test Case Automation page |
| Read SEO data or start an audit from your own tools | SEO API key | The SEO Toolkit's API Access tab |
2. Task Board API keys
The API Access tab on the Task Board creates keys that let other programs read your board's tasks, columns and members. A key can be limited to one project. You can revoke a key at any time. Writing to the board from other programs is done through assistant access (MCP), below.
3. Assistant access (MCP)
An MCP server for one project's Task Board, so an assistant such as Claude Code can read and work the same backlog with the same permissions as the person who connected it.
- Open the project's Settings → Tools → Assistant access (MCP) and choose New token. Pick Read only or Read and write and a lifetime (up to a year). Copy the token now; it is shown once.
- Add the server to your assistant. Any MCP client that supports the Streamable HTTP transport and custom headers works. The endpoint is
POST /api/mcpand is stateless.
What a token can do:
- A token belongs to one project and acts as the person who created it. It never has more rights than they do, and their role is checked on every call.
- Read-only tokens never see the write tools.
- There is no delete tool, and no way to reach another project.
- Changes appear in the task history as made by the token's owner.
- Tokens expire (default 90 days, at most one year) and can be revoked at any time. A project can have 25 active tokens.
- Limits: 120 requests a minute per token, 100 KB per request, batches of up to 20.
- Browser requests (anything with an
Originheader) are refused, so a web page cannot use a stolen token.
Task titles, descriptions and comments are written by other people. The server returns them as plain text and tells the model to treat them as data.
4. Test results from your build (QA results API)
On the Test Case Automation page, organization admins and owners can send automated test results:
- In API keys, choose New API key. The key starts with
tf_qa_and is shown once. - The Send results box shows a ready-made command. Your build sends its JUnit test file with the key.
- Each upload becomes one closed run in Test runs, marked as coming from CI, with its build, environment and a link to the build job. Sending the same upload again does not duplicate it.
Results are matched to a test case by its automation id, and if there is none, by its exact title. A result that matches no case is listed on the run but never creates a case.
A read-only key (starts with tf_qr_) lets another tool read your cases, runs with their results, and issues. A read key cannot upload and an upload key cannot read.
5. Webhooks
A webhook sends a message to an https address you choose when something happens in QA. Choose the events:
| Event | Sent when |
|---|---|
issue.created | A QA issue is reported. |
issue.status_changed | An issue changes status. |
run.closed | A test run (manual or from CI) is finished. |
result.failed | A case fails or is blocked in a run. |
You get a signing secret (shown once) that the receiving system uses to check that the message is from Stakflows. Each endpoint shows whether it is Working, Failing or Switched off, with its recent deliveries. Send test sends a sample. Failed messages are retried several times.
6. The "Stakflows QA" pull request check
If the project is connected to GitHub, a check named Stakflows QA appears on each pull request. It looks at the test cases linked to the pull request's task and the open QA issues it is meant to fix. It reports success, neutral (something has not passed yet or is open), or, only if you turn it on, failure when a critical case failed or is blocked. You can then make it a required check in GitHub.
7. SEO API keys
Under the SEO Toolkit's API Access, create keys with a name, a scope (this project only, or the whole organization) and an access level (read only or read and write, chosen when the key is created). Send the key as Authorization: Bearer <your key>. Each key is limited to 60 requests a minute, and the number of keys depends on your plan (the Free plan has none). The endpoints are under /api/v1/seo/{projectId}; GET / returns the API's own documentation. A read-only key that tries a write gets a 403.
8. Plans
API keys, tokens and limits can depend on your plan. The Free plan has no SEO API keys, for example. See the Plans and Billing guide.
