Skip to content

Commit e54bc88

Browse files
authored
fix: Allow MCP server to fix issues when asked to (#248)
1 parent 380c224 commit e54bc88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/mcp/src/mcp-server.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ mcpServer.tool(
4848

4949
content.unshift({
5050
type,
51-
text: "Here are the results of running ESLint on the provided files:",
51+
text: "Here are the results of running ESLint on the provided files. Before doing anything else, you must display the full list to the user:",
5252
});
5353
content.push({
5454
type,
55-
text: "Do not automatically fix these issues. You must ask the user for confirmation before attempting to fix the issues found.",
55+
text: "If the user asked to fix any issues found, proceed in fixing them. If the user did not ask to fix issues found, you must ask the user for confirmation before attempting to fix the issues found.",
5656
});
5757

5858
return {

0 commit comments

Comments
 (0)