You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: validate MCP tool is not disabled before execution
- Check enabledForPrompt property in validateToolExists function
- Reject disabled tools with appropriate error message
- Show only enabled tools in error message when tool is disabled
Addresses PR feedback about checking for disabled tools
`Tool '${toolName}' on server '${serverName}' is disabled. Available enabled tools: ${enabledToolNames.length>0 ? enabledToolNames.join(", ") : "No enabled tools available"}`,
0 commit comments