Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

feat(mcp): add validate server arguments to module client

Steven Enamakel9e9e9572cc9d
diff --git a/crates/openhuman-core/src/mcp/module_client.rs b/crates/openhuman-core/src/mcp/module_client.rs
index 92be084d02..4d445d990a 100644
--- a/crates/openhuman-core/src/mcp/module_client.rs
+++ b/crates/openhuman-core/src/mcp/module_client.rs
@@ -171,6 +171,19 @@ impl McpModulePort for TinyMcpPort {
.call(MODULE, names::methods::PREPARE_AGENT_TOOLS, (request,))
.await
}
+
+ async fn validate_server_arguments(
+ &self,
+ request: ValidateServerArgumentsRequest,
+ ) -> Result<ServerArgumentsValidation, ModuleCallError> {
+ self.root
+ .call_confidential(
+ MODULE,
+ names::methods::VALIDATE_SERVER_ARGUMENTS,
+ (request,),
+ )
+ .await
+ }
}
/// One workspace's serialized TinyMCP lifecycle and private object proxy.