Skip to content

Conversation

@Classy-Bear
Copy link
Collaborator

@Classy-Bear Classy-Bear commented Jul 25, 2025

Adding the shadcn-svelte library in order to have more supported frameworks.

Description of the PR

  • Added utility functions for framework validation and axios implementation based on the selected framework. The Github requests will change based on the framework selected.

  • Updated command line options and examples in README for better clarity on usage.

…tween React and Svelte. Added utility functions for framework validation and axios implementation based on the selected framework. Updated command line options and examples in README for better clarity on usage. This improves flexibility for users working with different frameworks.
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Thanks for the pr,it's now under review

@Classy-Bear
Copy link
Collaborator Author

Hi @Jpisnice, thanks for making this awesome MCP open source. I've added support to shadcn-svelte, I've only tested the tools calling.

Let me know if there's something that doesn't fit your preference to update the code, or add any other commit with the change.

@Jpisnice Jpisnice self-assigned this Jul 26, 2025
Copy link
Owner

@Jpisnice Jpisnice left a comment

Choose a reason for hiding this comment

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

Excellent work, David!
Could you also test whether the prompts and resources are functional via the MCP Inspector — i.e., whether they’re producing the expected results?
Really appreciate your work!
MCP Inspector

…eters. Changed 'framework' to 'buildTool' in the installation guide URI. Enhanced installation commands to dynamically select the package name based on the current framework. Added validation for the build tool parameter, specifically for Svelte, ensuring only 'vite' is accepted. This improves user experience by providing clearer instructions and error messages for different frameworks.
…uides for shadcn/ui components. The new endpoints allow users to retrieve installation scripts based on the package manager and get installation guides tailored to the build tool and package manager. This enhances the functionality and user experience by providing clearer and more specific installation instructions.
@Classy-Bear
Copy link
Collaborator Author

I've made some changes to the resources and I test them on Cline.

Here's a test result with get_installation_guide resource, it ran with very minimal interaction:

cline_task_jul-26-2025_7-51-51-pm.md

I've renamed framework to buildTool on that function since the model was using react or svelte instead of vite to run the commands.


Next week I'll be looking at all the prompts.

@Jpisnice
Copy link
Owner

Cool,Lets get everything tested and we can merge your contributions.this would be epic,let me know if i can help in any way

…ork-specific instructions based on the detected framework (React or Svelte).
@Classy-Bear
Copy link
Collaborator Author

I changed the prompts to support Svelte now.

I would need help taking a look at the implementation to confirm I haven't missed a prompt, resource or tool.

@Jpisnice Jpisnice merged commit ce67990 into Jpisnice:master Jul 31, 2025
1 of 2 checks 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.

2 participants