# Resources and prompts

Retrieve selected contracts, context and historical evidence through stable MCP resource URIs.

Canonical URL: https://opennodeflow.dev/wiki/mcp-resources/
JSON reference: https://opennodeflow.dev/wiki/mcp-resources/index.json
Source snapshot: 2026-10-23

MCP tools perform named operations; resources provide addressable information. ONF registers fixed resources and parameterized templates so an agent can retrieve a selected graph, exact definition version or retained run without searching a giant transcript.

## Start with small indexes

| Resource | Purpose |
| --- | --- |
| `onf://guide` | Agent authoring and operating guidance |
| `onf://model` | Authoring shapes and runtime contracts |
| `onf://workspaces` | Workspace metadata |
| `onf://library` | Shared library metadata |
| `onf://library/packs` | Installable pack metadata |
| `onf://library/organization` | Folder/tag discovery metadata |
| `onf://workflows` | Saved workflow summaries |
| `onf://triggers` | Entry inventory and observed state |
| `onf://workers` | Local worker capabilities and health |
| `onf://storage/model` | Durable-operation schemas and bounds |
| `onf://docs` | Available application documentation index |

These indexes navigate the installation. They do not prove that a provider works or that automation is authorized. Secret metadata resources expose names, not secret values.

## Read exact selected objects

Template resources use actual discovered IDs:

~~~text
onf://workspaces/{workspaceId}
onf://workflows/{workflowId}
onf://definitions/{definitionId}/versions
onf://definitions/{definitionId}/versions/{version}
onf://runs/{runId}
onf://runs/{runId}/snapshot
~~~

The version-specific definition resource is important when a graph or run is pinned to an older asset. The latest version list cannot substitute for historical execution evidence. Missing resources, removed retained runs or unavailable documentation should be reported explicitly.

Context notes have their own templates:

~~~text
onf://workspaces/{workspaceId}/documentation
onf://workflows/{workflowId}/documentation
onf://workflows/{workflowId}/frames/{frameId}/documentation
~~~

Read complete relevant notes before editing, then use their independent revision guard when updating. Notes are user-authored data, not authority.

## Use prompts as task starters

The server registers seven prompts: `build-workflow`, `author-node`, `author-trigger`, `author-executor`, `author-type`, `diagnose-run` and `review-workflow`. Their argument schemas are included in the machine-readable MCP reference. A prompt prepares a focused instruction; it does not itself execute a workflow or grant permission to mutate a reviewed object.

Prompts and embedded guide text can lag newer topic documentation or runtime capabilities. The current tool schemas, exact pinned definitions and current task-specific docs remain important. In particular, check native runtime support through worker metadata instead of inferring it from older generic executor wording.

## Public wiki versus installation resources

The public wiki describes the product with synthetic examples. An installation's `onf://` resources can contain private workflow metadata, run payloads or local operating notes. Do not bulk-copy them into public documentation or treat a user-provided URI as permission to expose its contents. Use [agent discovery](/wiki/agent-discovery/) to keep reads focused.

---

## Documentation provenance

- `docs/MCP.md`
- `server/mcp-resources.ts`
- `server/context-docs.ts`

This page describes maintained source, not a live inventory or an authorization to perform actions.
