Wesley Ferreira (@ovvesley), Boosted with LLMs
· 13 min read

Getting started / Desktop / Experiments
AkôFlow 1.0.12 introduces MCP integration. Connect Claude or Codex to create, execute and inspect scientific workflows, with a hands-on example.
Read the storyStarting with version 1.0.12, AkôFlow includes MCP integration to connect AI apps such as Claude and Codex directly to its workflow engine. You can now describe an experiment in a conversation and ask your assistant to create workflow definitions, prepare execution plans, start runs and inspect their results through AkôFlow tools.
MCP—Model Context Protocol—provides that connection. The assistant works with the same persisted definitions, plans and runs that you see in Desktop, using the permissions you grant to its connection. The 1.0.12 release brings managed app connections, native client setup, connection verification, credential rotation and revocation.
This tutorial takes that connection from setup to a result you can inspect: three activities turn the measurements 2, 4 and 6 into a report containing Mean: 4.00. You will connect your AI app, give it focused prompts, inspect the saved DAG, and execute the workflow on a local Docker runtime.
The setup screenshots below come from real, isolated homeserver Desktop captures. The 1.0.12 setup verifies the complete administration catalog; this tutorial only needs Operate workflows. Your connection paths, tool count and instance names will differ. The workflow and execution screenshots show the separate homeserver demonstration made for this post.
The native setup and connector were tested with real MCP clients. These are AkôFlow screenshots, not screenshots of an authenticated Claude or Codex conversation. The prompts are instructions for you to run in your own AI app; wording and approval dialogs can vary between clients.
Open Settings → MCP & AI apps, then select Enable MCP.
Select Add app, choose your client and give the connection a recognizable name, such as Codex — workflow learning. Select Operate workflows, then Create connection.
The reference screenshot has Full administration selected to verify its complete catalog. For this walkthrough, select Operate workflows instead. Read only can inspect records but cannot create the workflow. Create a separate connection for each AI app so you can revoke one independently.
AkôFlow generates a local stdio connection. The AI app starts the bundled connector on the same computer as Desktop. Keep Desktop open while using it.
Use the entry generated by your installation. The executable, helper and private connection-file paths in these screenshots belong to the documentation machine. Do not copy those paths into your own configuration.
/mcp to check active servers. codex mcp list lists configured servers.AkôFlow writes its entry into the local Codex configuration, preserving other servers. If you use a custom configuration location, use Copy configuration or Open config to merge the generated entry into the configuration your client actually loads. Codex supports local stdio servers through config.toml; see the official Codex MCP documentation.
/mcp to inspect the connection.AkôFlow installs a user-level stdio entry in ~/.claude.json, preserving existing settings. For custom setups, use the generated entry and the official Claude Code MCP guide.
On macOS or Windows, choose Claude Desktop and select Add to Claude Desktop. For manual setup, use Copy configuration, open Settings → Developer → Edit Config in Claude Desktop, and merge the generated server into mcpServers. Preserve other entries. Fully quit and reopen Claude Desktop, then begin a new conversation.
This Linux reference capture shows the copy-only fallback. Use the installation method that your AkôFlow setup dialog offers. The local MCP setup guide explains Claude Desktop's configuration and restart flow.
In AkôFlow, select Test MCP connection. A successful test authenticates a real MCP client, discovers the tools permitted for this connection, and reads the daemon identity.
Now send this prompt in your AI app:
Use the AkôFlow MCP tools to identify my connected AkôFlow instance
and list my workflows and available environments. If a list is empty,
tell me. Do not create or modify anything.
Checkpoint: the assistant makes an AkôFlow tool call and returns records from your instance, or an explicit empty list. An answer saying “I can help with AkôFlow” does not verify the connection. If it has no tools, reconnect its MCP server or restart the AI app.
The native test verifies the service. This first request verifies that your AI app loaded the server.
Start with a small experiment whose answer you know. Send:
Use AkôFlow MCP to create a workflow named mcp-first-analysis in
namespace learning. First check whether that name already exists;
if it does, show it and do not overwrite it.
Use docker.io/library/busybox:1.36 with OCI delivery and sh -c.
Create three activities, each limited to 0.1 CPU and 32Mi memory:
1. prepare: write the values 2, 4 and 6, one per line, to measurements.txt.
2. analyze: depend on prepare, read measurements.txt, and use awk to
write the arithmetic mean with two decimal places to mean.txt.
3. write-report: depend on analyze and write Mean: 4.00 to report.txt,
deriving the value from mean.txt rather than hardcoding the answer.
Print each activity's output in its log and declare its output file
in expectedOutputs. Show the definition, create it through the MCP
tool, then read it back and return its workflow and version IDs.
Do not create a plan or start execution yet.
| Activity | Depends on | Output |
|---|---|---|
prepare | — | measurements.txt: 2, 4, 6 |
analyze | prepare | mean.txt: 4.00 |
write-report | analyze | report.txt: Mean: 4.00 |
Open Workflows → Definitions → mcp-first-analysis in Desktop. The saved workflow must have three activities and two dependency arrows.
Checkpoint: compare the saved definition with the table. A chat response containing YAML is only a draft until the creation tool succeeds and readback confirms the record. Creating the definition does not execute it.
For an exact reference, download the complete workflow YAML. It uses command.executable.source for the container image, dependsOn for ordering, and expectedOutputs for required files. AkôFlow stages a predecessor's workspace before its dependent activity starts. Each activity writes a different output filename.
If you have no local environment yet, follow Connect your local machine and create a scope. Test the connection before saving the environment and confirm it is online. An execution scope selects the environment versions offered to planning.
Ask the assistant to discover those records:
Use AkôFlow MCP to inspect mcp-first-analysis and list execution scopes,
their environments, resources, runtime bindings and connection health.
Find a scope with a healthy local execution runtime that supports OCI
containers. Return the exact persisted IDs and explain the selection.
Do not provision cloud resources or execute anything. If no suitable
scope exists, tell me what I need to configure in Desktop.
Then request the plan, replacing the bracketed text with the scope you reviewed:
Create a manual plan for the saved version of mcp-first-analysis using
[my reviewed local scope]. Resolve IDs from the persisted records.
Assign all three activities to its local resource and execution runtime.
Use one second per activity as a planning estimate, preserve dependency
order, and save the plan through MCP. Read it back and return its ID,
assignments, runtime selection and execution mode. Do not execute yet.
Review the saved plan in Desktop. One second is an estimate, not a measured duration or timeout. The first image download may take longer. The homeserver demonstration used one local Docker resource; it did not allocate cloud machines or use simulation.
When the plan matches your intent, send:
Start one real execution of the reviewed plan for mcp-first-analysis.
Use a unique run ID and return it as soon as submission succeeds.
Poll that run until it reaches a terminal state. Do not resubmit it
because it is pending or running. If it fails, inspect its activity
errors and report the cause before creating any replacement run.
Open Workflows → Definitions → mcp-first-analysis → Plans, open the selected plan, and open its execution. Wait for completed and 3/3 completed activities.
MCP submissions can return an operation or pending receipt before the work finishes. Submission success is not execution success. Keep the returned identifier and inspect that same operation or run instead of starting duplicates.
Inspect the completed run using AkôFlow MCP. Report each activity's
status and exit code, inspect the final activity output and generated
files, and verify that report.txt contains Mean: 4.00. Include file
checksums when available and the workflow, plan and run IDs.
Distinguish files listed in metadata from file contents actually read.
If content cannot be retrieved, say so instead of inferring it.
In Desktop, open the run's Activities, select write-report, and open its activity detail page. Inspect Activity output and Generated files.
Open the run’s Workspaces & data tab. The activity/file graph connects each producer to its recorded output: prepare produces measurements.txt, analyze produces mean.txt, and write-report produces report.txt.
Open prepare and scroll to Activity output to check the actual input values. The log prints 2, 4 and 6; the generated-file record identifies measurements.txt and its checksum.
Open analyze to inspect the intermediate result. Its output is 4.00, and its generated file is mean.txt.
Back in Workspaces & data, scroll to the recorded file locations and Data transfers. The demonstration records two workspace transfers totaling 17 bytes. These transfers stage predecessor workspaces, so the second transfer includes the intermediate workspace’s files; its byte count is not just the size of mean.txt. Recorded locations describe execution evidence and may become unavailable after ephemeral workspaces are released.
The demonstration created mcp-first-analysis, saved mcp-analysis-plan, and executed mcp-analysis-run. The real run completed all three activities. Reading the final workspace file confirmed:
Mean: 4.00
The workflow creation, planning, submission and status retrieval went through a real stdio MCP client on the homeserver. The final file contents were additionally checked directly in the isolated runtime workspace. Download the observed verification record.
Change one aspect at a time so you can explain the result.
A new dataset:
Create a new workflow named mcp-analysis-10-20-30 using the same
three-stage structure, but with values 10, 20 and 30. Preserve the
original workflow. Show the changed commands and expected answer
before saving the new definition. Do not execute yet.
Independent branches:
Draft a workflow that prepares measurements, computes the mean and
maximum in independent activities, then joins both into one report.
Show its DAG and file handoffs. Add dependencies only where a stage
needs its predecessor's files, and use distinct output filenames.
Explain whether my selected resource capacity permits parallel work.
Do not save or execute until I review the draft.
Investigate a failure:
Inspect run [run ID] through AkôFlow MCP. Find the first failing
activity, quote the relevant error briefly, and distinguish an image,
connection, planning or command failure. Propose the smallest fix.
Do not change infrastructure or retry the run yet.
Prepare a reproducibility summary:
Summarize run [run ID] using persisted AkôFlow records: workflow version,
container reference and resolved digest if recorded, scope, assignments,
activity outcomes, output paths and available checksums. Mark missing
evidence explicitly. Do not treat planned durations as measurements.
| Symptom | Next check |
|---|---|
| AkôFlow verifies MCP but the assistant has no tools | Restart the client, start a new local session, and inspect its active MCP servers. |
| The assistant can list records but cannot create them | Recreate its connection with Operate workflows. |
| Configuration points to another computer or an old application path | Generate it again from the Desktop installation on the client machine. |
| No healthy local runtime appears | Test the environment connection and inspect its resource/runtime binding. |
| A run is pending | Inspect its operation and run events; keep polling the same ID. |
| The first activity cannot start | Inspect its error and Docker/image availability before retrying. |
analyze cannot find measurements.txt | Check the dependency, predecessor outcome and workspace-staging evidence. |
| The run completes but the answer differs | Read the saved commands and actual files; verify the input values and formatting. |
Use Disable MCP to pause connections, Rotate credential to replace a connection's credential, or Revoke access to remove one app's access. Reconnect the AI app after rotation. Keep secret values out of prompts and use the generated private references.
You now have a reusable pattern: describe a checkable experiment, save and inspect its definition, select a compatible execution scope, review a plan, execute once, and inspect the evidence. Continue with workflow authoring, planning, and the MCP setup and permissions guide.