FXCode
SIGN IN →
Doc. 04 — Connectors

MCP server

Your agents read and move tasks, ideas, notes and architecture over MCP, using your CLI session.

There are two ways to connect your assistant: the remote MCP, which needs nothing installed, and the local MCP served by the CLI (fxc mcp).

Remote MCP (nothing to install)

Paste this URL into your assistant:

https://api.fxcode.dev/mcp

The first time, FXCode opens in your browser: you sign in, see which app is requesting access and with which account, and click Allow. It’s standard OAuth 2.1 (with dynamic client registration and PKCE): no tokens to copy, no keys to create. The assistant acts with your permissions, exactly as if you were using the web app.

  • If you’re a client on a project, you only see what’s yours: your projects and your requests (create, view, comment and attach screenshots).
  • Files are sent inside the call (as base64): a remote MCP can’t see the files on your computer.
  • Access lasts until you revoke it; changing your password disconnects every app.

Claude Code

claude mcp add --transport http fxcode https://api.fxcode.dev/mcp

Then, inside Claude Code, run /mcp, choose fxcode and finish signing in in the browser (or, from the terminal, claude mcp login fxcode).

Claude.ai and Claude Desktop

In Customize → Connectors (or Settings → Connectors, depending on the version), click + Add → Add custom connector, give it a name (FXCode), paste the URL and continue; connecting opens FXCode so you can allow access. The connector is saved to your Claude account, so it works the same on the web, in Claude Desktop and on mobile. On Team and Enterprise plans, an admin has to add it first.

ChatGPT

Turn on developer mode (Settings → Apps & Connectors → Advanced settings, or Security and login in recent versions). Then create a custom app or connector (Settings → Apps & Connectors → Create, or the + button under Plugins → Add custom MCP server), paste the URL, choose OAuth authentication, accept the risk warning and connect. Available on Plus, Pro, Business, Enterprise and Edu plans on the web.

Cursor

In ~/.cursor/mcp.json (or the project’s .cursor/mcp.json):

{
  "mcpServers": {
    "fxcode": { "url": "https://api.fxcode.dev/mcp" }
  }
}

Cursor detects that the server requires OAuth and shows Connect / Needs login under Settings → MCP.

Codex

codex mcp add fxcode --url https://api.fxcode.dev/mcp
codex mcp login fxcode

Or in ~/.codex/config.toml:

[mcp_servers.fxcode]
url = "https://api.fxcode.dev/mcp"

and then codex mcp login fxcode.

Agents without OAuth: the endpoint also accepts an API token (fxc_...) as Authorization: Bearer. A token with limited scopes only sees the tools those scopes cover; client requests require a full-access token.

Remote MCP tools

Who Tools
Team whoami, list_projects, create_project, get_project, update_project, archive_project, delete_project, list_team, set_team_role, remove_team_member, set_project_owner, add_project_link, remove_project_link, invite_team_member, list_task_options, list_tasks, get_task, create_task, update_task, set_task_status, finish_task, attach_files_to_task, list_task_comments, comment_task, list_task_links, add_task_link, remove_task_link, bulk_update_tasks, archive_tasks, merge_tasks, link_tasks, unlink_tasks, next_task, queue_task, get_queue, link_note_to_task, unlink_note_from_task, list_ideas, add_idea, promote_idea, list_monitors, run_monitor, monitor_results, cloud_status, read_cloud_logs, list_project_comments, add_project_comment, list_reminders, create_reminder, cancel_reminder, list_proposals, get_proposal, create_proposal, update_proposal, send_proposal, list_payments, create_payment, update_payment, list_quotes, get_quote, list_changelogs, get_changelog, create_changelog, update_changelog, delete_changelog, changelog_recipients, send_changelog_email, list_notes, get_note, add_note, update_note, delete_note, list_requests, get_request, create_request, comment_request, attach_files_to_request, respond_request, convert_request, link_request, archive_request, delete_request, verify_request, project_progress, list_releases, get_release, create_release, update_release, delete_release, link_release_version, generate_release_changelog, project_report, create_environment, update_environment, delete_environment, get_branch_settings, update_branch_settings, report_work_session, parallel_work, import_architecture, start_architecture_scan, end_architecture_scan, task_agent_runs, cancel_agent_run, agents_overview, machine_info, machine_probe, machine_probes, machine_ask, sessions_list, session_send, session_messages
Client whoami, list_projects, list_requests, get_request, create_request, comment_request, attach_files_to_request, verify_request, project_progress

Architecture (get_architecture, link_task, focus) is still handled by the CLI’s local MCP, which runs next to your code; the remote one only marks the scan indicator. Its report_work_session can’t see your repo: pass branch, worktreePath, hostname, agent and files yourself.

Local MCP with the CLI

The local MCP server is served by the CLI itself: fxc mcp starts a stdio server that uses the session saved by fxc auth login. There are no separate tokens to configure.

Install

  1. Install the CLI and sign in.
  2. Register it in your client.

Claude Code

claude mcp add fxcode --scope user -- fxc mcp

Cursor, Claude Desktop and other clients: add a stdio server to their MCP configuration:

{
  "mcpServers": {
    "fxcode": { "command": "fxc", "args": ["mcp"] }
  }
}

To point at another installation or use another account without touching your session, set FXC_API_URL and FXC_TOKEN in the server’s environment.

Tools

Statuses and priorities are passed by name (“Working”, “High”), ignoring case and accents. Read-only tools are flagged as such so the client can run them without asking for confirmation.

Tool What it does
whoami The signed-in user
list_projects Projects you have access to (to get the projectId)
create_project Creates a project with you as owner: title, description?, status? (by name). It is personal until it has a client; clientEmail (and clientName?) invites that person with the CLIENT role and makes it a client project
get_project / update_project Project card (status, pinned, archived, progress, links, team and clients) / changes only what you pass: title, description, status (by name), pinned
archive_project Archives a project (unarchive: true restores), without deleting data. list_projects with archived: true shows only archived projects; archived: "all" includes both. Skips new runner executions, scheduled monitor checks and cloud syncs; does not cancel active runs. Owner or admin
delete_project Deletes a project for good. Without confirm: true it only returns what it would delete (tasks, ideas, notes, releases, changelogs, links, members…); with a client, payments or proposals it also needs confirmTitle = the exact title. Project owner only; each deletion is logged (who and when)
list_team / set_team_role / remove_team_member / set_project_owner The team with each memberId, email, role and account status / change a role (none removes it) / remove someone from the team / make someone the owner. Team changes: project owner or admin only
add_project_link / remove_project_link Project links (repository, design, documents)
invite_team_member Invites someone by email to a project team with a role (role, default MEMBER): creates the person if needed and emails a 7-day invitation. Project owner or admin only
list_task_options Statuses (which ones mark done and which animate progress) and priorities
list_tasks Tasks by project, status, priority, environment, version, tag, text, assignee (assignee: user or person without an account), changelogId, parentId, due (overdue, week, none), release (id or name; none), creation or update date (createdAfter, updatedAfter…: ISO or today, 7d), only the ones you created (createdByMe) or only yours, sorted by sort (created, updated, due, priority, queue) and order; excludes finished and archived ones unless you ask (includeDone, archived)
get_task A single task with its description, links, original dates, parent, subtasks, relations, who blocks it (blockedBy) and linked notes
create_task Creates a task (assigned to you), with status, priority, environment, version, tags, parentId, changelogId, dueDate (YYYY-MM-DD) and release (id or name)
update_task Changes only what you pass: title, description, status, priority, environment, version, tags, parentId, changelogId, dueDate (none clears it), release (id, name or none), archived, branch (branch) and PR (prUrl, prNumber)
bulk_update_tasks / archive_tasks The same changes (status, priority, assignee, environment, version, tags to add or remove, archive) to several tasks / archive or restore several
merge_tasks Merges duplicates into a target task: moves comments, attachments, links, notes and requests, archives the sources and marks them “duplicate of”
link_tasks / unlink_tasks Relations between tasks of the same project: relates_to, blocks, blocked_by, duplicates (not to be confused with link_task, which links to architecture pieces)
next_task / queue_task / get_queue The project’s work queue: the task to pick up now (never a blocked one), place or remove a task in the queue, and the In progress / Next / Later view. See Kanban, queue and relations
link_note_to_task / unlink_note_from_task Links a project note (an analysis, a spec) to a task, so it’s visible from both sides
list_task_comments / comment_task Reads a task’s comments or adds one, with files
list_task_links / add_task_link / remove_task_link A task’s links (designs, documents, tickets)
import_tasks Local MCP only: imports a JSON file of tasks (Notion…) with dryRun for a trial run. See Import tasks
finish_task Closes a task according to the project’s branch mode: on a work branch it moves to review; on the main branch it’s completed. Without branch, the local MCP uses the current git branch
add_idea / list_ideas Jots down and lists ideas, standalone or per project
promote_idea Turns an idea into a task (a standalone one needs a project)
list_monitors / run_monitor / monitor_results The project URL monitors (status, 24 h uptime, last check, SSL) / run one now / its results over the last hours
cloud_status / read_cloud_logs The connected clouds (resources, alarms, latest deploys, cost) / read a connection’s logs (level errors or all, minutes 15, 60, 360 or 1440, search). Read-only
list_project_comments / add_project_comment Project comments (the activity panel; a task’s comments go through comment_task)
list_reminders / create_reminder / cancel_reminder Project email reminders (content, remindAt in ISO 8601 with offset)
list_proposals / get_proposal / create_proposal / update_proposal / send_proposal Project proposals (title, content, amount, status, tasks); sending emails whoever you name, so the agent confirms with you first
list_payments / create_payment / update_payment Project payments (amount, date, status, method, notes, invoice). Payment managers only
list_quotes / get_quote Quotes received from the website (admins only)
list_changelogs / get_changelog A project’s changelogs (version, status, tasks) / one with its content
create_changelog / update_changelog / delete_changelog Creates a draft changelog (version, description?, Markdown content?, taskIds?) / changes only what you pass (status: published or draft) / deletes it
changelog_recipients / send_changelog_email Who would get it by email (the project clients) / sends it. It reaches external people: the agent confirms with you first
add_note Saves a note in Markdown or HTML
update_note / delete_note Changes only what you pass of a note (title, content, format, tags) / deletes it (the MCP client warns first: it is destructive)
get_architecture The project’s pieces, connections and current focus
import_architecture Replaces the architecture (no credentials; validated before sending)
link_task Links or unlinks a task from architecture pieces
focus_pieces / unfocus_pieces Turns “an agent is working here” on or off
start_architecture_scan / end_architecture_scan, task_agent_runs, cancel_agent_run, agents_overview, machine_info, machine_probe, machine_probes, machine_ask, sessions_list, session_send, session_messages Shows or removes “Scanning the repository…” on the Architecture page (import_architecture ends it; failed: true if it couldn’t finish). See scan indicator
create_environment / update_environment / delete_environment Project environments (name, kind, branch, url, description)
get_branch_settings / update_branch_settings Branch workflow, main branch and statuses when finishing (by name; none = the default), hours for “no activity” and GitHub repo
report_work_session Opens, refreshes (heartbeat) or closes (end) your work session on a task with the git context of the server’s directory: branch, worktree, machine, agent and files touched
parallel_work The project’s “In parallel” panel: sessions, possible clashes and worktrees to clean up. See Parallel work
list_my_projects Projects you belong to, as team or as client
list_requests / get_request Client requests with their classification, client-facing status (clientStatus), files and conversation; filters type (BUG, FEATURE, IDEA, none) and mine
create_request Creates a request describing what’s needed (projectId, description, title?, pageUrl?, priority?, files? with local paths). type is optional and only applies if you’re on the team. Team only: requesterPersonId (on behalf of the client, even without an account), createdAt (original date) and silent (no emails)
link_request Team only: links a request to an existing task of its project (it becomes Accepted and closes when the task is finished), without creating a new one
archive_request / delete_request Team only: archive (or restore) or delete a request created by mistake
comment_request Comments (message?) and/or attaches local files (files?) on a request
download_request_files Downloads a request’s attachments to a local folder (dir)
list_releases / get_release A project’s releases (with progress and which one is current) / one release with its progress by status and priority, pending and done tasks and how many tasks have a version with its name
create_release / update_release Creates or changes a release: name, targetDate (YYYY-MM-DD), status (planned, in_progress, delivered), description
delete_release Deletes a release (its tasks are kept, without release)
link_release_version Links the tasks whose version is the release name
generate_release_changelog Creates (or regenerates, while it’s a draft) the project changelog with the release’s finished tasks; AI if configured, otherwise a draft list
project_progress Client summary: requests and current release. With board: true, adds board with tasks by status and mine: requested or assigned, without descriptions, branches or tags. Available in local and remote MCP. See client board
project_report The project status report (`format: json
verify_request The client accepts a request that is “Ready to review” (decision: accept) or asks for changes (decision: request_changes with a required comment). See client verification
respond_request / convert_request Triage (type: BUG, FEATURE, IDEA), respond or change the status; convert: BUG/FEATURE into a task, IDEA into an idea (closes itself when the task is finished)

Requests arrive untriaged: the client just describes what they need. The team classifies them with respond_request (type) and converts them with convert_request, which picks task or idea based on the classification. The legacy names CORRECTION and CHANGE are accepted as aliases for BUG and FEATURE.

Attachments follow the same rules as the portal: images, PDF, text, Office, zip and video, up to 10 MB each and 20 per request, and the content has to match the extension. Paths refer to the machine running fxc mcp (use absolute paths or ~).

Current limitation: archiving does not block the connected-session dispatcher (fxc agent attach); use fxc agent detach <name> to stop its task intake. The archived-project filter does apply to the new-session runner.

Dispatching agent tasks

create_task and queue_task accept runnerId for a new session, or session (name or id) for a session connected with fxc agent attach; do not combine them. session: "new" removes a previous session destination. With several active machines and no choice, they return activeRunners and, when present, connectedSessions without creating or launching the task. sessions_list lists sessions; task_agent_runs shows routing and run history. Configuration and delivery are in Runners.

The working convention

On connect, the server tells the agent how to work so that its activity shows up in FXCode:

  1. When starting a task, move it to the in-progress status (for example “Working”) and link it to the architecture pieces it’s going to touch.
  2. If it wanders into another part of the system, set focus on that piece.
  3. When done, call finish_task with its branch: on a work branch the task moves to review; on the main branch it’s completed. Then clear the focus. Never leave a task in “Working” once it’s no longer being touched.
  4. Then ask for the following one with next_task (the first unblocked task in the project’s queue). If the queue is empty, stop.
  5. Put fxc-<taskId> in the branch name or [fxc:<taskId>] in the PR title, so the GitHub webhook can recognize it.
  6. Anything that comes up without a commitment to do it gets logged as an idea, not a task.
  7. With several agents at once, each one reports its session (report_work_session) and checks parallel_work before stepping into a piece another one is on.

That way, the project’s architecture shows you live where each agent is working.

For clients

If your account is a client on all of its projects, fxc mcp detects it at startup (it asks the API; nothing local is involved) and only offers the client tools: whoami, list_my_projects, list_requests, get_request, create_request, comment_request, download_request_files and verify_request (accept a request that is “Ready to review”, or ask for changes with a comment). The API checks every call regardless: a client only sees and touches requests on their own projects, never tasks, payments, notes or anything from the team’s internal work.

As a client you don’t classify anything: the assistant creates the request with what you need (description) and the team triages it when reviewing it. The status you see (clientStatus) is one of: Received, In review, In progress (accepted, or converted into an unfinished task), Done, Saved as idea (logged, not going to be built yet) or Declined (with the reason in response). You also get an email, in your language, whenever one of your requests changes status or the team replies.

1. Install the CLI and sign in (details in CLI › For clients):

# macOS / Linux (on Windows, the PowerShell installer from that page)
curl -fsSL https://api.fxcode.dev/downloads/cli/install-sh | sh
fxc auth login --web --api-url https://api.fxcode.dev

2a. Claude Code

claude mcp add fxcode --scope user -- fxc mcp
claude mcp list        # fxcode: fxc mcp - ✓ Connected

2b. Claude Desktop: under Settings › Developer › Edit Config (claude_desktop_config.json), add the server and restart the app:

{
  "mcpServers": {
    "fxcode": {
      "command": "fxc",
      "args": ["mcp"]
    }
  }
}

On Windows, if Claude Desktop can’t find fxc, use "command": "fxc.cmd" or the full path returned by where fxc. To use a token instead of the saved session, add "env": { "FXC_API_URL": "https://api.fxcode.dev", "FXC_TOKEN": "<token>" }.

3. Just ask. An example conversation:

You: In the store, the “Pay” button does nothing on iPhone. Screenshot’s at ~/Desktop/pago.png. It’s urgent.

Claude: (calls list_my_projects and sees a single project, “Online store”) I’ll file it under “Online store” with High priority, saying the “Pay” button doesn’t respond on iPhone, with the screenshot attached. Sound good?

You: Yes.

Claude: (calls create_request with files: ["~/Desktop/pago.png"]) Done: the request is Received and the team has been notified.

You: How are my requests doing?

Claude: (calls list_requests with mine: true) You have 3: “Pay button doesn’t respond on iPhone” (Received), “Change the menu color” (In review) and “Export orders to Excel” (In progress: it became a team task, and they replied: “We’ll do it next sprint”).

You: On the menu one, add that I also want a bigger logo and attach ~/Desktop/logo.pdf.

Claude: (calls comment_request with the message and the file) Done: comment and file added.