"taskmaster-ai": {
"command": "npx",
"args": ["-y", "--package=task-master-ai", "task-master-ai"],
"env": {
"ANTHROPIC_API_KEY": "sk-ant-apiXXXXXXX",
"PERPLEXITY_API_KEY": "pplx-XXXX"
}
},
but I see a red dot, that is not connecting as MCP I can install and init task-master on terminal but then how can I run the tasks?
Hey, I checked your config and it’s working. Can you check the logs? To do this, open the Output panel by going to the View -> Output
menu, and in the dropdown menu, select the MCP Logs
. Also, try disabling and enabling the MCP server again, or restarting Cursor, it usually helps.
thanks, I’m getting:
[error] user-task-master-ai: npm error code ENOTEMPTY
npm error syscall rename
npm error path /Users/johnbiddulph/.npm/_npx/0726791833487271/node_modules/mcp-proxy
2025-06-11 11:34:36.774 [error] user-task-master-ai: npm error dest /Users/johnbiddulph/.npm/_npx/0726791833487271/node_modules/.mcp-proxy-20Y6CiCo
npm error errno -66
npm error ENOTEMPTY: directory not empty, rename '/Users/johnbiddulph/.npm/_npx/0726791833487271/node_modules/mcp-proxy' -> '/Users/johnbiddulph/.npm/_npx/0726791833487271/node_modules/.mcp-proxy-20Y6CiCo'
2025-06-11 11:34:36.775 [error] user-task-master-ai: npm error A complete log of this run can be found in: /Users/johnbiddulph/.npm/_logs/2025-06-11T10_34_28_473Z-debug-0.log
Aha, I got it, try to follow these steps:
- Clear the npm cache:
npm cache clean --force
- Remove problematic temporary directories:
rm -rf /Users/johnbiddulph/.npm/_npx/0726791833487271
- Check file permissions:
ls -la /Users/johnbiddulph/.npm/_npx/
- Update npm to the latest version:
npm install -g npm@latest
- Restart your computer.
If the issue persists, check the available disk space and ensure there are no other npm processes running in the background.
Hope this helps. If you have any further questions, let me know.
1 Like
Thank you so much @deanrie