Skip to content

revise deidentify_file tool: address gaps and revamp to use proper resources #21

Description

@jstjoe

deidentify file is disabled, needs some fixes, and an upgrade to proper resources

https://modelcontextprotocol.io/specification/2025-11-25/server/resources

One Remaining Item (Low)

src/lib/tools/deIdentifyFile.ts still exists in the repo but is unregistered/unimported. Per CLAUDE.md's disabling checklist: "Remove unused handler import; keep the handler file itself for future re-enablement." — so keeping it is actually intentional per your own documented process. This is fine.

Minor Pre-existing Note

getMaskingMethodEnum and getTranscriptionEnum in entityMaps.ts still use falsy guards (if (!maskingEnum)), which would have the same 0-value bug as getEntityEnum previously had. Since both functions are only used by the currently-disabled de-identify_file tool, this doesn't affect anything in production — just worth keeping in mind if that tool is re-enabled.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions