move mcp-schema to standalone binary in src/claude/

mcp-schema is Claude Code glue — extract from poc-memory
subcommand to src/claude/mcp-schema.rs standalone binary.
Update Python MCP bridge to call the new binary.

Co-Developed-By: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
ProofOfConcept 2026-04-03 20:22:48 -04:00
parent b24e8e87a2
commit 56fc3a20d8
3 changed files with 43 additions and 5 deletions

View file

@ -220,10 +220,6 @@ EXAMPLES:
/// Admin operations (fsck, health, import, export)
#[command(subcommand)]
Admin(AdminCmd),
/// Output MCP tool definitions as JSON (for generic MCP bridge)
#[command(name = "mcp-schema")]
McpSchema,
}
#[derive(Subcommand)]
@ -818,7 +814,7 @@ impl Run for Command {
Self::Cursor(sub) => sub.run(),
Self::Agent(sub) => sub.run(),
Self::Admin(sub) => sub.run(),
Self::McpSchema => cli::misc::cmd_mcp_schema(),
// mcp-schema moved to standalone binary src/claude/mcp-schema.rs
}
}
}