Skip to content

An AI-powered task-management system you can drop into Cursor, Lovable, Windsurf, Roo, and others.

feat: add new bin task-master-ai same name as package to allow npx -y task-master-ai to work (#253)

Ralph Khreishb2ccd605264e
diff --git a/.changeset/polite-candles-follow.md b/.changeset/polite-candles-follow.md
new file mode 100644
index 00000000..fa3d1349
--- /dev/null
+++ b/.changeset/polite-candles-follow.md
@@ -0,0 +1,5 @@
+---
+'task-master-ai': minor
+---
+
+Add `npx task-master-ai` that runs mcp instead of using `task-master-mcp``
diff --git a/README-task-master.md b/README-task-master.md
index 862e3744..08f3f2e1 100644
--- a/README-task-master.md
+++ b/README-task-master.md
@@ -146,7 +146,7 @@ To enable enhanced task management capabilities directly within Cursor using the
4. Configure with the following details:
- Name: "Task Master"
- Type: "Command"
- - Command: "npx -y task-master-mcp"
+ - Command: "npx -y task-master-ai"
5. Save the settings
Once configured, you can interact with Task Master's task management commands directly through Cursor's interface, providing a more integrated experience.
diff --git a/README.md b/README.md
index 61108163..8d5d64a3 100644
--- a/README.md
+++ b/README.md
@@ -20,20 +20,14 @@ A task management system for AI-driven development with Claude, designed to work
MCP (Model Control Protocol) provides the easiest way to get started with Task Master directly in your editor.
-1. **Install the package**
-
-```bash
-npm i -g task-master-ai
-```
-
-2. **Add the MCP config to your editor** (Cursor recommended, but it works with other text editors):
+1. **Add the MCP config to your editor** (Cursor recommended, but it works with other text editors):
```json
{
"mcpServers": {
"taskmaster-ai": {
"command": "npx",
- "args": ["-y", "task-master-mcp"],
+ "args": ["-y", "task-master-ai"],
"env": {
"ANTHROPIC_API_KEY": "YOUR_ANTHROPIC_API_KEY_HERE",
"PERPLEXITY_API_KEY": "YOUR_PERPLEXITY_API_KEY_HERE",
diff --git a/docs/tutorial.md b/docs/tutorial.md
index 4aa8b98e..1ecdf64e 100644
--- a/docs/tutorial.md
+++ b/docs/tutorial.md
@@ -10,20 +10,14 @@ There are two ways to set up Task Master: using MCP (recommended) or via npm ins
MCP (Model Control Protocol) provides the easiest way to get started with Task Master directly in your editor.
-1. **Install the package**
-
-```bash
-npm i -g task-master-ai
-```
-
-2. **Add the MCP config to your editor** (Cursor recommended, but it works with other text editors):
+1. **Add the MCP config to your editor** (Cursor recommended, but it works with other text editors):
```json
{
"mcpServers": {
"taskmaster-ai": {
"command": "npx",
- "args": ["-y", "task-master-mcp"],
+ "args": ["-y", "task-master-ai"],
"env": {
"ANTHROPIC_API_KEY": "YOUR_ANTHROPIC_API_KEY_HERE",
"PERPLEXITY_API_KEY": "YOUR_PERPLEXITY_API_KEY_HERE",
diff --git a/package-lock.json b/package-lock.json
index 13a323a3..de3e307c 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "task-master-ai",
- "version": "0.10.1",
+ "version": "0.11.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "task-master-ai",
- "version": "0.10.1",
+ "version": "0.11.1",
"license": "MIT WITH Commons-Clause",
"dependencies": {
"@anthropic-ai/sdk": "^0.39.0",
@@ -31,6 +31,7 @@
},
"bin": {
"task-master": "bin/task-master.js",
+ "task-master-ai": "mcp-server/server.js",
"task-master-mcp": "mcp-server/server.js"
},
"devDependencies": {
diff --git a/package.json b/package.json
index 7f4b1464..8428a1c9 100644
--- a/package.json
+++ b/package.json
@@ -1,12 +1,13 @@
{
"name": "task-master-ai",
- "version": "0.11.0",
+ "version": "0.11.1",
"description": "A task management system for ambitious AI-driven development that doesn't overwhelm and confuse Cursor.",
"main": "index.js",
"type": "module",
"bin": {
"task-master": "bin/task-master.js",
- "task-master-mcp": "mcp-server/server.js"
+ "task-master-mcp": "mcp-server/server.js",
+ "task-master-ai": "mcp-server/server.js"
},
"scripts": {
"test": "node --experimental-vm-modules node_modules/.bin/jest",