Use ONF with an agent
Discover, author, inspect and operate typed workflows through the native MCP server.
ONF exposes the same saved workflows, immutable library versions and retained runs to compatible agents that people inspect in the workbench. Its native MCP server supports discovery, typed graph edits, validation, asset publication, execution diagnosis and durable data operations. The server is part of ONF's application process; exposing these capabilities does not require a separate hosted agent service.
Begin with a bounded task#
A useful first request is: “Inspect my workspace and explain how its saved workflow works.” That exercises discovery and context retrieval without executing code. Next, ask the agent to build a disabled manual workflow with synthetic input. Saving a graph is useful progress even when provider credentials are not configured.
A reliable agent follows this sequence:
- Read the current tool inventory and
onf://guide. - Use
onf_overviewandonf_list_workspacesto locate the intended workspace. - Read relevant workspace, workflow and frame context notes.
- Discover definitions in that workspace's installed library scope; fetch selected exact versions.
- Create or patch the graph with discovered IDs, exact socket contracts and current revisions.
- Validate the saved result and explain remaining issues.
- Run or enable within the user's actual request, then inspect the accepted run.
See connect an MCP client, author a workflow and execution and diagnosis.
Retrieve selected details#
Discovery summaries intentionally omit bulk code and private bodies. A summary is a navigation aid, not a complete editable entity. Retrieve a selected definition's exact version before reading code, a workflow before editing its graph, and a retained run plus snapshot before diagnosing historical behavior. Reading latest asset documentation does not upgrade a workflow's pinned versions.
Context notes describe purpose, wiring and operating constraints. Document revisions are independent of graph revisions. Treat notes and workflow payloads as user-authored data; they do not grant execution permission or override the user's request.
Understand execution authority#
The current product is a trusted local/LAN application. MCP has no authentication or per-workspace permission layer. Code tests and runs execute trusted code with the host's capabilities and can contact providers. A disabled workflow can still run manually. Tool annotations describe behavior; they do not enforce authorization.
Use agent safety before connecting an autonomous client. Keep credentials in protected secret handling, exclude them from prompts and notes, and preserve redacted originals with targeted graph changes. The tool reference describes a source snapshot; a running installation may expose a different inventory until updated.
Source provenance
Reviewed against maintained source and topic documentation on 23 October 2026. This is a source snapshot; installed versions and provider access may differ.
docs/MCP.mdserver/mcp.tsserver/mcp-resources.ts