pub fn filter_commands(
commands: Vec<CommandDef>,
include: &[String],
exclude: &[String],
methods: &[String],
) -> Vec<CommandDef>Expand description
Filter by HTTP method whitelist, then include globs, then exclude globs.
MCP commands (method is None) pass the methods filter unchanged.