Three facts to cite
| Fact | Value | Why it matters |
|---|---|---|
| Version | Mesocosm Desktop 0.1.5, verified 2026-10-29; MCP spec revision 2026-07-28 | MCP tools and automation targets exist in this build, not older ones |
| Permission | 7 read-only services, 37 tools, 0 write tools | A workflow can read and store, but cannot write back to a vendor |
| Limit | 45s per call, 90s for Supabase, 240s for DeepWiki, 1 MiB per response | Sets the retry and payload design before you describe the workflow |
One call is not a workflow
A chat call has a short life. The result lands in the transcript, the next message pushes it out of view, and nothing is left for the next run. Reuse needs three things a chat lacks: a fixed input, a stored output, and a trigger.
| Ad hoc call | Reusable workflow | |
|---|---|---|
| Who starts it | Whoever is in the conversation | A button, a schedule, a Skill, or an Agent |
| Input | Typed into the prompt | Declared once, changed per run |
| Output | In the transcript | In Space data and a rendered view |
| Second run | Starts from zero | Same workflow, same result shape |
| Failure | Noticed in the chat, or not at all | Recorded on the run |
The four-step pattern
Every durable MCP workflow follows four steps. Skipping step 2 is why most rot.
- Describe. Say what the result should contain, which service to use, and when to refresh. The Agent turns that into the tool call.
- Normalize. Convert the vendor's shape into yours. Keep the four fields the view needs, drop the rest, and stay under the 1 MiB cap.
- Store. Keep the normalized result in Space data. A field can be rendered, compared, and built on; a transcript line cannot.
- Trigger. Let a person press a button, a schedule run it, or the Agent call it when the task matches.
Ask the Agent to build the workflow
You do not write the workflow. Describe the recurring result, and the Agent builds it:
"Every Monday, pull pricing research from Notion, DeepWiki, and Supabase into a board with claim, source, date, and verdict. Tell me what changed."
The Agent calls the tools, stores the normalized fields in Space data, and builds the table. A button, a schedule, or the Agent can trigger the same workflow. One request, three ways in.
Behind this is MCL: the layer that lets the Agent write the result into the Space and render it. You do not edit it. The difference between MCP connected and MCP useful is whether the result has a home.
Skill versus automation
Both make a workflow reusable, and they answer different questions.
| Skill | Automation | Both together | |
|---|---|---|---|
| What it is | A procedure plus the tools the Agent may call | A trigger that runs a target on a schedule | A Skill the Agent follows, on a clock |
| Who starts it | The Agent, when the task matches | The clock | The clock starts, the Skill guides |
| Best for | Judgment, varying input, one-of-a-kind requests | The same job at the same cadence | Recurring work that still needs judgment |
| Who builds it | The Agent | The Agent; an automation needs a target | The Agent builds both, in one request |
| Watch out | The Agent may skip it, or use it differently | It runs even when nothing changed | Two things to maintain; name one owner |
| Failure mode | The Agent never picks it | Nobody reads the run record | The Skill drifts from the automation |
A Skill explains; an automation remembers. Ask the Agent to build the workflow first, point the automation at it, and let the Skill describe when it is the right move.
Worked example: one board from three services
A pricing research board needs three kinds of evidence, each in a different service.
| Evidence | Service | Tool | What it adds |
|---|---|---|---|
| Your own notes and interviews | Notion | notion-search | Claims, quotes, open questions |
| Repository documentation | DeepWiki | ask_wiki_question | How a tool is registered, what a spec says |
| Measured usage | Supabase | execute_sql | Row counts that correct a guess |
The columns are the normalized fields: claim, source, captured date, verdict. Store one row per item, not one blob per service, so a later call can refresh one column.
MCP workflow examples
Three examples you can describe in one message. Each one gathers, normalizes, then runs on a schedule, and none of them needs a write tool.
Research digest: Notion and DeepWiki into a claims board
Gather: search Notion for the week's interviews and ask DeepWiki what the current spec says. Normalize each hit to claim, source, date, and verdict, and store one row per item in Space data. Schedule the same prompt for Monday 09:00, and read the run record before you trust the board.
Pricing watch: Supabase and vendor pages into a change table
Gather: query Supabase for measured usage and open the vendor's changelog in the built-in browser. Normalize to product, field, old value, new value, and checked date. A daily 08:00 run compares the new row with the stored one and stores "no change" as a result instead of silence.
Release roundup: GitHub and Slack into a shipped list
Gather: list the week's merged pull requests and search Slack for release announcements. Normalize to item, owner, shipped date, and the link that proves it. Run it Friday at 17:00 so the list is ready before the week closes, and keep the previous run for comparison.
When a call fails
Failures are normal at this layer. Design for them before the schedule is on.
- Timeout. Calls stop at 45 seconds, Supabase at 90, DeepWiki at 240. A first DeepWiki call may generate a wiki, so wait instead of retrying.
- Empty result. An empty list is not an error. Store it with a timestamp, so the board shows "checked, nothing new" rather than last week's data.
- Duplicate runs. An interval can fire while the previous run is still going. Guard the workflow with a run stamp and skip if one is in flight.
- Idempotency. Key writes by date plus query. Overwrite the row instead of appending, and compare before you replace a value a person edited.
Two limits to plan around
MCP calls are slow and outside your control
Every call crosses the network to a vendor with its own rate limits and outages. Five tools in one workflow can take minutes before failing. Do not put MCP calls behind a keystroke.
Batch calls, cache the result in Space data, refresh on a schedule. If a view must feel instant, read the stored field, not the vendor.
An automation needs a retry policy and a reader
A scheduled workflow can fail at 3 a.m. and nobody notices until the board looks stale. Set a retry count, a timeout, and a place to read the run record.
Retries are not free: a retried write to Space data must be idempotent, or a duplicate run doubles the rows. Set the count per workflow, not per product.
Common questions
Can I do this without code?
Partly. In a chat the Agent can call the tools and summarize the result, but that is a demo. A result that outlives the session needs the Agent to build the workflow, because Space data is written by the app, not the chat.
Should I use a Skill or an automation?
Use a Skill when the Agent decides whether to run something. Use an automation when the job runs on a cadence regardless. Most useful setups have both: the Skill explains, the automation runs the workflow on Monday.
Can an Agent call the workflow I built?
Yes. The workflow lives in the Space, and the Agent can read and run what the Space contains. A scheduled task can target it directly, so one path serves a person, a clock, and an Agent.
What happens when the MCP call fails?
The workflow stops at the failing step and the error reaches the run record. Keep earlier results, log the service and the trace_id, then retry with a delay. A DeepWiki first call can take 240 seconds, so a short timeout looks like failure when it is only slow.
Sources
- MCP: what is the Model Context Protocol?
- MCP specification 2026-07-28: changes
- Notion MCP: get started
- GitHub MCP Server
- Supabase MCP
- DeepWiki MCP
- How to use AI Agent Skills
- How to schedule recurring AI tasks