First Version

This commit is contained in:
2026-07-10 15:02:09 +01:00
commit 38494a85a9
562 changed files with 196313 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
use axum::Json;
use axum::extract::State;
use serde_json::Value;
use std::sync::Arc;
use crate::core::skald::Skald;
/// Returns the list of running MCP servers and their available tools.
pub async fn list_servers(State(skald): State<Arc<Skald>>) -> Json<Vec<Value>> {
Json(skald.mcp().server_infos())
}