Skip to content

Conversation

@BlakeASmith
Copy link
Owner

Add argparse argument parsing to the generated server template to allow users to filter included tools, resources, and prompts using shell-style wildcards.

The filtering logic was adjusted to occur at runtime within the generated server, rather than at template generation time, to correctly apply user-provided --include patterns. This involved generating all components and conditionally registering them based on the runtime argument.


Open in Cursor Open in Web

cursoragent and others added 2 commits September 14, 2025 16:10
Co-authored-by: blakeinvictoria <blakeinvictoria@gmail.com>
This change modifies the generator to only register tools, resources, and prompts if they match specified include patterns. This provides more flexibility in controlling which components are included in the generated server.

Co-authored-by: blakeinvictoria <blakeinvictoria@gmail.com>
@cursor
Copy link

cursor bot commented Sep 14, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Co-authored-by: blakeinvictoria <blakeinvictoria@gmail.com>
@BlakeASmith BlakeASmith marked this pull request as ready for review September 14, 2025 16:36
@BlakeASmith BlakeASmith merged commit c7c4b46 into main Sep 14, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants