Skip to content

Commit 3ba1f8d

Browse files
committed
feat(mcp): expose ScriptedTool as MCP tool
Refactor MCP server into McpServer struct with register_scripted_tool(). ScriptedTools appear in tools/list and route tools/call correctly. Keep existing bash tool for backward compat. Gate behind scripted_tool feature flag on bashkit-cli. 9 tests including full JSON-RPC roundtrip. Update spec 014. Closes #520
1 parent 2f55c68 commit 3ba1f8d

File tree

3 files changed

+452
-112
lines changed

3 files changed

+452
-112
lines changed

crates/bashkit-cli/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ doc = false # Disable to avoid collision with bashkit library docs
2222
default = ["python"]
2323
python = ["bashkit/python"]
2424
realfs = ["bashkit/realfs"]
25+
scripted_tool = ["bashkit/scripted_tool"]
2526

2627
[dependencies]
2728
bashkit = { path = "../bashkit", version = "0.1.9", features = ["http_client", "git"] }

0 commit comments

Comments
 (0)