Repository navigation
fix(factorydroid): keep the per-server enabledTools MCP allowlist - #3644
Merged
Merged
Conversation
Factory Droid now documents a per-server `enabledTools` allowlist next to `disabledTools` (https://docs.factory.com/harness/mcp): a non-empty list loads only the named tools, and a tool named in both stays excluded. The processor still marked factorydroid as denylist-only, so `enabledTools` was stripped and the server loaded every tool. Mark the filter as supported; the adapter already passes both fields through on generate and import. Refs #3414 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0179ZomNiDQHCzgoxeRVmfth
…ctorydroid-enabled-tools # Conflicts: # src/generated/docs-content.ts
…ctorydroid-enabled-tools # Conflicts: # src/generated/docs-content.ts
…ctorydroid-enabled-tools # Conflicts: # src/generated/docs-content.ts
This was referenced Oct 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Factory Droid's MCP docs now document a per-server
enabledToolsallowlist next todisabledTools("When the list is non-empty, only these tools are loaded"; a tool named in both lists stays excluded). Rulesync still markedfactorydroidas denylist-only (supportsEnabledTools: false), so the processor strippedenabledToolsbefore writing.factory/mcp.json/~/.factory/mcp.json, and the server loaded every tool.Changes
src/features/mcp/mcp-processor.ts: setsupportsEnabledTools: trueforfactorydroidand point the comment at the current docs page. The adapter already passes both fields through on generate and import.enabledTools/disabledToolsthroughgenerateandimport.docs/reference/file-formats.md(and the embeddedsrc/generated/docs-content.ts): add a Factory Droid note to the MCP tool-config section.This fixes only the gap from the 2026-10-25 re-check comment. The older open items (native
permissionRules, remainingdocs.factory.ailinks) are left as they are.Refs #3414
🤖 Generated with Claude Code
https://claude.ai/code/session_0179ZomNiDQHCzgoxeRVmfth