Files
huskies/server/src/http/mcp/mod.rs
T

33 lines
1.3 KiB
Rust
Raw Normal View History

2026-04-29 21:35:55 +00:00
//! MCP tool dispatch and schema module.
//!
//! Agents no longer connect via an HTTP `/mcp` endpoint. Tool dispatch
//! is invoked directly by API-based runtimes (Gemini, OpenAI) and by
//! the WebSocket-based `/crdt-sync` rendezvous channel.
2026-04-29 10:41:32 +00:00
/// MCP tools for agent start, stop, wait, list, and inspect.
pub mod agent_tools;
2026-04-29 10:41:32 +00:00
/// MCP tools for server logs, CRDT dump, version, and story movement.
pub mod diagnostics;
2026-04-29 21:35:55 +00:00
/// MCP tool dispatch — routes a tool name to the appropriate handler module.
pub mod dispatch;
2026-04-29 10:41:32 +00:00
/// MCP tools for git operations scoped to agent worktrees.
pub mod git_tools;
2026-04-29 10:41:32 +00:00
/// MCP tools for merge status and merge-to-master operations.
pub mod merge_tools;
2026-04-29 10:41:32 +00:00
/// MCP tools for QA request, approve, and reject workflows.
pub mod qa_tools;
2026-04-29 10:41:32 +00:00
/// MCP tools for running shell commands and test suites.
pub mod shell_tools;
2026-04-29 10:41:32 +00:00
/// MCP tools for pipeline status, story todos, and triage dump.
pub mod status_tools;
2026-04-29 10:41:32 +00:00
/// MCP tools for creating, updating, and managing stories and bugs.
pub mod story_tools;
2026-04-29 21:35:55 +00:00
/// MCP tool schema definitions for `tools/list`.
pub mod tools_list;
2026-04-29 10:41:32 +00:00
/// MCP tools for the project setup wizard.
pub mod wizard_tools;
2026-04-29 21:35:55 +00:00
// Re-export for test code in submodules that references `super::super::handle_tools_list`.
#[cfg(test)]
2026-04-29 21:35:55 +00:00
pub(crate) use tools_list::handle_tools_list;