feat: leverage elicitations in the MCP server

This commit is contained in:
Michael Bolin
2025-07-19 00:10:47 -04:00
parent 3fe0feabbc
commit 4a70da083e
9 changed files with 121 additions and 22 deletions
+4 -1
View File
@@ -18,6 +18,7 @@ use mcp_types::ClientCapabilities;
use mcp_types::Implementation;
use mcp_types::Tool;
use serde_json::json;
use sha1::Digest;
use sha1::Sha1;
use tokio::task::JoinSet;
@@ -135,7 +136,9 @@ impl McpConnectionManager {
experimental: None,
roots: None,
sampling: None,
elicitation: None,
// TODO(mbolin): Research the expected structure
// for this field.
elicitation: Some(json!({})),
},
client_info: Implementation {
name: "codex-mcp-client".to_owned(),