ryeos-mcp

v0.1.12
ryeos-mcp Checked 1 day ago Published 7 months ago

MCP server transport for RYE OS

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

fetch

<description>Resolve a name to items. Two modes: give an item_id to get content, or give a query+scope to discover matches. item_id is a slash-separated path without extension, resolved project → user → system unless source restricts it. Accepts canonical refs (tool:id, directive:id, knowledge:id) for explicit type scoping.</description><rules><rule>Re-sign after copying or editing any item.</rule><rule>Use this to inspect an item's input schema before calling execute.</rule><rule>System space includes built-in knowledge entries covering how Rye works — use query mode with scope="knowled…

ParameterTypeDescription
project_path *stringAbsolute path to the project root containing .ai/.
destinationstring<description>Copy the item to this space after resolving: "project" or "user". ID mode only. Use to customize system items.</description><rules><rule>Re-sign after copying or editing.</rule></rules>
item_idstring<description>Slash-separated path without file extension. Resolved project → user → system. If unsure of the ID, use fetch in query mode.</description><examples><example>"init" → .ai/directives/…
limitintegerMaximum number of results to return. Query mode only.
querystring<description>Keyword search query. Triggers query mode. Supports AND, OR, NOT, quoted phrases, and * wildcards.</description><rules><rule>Use "*" to list all items in a scope.</rule></rules>
scopestring<description>Item type and optional namespace filter. Query mode only.</description><examples><example>Shorthand: "directive", "tool", "knowledge", "tool.rye.core.*"</example><example>Capability forma…
sourcestring<description>Restrict where to resolve from. ID mode: "project", "user", "system", or "registry". Query mode: "project", "user", "system", "local" (all local spaces), "registry" (published items only)…
versionstringVersion to pull (registry source only).

execute

<description>Run a Rye item. item_id is a slash-separated path without extension. Resolved project → user → system. If ambiguous between tool and directive, use a canonical ref (tool:id or directive:id). Executing a directive returns your_directions and a body — follow them. Executing a tool runs it. Knowledge is not executable — use rye fetch.</description><threading>To spawn a directive as a managed thread (with its own LLM loop), pass thread="fork" as a top-level parameter. Threading parameters (all in the parameters object):<param>model: string — override the LLM model for the th…

ParameterTypeDescription
item_id *string<description>Slash-separated path without file extension. Resolved project → user → system. If unsure of the ID, use fetch in query mode.</description><examples><example>"init" → .ai/directives/…
project_path *stringAbsolute path to the project root containing .ai/.
asyncboolean<description>Return immediately with thread_id (fire-and-forget). false (default) blocks until complete. Applies to fork and remote modes.</description>
dry_runboolean<description>Validate without executing. Directives: parse and check inputs. Tools: build and validate the executor chain.</description>
parametersobject<description>Parameters passed to the item. For directives, these are input values. For tools, these are tool-specific parameters.</description><rules><rule>When the user provides extra words after th…
resume_thread_idstring<description>Thread ID to resume. Routes to the original callee with resume params. Directives resume via transcript reconstruction, graphs via checkpoint reload.</description>
targetstring<description>Where to execute: locally or on a remote server.</description><rules><rule>"local" (default) — execute in the current environment</rule><rule>"remote" — execute on ryeos-node server.…
threadstring<description>Execution mode for directives.</description><rules><rule>"inline" (default) — returns your_directions for the calling agent to follow directly</rule><rule>"fork" — spawn as a managed…

sign

<description>Validate structure and write an Ed25519 signature to a Rye item file. Run after any edit or copy.</description><rules><rule>item_id accepts canonical refs (tool:id, directive:id, knowledge:id, config:id).</rule><rule>item_id supports glob patterns for batch signing, including with canonical refs.</rule><rule>System space items are immutable — copy to project or user first.</rule></rules><examples><example>"tool:my-project/workflows/deploy" — sign a single tool</example><example>"directive:*" — batch sign all directives</example><example>"tool:rye/core/*" — batch sign all t…

ParameterTypeDescription
item_id *string<description>Item path or glob pattern. Supports * and ? wildcards. Accepts canonical refs (tool:id, directive:id, knowledge:id, config:id).</description><examples><example>Single: "tool:my-project/wo…
project_path *stringAbsolute path to the project root containing .ai/.
parametersobject
sourcestring<description>Where the item lives: "project" (default) or "user".</description><rules><rule>System items cannot be signed — copy them first.</rule></rules>