Cursor running and fixing code
I've recently started expanding my usage of Cursor to let it run commands, tests, etc and fix it's own issues. Here's my experience.
Here are the steps.
Make sure you have node installed on windows.
node -v
Install the NPM package for the MCP tool globally on windows
npm install -g @modelcontextprotocol/server-sequential-thinking
Find the root where your global windows NPM packages are installed
npm root -g
Work out the actual node executable
In this case for me it was:
C:\Program Files\nodejs\node_modules\@modelcontextprotocol\server-sequential-thinking\dist\index.js
Set up the cursor MCP config as follows
{
"mcpServers": {
"sequential-thinking": {
"command": "node 'C:\\Program Files\\nodejs\\node_modules\\@modelcontextprotocol\\server-sequential-thinking\\dist\\index.js'"
}
}
}
Check that it's enabled.
Test it
Update
Next day, sequential-thinking didn't work, and I couldn't get the playwright MCP working through this method.
So I playaround a bit, and got this, which also means you install the packages globally on windows.
{
"mcpServers": {
"sequential-thinking": {
"command": "cmd",
"args": [
"/c",
"npx",
"-y",
"@modelcontextprotocol/server-sequential-thinking"
]
},
"browser-tool-mcp": {
"command": "cmd",
"args": [
"/c",
"npx",
"-y",
"@playwright/mcp"
]
}
}
}
I've recently started expanding my usage of Cursor to let it run commands, tests, etc and fix it's own issues. Here's my experience.
I'm loving AI. Not for greating huge apps, but those little time-saving tools. Here's an example....
You hate all those CMSs, so you'll create your own. Simple, right?