@studiosolid/shopware-mcp
Version:
A local Model Context Protocol (MCP) server for Shopware plugin development
24 lines (20 loc) • 1.05 kB
JavaScript
export default {
name: 'ask-for-project-directory',
description: 'Ask the user for the desired project directory to be used for the bugfix process',
paramsSchema: {},
cb: () => {
return {
content: [
{
type: 'text',
text: `
This tool should only be used as part of a running Shopware plugin bugfix process with a support ticket number. It should not be used on its own.
To be able to create a local development environment at the correct path in which the bug can be reproduced and fixed, we need to ask the user for following information:
- Path which should serve as project root (a subfolder for the project will be created automatically)
Stop generating output and wait for a new prompt with the needed information from the user. If you run into issue interpreting the user's response, ask the user to provide the information again.
`,
},
]
};
},
};