Installing the Scaffolder MCP Backend Plugin#
This guide will help you install and set up the Scaffolder MCP backend plugin in your Backstage instance.
Prerequisites#
Before installing the plugin, ensure you have:
- A working Backstage backend
- Scaffolder plugin installed and configured
- Access to modify your Backstage backend configuration
Installation Steps#
1. Add the Package#
Install the plugin package using yarn:
2. Add to Backend#
Add the plugin to your backend (typically packages/backend/src/index.ts):
Verification#
After installation, verify that:
- The plugin appears in your package.json dependencies
- The backend starts without errors
- All 7 MCP actions are registered and accessible:
list_software_templatesget_software_template_parameter_schemarun_software_templatelist_software_template_actionsget_software_template_action_detailslist_software_template_extensionsget_software_template_extension_details- Integration with the scaffolder works correctly
Troubleshooting#
Common issues and solutions:
-
Backend Startup Issues
- Check the backend logs for errors
- Verify the plugin import statement
- Ensure all dependencies are installed
-
MCP Actions Not Available
- Confirm the MCP actions framework is enabled
- Check the backend logs for registration errors
- Verify scaffolder integration is working
-
Permission Issues
- Ensure users have appropriate scaffolder permissions
- Check authentication configuration
- Verify permission policies are correctly configured
For configuration options and customization, proceed to the Configuration Guide.