feat(mcp): add tool presets and audit commands

- Introduce reference MCP presets with installation/audit helpers and remove legacy connector lists.
- Add CLI `owlen tools` commands to install presets or audit configuration, with optional pruning.
- Extend the TUI :tools command to support listing presets, installing them, and auditing current configuration.
- Document the preset workflow and provide regression tests for preset application.
This commit is contained in:
2025-10-25 05:14:28 +02:00
parent c3a92a092b
commit 1994367a2e
22 changed files with 871 additions and 76 deletions

View File

@@ -32,7 +32,7 @@ async fn remote_file_server_read_and_list() {
// Read file via MCP
let call = McpToolCall {
name: "resources/get".to_string(),
name: "resources_get".to_string(),
arguments: serde_json::json!({"path": "hello.txt"}),
};
let resp = client.call_tool(call).await.expect("call_tool");
@@ -41,7 +41,7 @@ async fn remote_file_server_read_and_list() {
// List directory via MCP
let list_call = McpToolCall {
name: "resources/list".to_string(),
name: "resources_list".to_string(),
arguments: serde_json::json!({"path": "."}),
};
let list_resp = client.call_tool(list_call).await.expect("list_tool");