MCP & Coding Apps
Drive Vorflux from Claude Code, Codex, Cursor, or any MCP client, and give Vorflux sessions the tools of your own MCP servers.
Yes, Vorflux supports the Model Context Protocol (MCP), in two directions:
| You want to | Use | Set it up in |
|---|---|---|
| Start and follow Vorflux sessions from your local coding agent | Vorflux MCP server | Settings → Vorflux MCP |
| Give Vorflux sessions the tools of an MCP server | MCP servers in sessions | Settings → Integrations → MCP servers |
Vorflux MCP server
Vorflux is a remote MCP server. Connect your coding app to it, and that app can hand a task to a Vorflux cloud session, check its progress, answer its questions, and get the pull request link back, without leaving your terminal or editor. A typical prompt in Claude Code: "Start a Vorflux session on github.com/acme/api to fix the flaky login test, and tell me when the PR is ready."
The server uses the Streamable HTTP transport and authenticates with a Vorflux API key in the Authorization header. It is on by default for every workspace.
Set up the Vorflux MCP server
- Open Settings → Vorflux MCP in the Vorflux app.
- Click Create access key. The key can read and manage sessions in this workspace, expires after 90 days, and you can revoke it at any time in API settings. Copy it now: Vorflux shows it only once. You need permission to create API keys and session access in the workspace.
- Select your app tab (Claude Code, Codex, Cursor, or Other clients) and copy the setup. The setup already contains the server URL and your key.
- Restart the app and ask it to "list my Vorflux sessions" to check the connection.
The snippets below show the same setup. Use the URL that Settings → Vorflux MCP shows for your workspace, and replace <YOUR_VORFLUX_API_KEY> with your access key.
Claude Code
Run this in your terminal. --scope user adds Vorflux to every project. Run /mcp in Claude Code to check the connection.
claude mcp add --transport http --scope user vorflux https://us1.vorflux.com/api/v1/mcp \
--header "Authorization: Bearer <YOUR_VORFLUX_API_KEY>"Codex
Add this table to ~/.codex/config.toml, then restart Codex.
[mcp_servers.vorflux]
url = "https://us1.vorflux.com/api/v1/mcp"
http_headers = { Authorization = "Bearer <YOUR_VORFLUX_API_KEY>" }Cursor
Add this entry to ~/.cursor/mcp.json. If the file already has mcpServers, add only the vorflux entry. Then restart Cursor.
{
"mcpServers": {
"vorflux": {
"url": "https://us1.vorflux.com/api/v1/mcp",
"headers": { "Authorization": "Bearer <YOUR_VORFLUX_API_KEY>" }
}
}
}Other MCP clients
Any client with Streamable HTTP support works. Enter these values in its remote MCP server settings. The URL needs the Authorization header, so it does not open in a browser.
Transport: Streamable HTTP
URL: https://us1.vorflux.com/api/v1/mcp
Header: Authorization: Bearer <YOUR_VORFLUX_API_KEY>One-click setup on the Mac app
On the Vorflux Mac app, Settings → Connect coding apps writes this configuration for you. It finds Claude Code, Codex, and Cursor on your Mac, creates one key per app, and can also add the Vorflux skills Vorflux PR review and Run a plan on Vorflux. See Connect coding apps.
What your coding app can do
The Vorflux MCP server gives your coding app these tools:
| Tool | What it does |
|---|---|
vorflux_start_session | Start a cloud session from a task description. Optional: repository URLs, session type (GENERAL or PLAN), model, harness, and machine type. |
vorflux_list_sessions | List sessions in the workspace. Filter by status or search text. |
vorflux_get_session | Read a session: status, recent messages, open questions, plan, and artifacts such as pull requests. |
vorflux_get_session_link | Get the link that opens the session in the Vorflux app. |
vorflux_send_message | Send a follow-up message to a session. |
vorflux_answer_decision | Answer a question that the session asked. |
vorflux_get_plan | Read the plan of a session without approving it. |
vorflux_approve_plan | Approve a plan so the session starts the work. |
vorflux_cancel_session | Cancel a session. |
The tools use the same operations as the REST API, with the same key and permissions.
Good to know
- Sessions run in the cloud. Vorflux does not upload your local files. The session works on your connected repositories, so push local changes first if the session needs them. See Connect Repos.
- Sessions use workspace credits. Starting a session, sending a message, and approving a plan can all start billed work, the same as in the app.
- Disconnecting does not stop a session. To stop the work, cancel the session.
- Sessions show up in Vorflux. Every session that your coding app starts appears in the Vorflux app, where you and your team can open it, review it, and take over.
- One request at a time. The server does not accept JSON-RPC batch requests.
Troubleshooting
| Symptom | Cause and fix |
|---|---|
| 401 error | The key is missing, expired, or revoked. Create a new key in Settings → Vorflux MCP and update your app. |
| 403 error | MCP is off for this workspace, or the key has no session access. Ask a workspace admin, or create a key with session access. |
| The app shows no Vorflux tools | Restart the app after you change its configuration. In Claude Code, run /mcp to see the server status. |
| A session start timed out | A start is not repeated automatically. List your sessions before you try again, so you do not start the same task twice. |
Give sessions MCP tools
The other direction: connect an MCP server to Vorflux, and the agent in your sessions can call its tools. Open Settings → Integrations and select the MCP servers tab. The Available list shows verified providers; the Configured list shows the servers you added, with their scope, endpoint, connection status, and an Enabled switch. Adding, editing, and deleting servers needs integration write permission.
Verified and managed providers
Click a provider card in the Available list. Vorflux fills in the endpoint and the sign-in method. Providers marked Remote connect to the vendor's hosted MCP server. Providers marked Managed are Vorflux-hosted: Vorflux starts and manages the server on session machines, and keeps the credentials you enter in encrypted secrets. See MCP server presets for recent additions.
Custom remote server
Click Add custom server, then Connect a remote server, and fill in:
- Server endpoint: a public HTTPS URL, for example
https://mcp.example.com/mcp. Private network, VPN, and localhost addresses cannot connect, and Vorflux rejects credentials in the URL. - Transport: Streamable HTTP, or Legacy SSE for servers without Streamable HTTP.
- Authentication: No authentication, Stored secret headers (for example an
Authorizationheader whose value comes from a secret in Secrets), or OAuth. - Ownership: Only my sessions, or Shared with eligible users.
Click Test tools to check the connection and see the tools the server offers.
Custom STDIO server
For a server that runs as a local process, click Add custom server, then Add a STDIO server. Choose npm package (for example @example/mcp-server@1.2.3) or Command (for example python3), add the arguments one by one, and add environment variables. For credentials, select a stored secret instead of a plain value. The command runs on the session machine, so its executable and dependencies must be available there; see Machine Setup. Click Save and enable.
Bring over your local MCP servers
If you already use MCP servers in Claude Code or another coding app, the Mac app's local scan looks for them and suggests the matching Vorflux integrations under MCP servers in the import review. Run it from onboarding or from Settings → Import agent setup. See Vorflux Desktop app.
An MCP server that only listens on your laptop, such as one on localhost, is not reachable from cloud sessions. Add it as a STDIO server, or expose it on a public HTTPS endpoint.
MCP or ACP?
MCP lets an agent that you already run, such as Claude Code, call Vorflux as a tool. If you want your editor to talk to the Vorflux agent directly, as its chat agent, use the Agent Client Protocol instead; see ACP / Zed & Editors. To script Vorflux without an agent, use the REST API.