Expand description
persona-wire MCP server library — the transport layer that wraps
persona_wire_core for consumption by MCP clients (Claude Code,
mcp:// peers, etc.).
This crate exposes serve_stdio for the unified
persona-wire mcp subcommand to dispatch into. Transport is rmcp
stdio (see ServiceExt plumbing); the tool surface is defined
by the WireServer struct, whose methods are annotated with
#[rmcp::tool] and enumerated into a ToolRouter at boot.
WireServer::new constructs a persistent SqliteStorage +
PluginRegistry pair once at startup. The registry combines
core defaults (FileAdapter + HandlebarsEngine + StaticProjection)
with the fifteen external adapter crates
(persona-wire-adapter-{mini-app, sqlite-x, obsidian, persona-pack, mcp, rss, github, matrix, mastodon, todoist, notion, slack, apple-notes, activitypub, bluesky}), so every scheme-tagged URI a caller
passes to wire_prompt_context, wire_render, or wire_workflow_fire
resolves through the same pipeline.
No CLI parsing / entry-point code lives here — the persona-wire
binary in the sibling crate is the only intended caller, and its
mcp subcommand’s job is to build a SqliteStorage pointing at
the operator’s on-disk DB and hand it to serve_stdio.
Structs§
- Wire
Bundle Install Params - Wire
Bundle RefParams - Wire
Bundle Register Params - Wire
Close Params - Wire
Context GetParams - Wire
Delete Params - Wire
Doctor Params - Wire
Edge Create Params - Wire
Edges Create Batch Params - Wire
Fetch Params - Wire
Init Params - Wire
List Page Params - Wire
Materialize Params - Wire
Node Create Params - Wire
Node Update Params - Wire
Nodes Create Batch Params - Wire
Projection Register Params - Wire
Prompt Context Params - Wire
Query Params - Wire
Render Params - Wire
Server - MCP server wrapping persona-wire-core.
- Wire
Slot Delete Params - Wire
Slot Register Params - Wire
Spec Register Params - Wire
Workflow Fire Params - Wire
Workflow List Params - Wire
Workflow Register Params
Constants§
- ONBOARDING_
GUIDE - Full end-to-end onboarding guide bundled with the MCP server.
Functions§
- serve_
stdio - Run the MCP server over stdio against the given SQLite db path. Caller
(typically the unified
persona-wire mcpsubcommand) owns tokio runtime setup and tracing init.