mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-26 01:11:21 +00:00
## Summary Adds a stdio-based Fabro MCP server so MCP clients can manage Fabro workflow runs through the authenticated `fabro` CLI, without a separate MCP auth flow. ## What Changed - Adds `fabro mcp start`, `fabro mcp config`, and `fabro mcp init <agent>` for launching and configuring the MCP server. - Introduces a new `fabro-mcp-server` crate with run-management tools: - `fabro_run_create` - `fabro_run_search` - `fabro_run_interact` - `fabro_run_gather` - `fabro_run_events` - Reuses the CLI's authenticated server connection behavior, including OAuth refresh, dev-token/local-server handling, explicit server targets, proxy behavior, and stdio env/cwd isolation. - Moves shared run-manifest construction into `fabro-manifest` so CLI runs and MCP-created runs use the same override semantics. - Extends MCP client stdio support with configured cwd and exact environment handling for reliable spawned-server tests. --------- Co-authored-by: fabro-sh-0530[bot] <281434857+fabro-sh-0530[bot]@users.noreply.github.com> Co-authored-by: Fabro <noreply@fabro.sh>
78 lines
1.1 KiB
Rust
78 lines
1.1 KiB
Rust
mod archive;
|
|
mod artifact_cp;
|
|
mod artifact_list;
|
|
mod attach;
|
|
mod auth;
|
|
mod cli_reference;
|
|
mod config;
|
|
mod create;
|
|
mod diff;
|
|
mod discord;
|
|
mod docs;
|
|
mod doctor;
|
|
mod dump;
|
|
mod events;
|
|
mod exec;
|
|
mod fabro;
|
|
mod fork;
|
|
mod graph;
|
|
mod inspect;
|
|
mod install;
|
|
mod json_global;
|
|
mod logs;
|
|
mod mcp;
|
|
mod model;
|
|
mod model_list;
|
|
mod model_test;
|
|
mod parse;
|
|
mod pr;
|
|
mod pr_close;
|
|
mod pr_create;
|
|
mod pr_merge;
|
|
mod pr_view;
|
|
mod preflight;
|
|
mod provider;
|
|
mod provider_login;
|
|
mod ps;
|
|
mod render_graph;
|
|
mod repo;
|
|
mod repo_deinit;
|
|
mod repo_init;
|
|
mod resume;
|
|
mod rewind;
|
|
mod rm;
|
|
mod run;
|
|
mod runner;
|
|
mod sandbox_cp;
|
|
mod sandbox_preview;
|
|
mod sandbox_ssh;
|
|
mod secret;
|
|
mod secret_list;
|
|
mod secret_rm;
|
|
mod secret_set;
|
|
mod send_analytics;
|
|
mod send_panic;
|
|
mod server_start;
|
|
mod server_status;
|
|
mod server_stop;
|
|
mod start;
|
|
pub(crate) mod support;
|
|
mod system;
|
|
mod system_df;
|
|
mod system_events;
|
|
mod system_info;
|
|
mod system_prune;
|
|
mod system_repair;
|
|
#[cfg(debug_assertions)]
|
|
mod test_panic;
|
|
mod top_level;
|
|
mod unarchive;
|
|
mod uninstall;
|
|
mod upgrade;
|
|
mod validate;
|
|
mod version;
|
|
mod wait;
|
|
mod worker_auth;
|
|
mod workflow;
|
|
mod workflow_create;
|
|
mod workflow_list;
|