Skip to content
This repository was archived by the owner on Oct 28, 2025. It is now read-only.

Conversation

@brandonspark
Copy link
Collaborator

Based on #161, this PR adds the ability to conditionally deregister certain tools, using env vars with the schema <tool_name>_DISABLED.

This PR just achieves it via using the low-level API, as opposed to conditionally declaring each function, which saves us some boilerplate and in my opinion produces better-looking code.

Copy link
Collaborator

@liukatkat liukatkat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried setting an env var to disable the tool but I can still see the tool in cursor

Copy link
Collaborator

@liukatkat liukatkat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There was some problem with the command I ran to test it. I ran it with the correct command and now it works!

@brandonspark brandonspark merged commit 4fa83de into main Sep 2, 2025
11 checks passed
@brandonspark brandonspark deleted the brandon/remove-tools branch September 2, 2025 18:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants