MCP server
Use Fairlx tools from Claude Code, Cursor, VS Code and any MCP client, with a token and scopes you control.
The Model Context Protocol (MCP) is an open standard that lets AI assistants call tools in other applications. Fairlx runs an MCP server, so an assistant in your editor or terminal can read your board, create and update work items, plan sprints, search docs and check coding sessions, all with your permissions.
The MCP server is Fairlx’s public, token-authenticated API. For the full tool reference, see the API overview.
Endpoint
https://app.fairlx.com/api/mcpSend your token as a bearer token on every request:
POST https://app.fairlx.com/api/mcp
Authorization: Bearer flx_live_sec_…
Content-Type: application/jsonCreate a token
Tokens start with flx_live_sec_. There are two kinds, and you can also connect with OAuth from clients that support it.
| Token | Where to create it | Reaches |
|---|---|---|
| Project token | Project → Settings → Integrations | That project only. |
| Workspace token | Workspace Settings → Integrations | Projects in that workspace that you can access. |
Open the token card
For a workspace token, open Workspace Settings → Integrations and find Workspace API Tokens. For a project token, use the project’s Integrations tab.
Name and generate it
Under Generate New Token, enter a name that says where it will be used, such as “Claude Code” or “Cursor Workstation”, and click Generate Token.
Copy it now
The token is shown once. Copy it into your client or a secret manager. Revoke it from the same card when you no longer need it.
Treat tokens like passwords
Scopes
A token with no explicit scopes inherits your project role: it can do what you can do. Explicit scopes are an optional ceiling for least privilege. With scopes set, the tool list only shows tools the scopes allow.
| Scope | Allows |
|---|---|
project:read | Read projects and workspace details. |
members:read | Read members, teams and workload. |
tasks:read | Read work items, subtasks, links and comments. |
tasks:write | Create, update and assign work items. |
tasks:delete | Delete work items and subtasks. |
sprints:read | Read sprints, sprint health and the backlog. |
sprints:manage | Create, plan, start and complete sprints. |
comments:write | Add and edit comments. |
docs:read | Read and search project docs. |
docs:write | Create and update project docs. |
time:write | Log time. |
workflows:read | Read workflows and statuses. |
notifications:read | Read your notifications. |
notifications:write | Mark notifications as read. |
views:read | Read saved views. |
views:write | Create and change saved views. |
spaces:read | Read spaces. |
programs:read | Read programs. |
audit:read | Read audit logs. |
attachments:read | Read attachments. |
admin:manage | Administrative changes, such as an agent’s delivery mode and Auto Merge. |
billing:read | Read usage and billing summaries. |
personal:read | Read your personal skills, knowledge and chats. |
Scopes never widen access. Your project permissions still apply on top, and a project token is also limited by its creator’s current project permissions.
Tool catalogs
The server exposes 148 tools. Listing them all costs context in your assistant, so you can ask for a compact catalog with a query parameter:
| URL | Tools listed |
|---|---|
https://app.fairlx.com/api/mcp | Every tool your token may call (148 in total) |
https://app.fairlx.com/api/mcp?catalog=standard | 74 tools |
https://app.fairlx.com/api/mcp?catalog=core | 21 everyday tools |
Tools left off a compact list can still be called by name, but your client will not discover them. The server also provides skills (generate-prd, plan-sprint, rebalance-capacity, risk-check, standup, triage), prompts and resources.
Set up your client
Replace flx_live_sec_… with your token. To use a compact catalog, add ?catalog=core or ?catalog=standard to the URL.
claude mcp add --transport http fairlx "https://app.fairlx.com/api/mcp" \
--header "Authorization: Bearer flx_live_sec_…"
# Check that Fairlx is registered
claude mcp listTo check the connection by hand, list the core catalog:
curl -s "https://app.fairlx.com/api/mcp?catalog=core" \
-H "Authorization: Bearer flx_live_sec_…" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'Destructive actions
Tools that delete or otherwise destroy data do not run on the first call. The server answers CONFIRMATION_REQUIRED with a one-time challenge token. To go ahead, call the tool again with the same arguments plus:
{
"confirm": true,
"challengeToken": "<token from the CONFIRMATION_REQUIRED answer>"
}The challenge is valid for 120 seconds, works once, and is bound to that tool and the token that asked for it. Good MCP clients show you the confirmation before calling again.
Results and errors
- Results are budgeted to about 10,000 characters (15,000 for doc reads). A result that reaches the budget returns fewer rows with
hasMore: true, so nothing is cut silently. - Lists page with
nextCursor. Pass it back ascursorAfterfor the next page. - Long user-written text, such as descriptions and comments, comes back in an
untrustedblock. Your assistant should treat it as data, not instructions. - A missing or invalid token answers 401. A tool your scopes or role do not allow answers 403. Records you cannot see answer 404.
See Errors & limits for error codes, rate limits and idempotency.
Example prompts
Once connected, ask your assistant things like:
- “What’s in the current sprint for PROJ, and what is at risk?”
- “Create a bug in PROJ: export to CSV drops the last row. Priority High, assign it to me.”
- “Write today’s standup from yesterday’s activity in PROJ.”
- “Find the PRD for checkout in project docs and list open questions.”
- “Start a coding session for PROJ-142 and give me the preview link when it is live.”
Add external MCP servers to the agent
MCP also works the other way. You can connect other services’ MCP servers to the Fairlx Agent, so it can use their tools in the same chat. Open Agent → Agent tools → MCP servers.

- Catalog: connect servers such as GitHub, Figma, Google Stitch, Slack, Linear, Notion, Atlassian, Sentry, Datadog, Supabase, Stripe and Neon. A server that needs a key connects once you add the key.
- Custom server: add any HTTP MCP server by its URL, with headers such as Authorization. Headers are stored encrypted.
- Added: each server shows its status, such as Connected or Needs a key, with a switch and Configure or Remove. Added servers are used in chats you start.
Fairlx calls external servers over HTTP only and refuses private network addresses. Native Fairlx tools always stay on the Fairlx server.
FAQ
Is there a REST API?+
Do MCP calls spend credits?+
Can an MCP client trigger the Fairlx Agent?+
@Fairlx, @Fairlx-auto or @Cursor wakes an agent only when the call passes confirm: true and the token has tasks:write. Without them the comment is saved and people are notified, but no agent acts.