Skip to Content
Source NodesSource Frontmatter

Source Frontmatter

Source nodes include a source block in their frontmatter with structured metadata for the resolver and runtime.

Fields

FieldTypeRequiredDescription
transportstringYesmcp, rest, cli, or file
serverstringNoServer name from the vault’s config.yaml server registry
toolsstring[]NoTool names used by this source
depends_onstring[]Nocontextnest:// URIs of sources this depends on
cache_ttlintegerNoCache lifetime in seconds. 0 means no caching.

Transport types

TransportDescription
mcpModel Context Protocol server
restHTTP REST API
cliCommand-line tool
fileLocal file read

Example

--- title: "Recent PR Activity" type: source tags: ["#engineering", "#github"] status: published version: 1 source: transport: mcp server: github tools: - github_list_pull_requests cache_ttl: 600 ---

Server registry

The server field references a named entry in .context/config.yaml:

servers: jira: url: "https://mycompany.atlassian.net" transport: mcp github: url: "https://api.github.com" transport: mcp
Last updated on