suggest_mcps_for_query
Analyzes a user query to recommend the most helpful MCP servers and pre-built workflow templates, providing rationale and cost estimates for efficient tool selection.
Instructions
Suggest which MCP servers to use for a given query.
Analyzes the query and recommends which MCP servers (Context7, Tavily, Playwright, etc.) would be most helpful, along with pre-built workflow templates if available.
Args: query: The user's query context: Detected query context (default: "GENERAL") Options: SECURITY, COST, CRISIS, ARCHITECTURAL, TECHNICAL, etc. user_mcps: Optional list of MCPs to filter suggestions (e.g., ["context7", "tavily"])
Returns: JSON with suggested MCPs, rationale, matching workflows, and cost/time estimates
Example: # Get MCP suggestions suggest_mcps_for_query( query="Review authentication for security issues", context="SECURITY" )
# Returns: sensei + context7 (OWASP docs) + tavily (CVEs) + playwright (live inspection)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| context | No | GENERAL | |
| user_mcps | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |