add rules to mcp initialize project
This commit is contained in:
@@ -35,7 +35,11 @@ export function registerInitializeProjectTool(server) {
|
||||
.string()
|
||||
.describe(
|
||||
'The root directory for the project. ALWAYS SET THIS TO THE PROJECT ROOT DIRECTORY. IF NOT SET, THE TOOL WILL NOT WORK.'
|
||||
)
|
||||
),
|
||||
rules: z
|
||||
.array(z.string())
|
||||
.optional()
|
||||
.describe('List of brand rules to include at initialization (e.g., ["cursor", "roo"]). If omitted, defaults to ["cursor"].')
|
||||
}),
|
||||
execute: withNormalizedProjectRoot(async (args, context) => {
|
||||
const { log } = context;
|
||||
|
||||
Reference in New Issue
Block a user