diff --git a/.changeset/clever-spies-obey.md b/.changeset/clever-spies-obey.md
new file mode 100644
index 00000000..cd9febdc
--- /dev/null
+++ b/.changeset/clever-spies-obey.md
@@ -0,0 +1,8 @@
+---
+"task-master-ai": minor
+---
+
+No longer need --package=task-master-ai in mcp server
+
+- A lot of users were having issues with Taskmaster and usually a simple fix was to remove --package from your mcp.json
+- we now bundle our whole package, so we no longer need the --package
diff --git a/.kiro/settings/mcp.json b/.kiro/settings/mcp.json
index b157908c..f6b859cc 100644
--- a/.kiro/settings/mcp.json
+++ b/.kiro/settings/mcp.json
@@ -2,7 +2,7 @@
"mcpServers": {
"task-master-ai": {
"command": "npx",
- "args": ["-y", "--package=task-master-ai", "task-master-ai"],
+ "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/.taskmaster/CLAUDE.md b/.taskmaster/CLAUDE.md
index 6f664815..f063eecf 100644
--- a/.taskmaster/CLAUDE.md
+++ b/.taskmaster/CLAUDE.md
@@ -85,7 +85,7 @@ Task Master provides an MCP server that Claude Code can connect to. Configure in
"mcpServers": {
"task-master-ai": {
"command": "npx",
- "args": ["-y", "--package=task-master-ai", "task-master-ai"],
+ "args": ["-y", "task-master-ai"],
"env": {
"ANTHROPIC_API_KEY": "your_key_here",
"PERPLEXITY_API_KEY": "your_key_here",
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 13d30b13..06322a84 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,12 +6,6 @@
- [#1217](https://github.com/eyaltoledano/claude-task-master/pull/1217) [`e6de285`](https://github.com/eyaltoledano/claude-task-master/commit/e6de285ceacb0a397e952a63435cd32a9c731515) Thanks [@Crunchyman-ralph](https://github.com/Crunchyman-ralph)! - @tm/cli: add auto-update functionality to every command
-## 1.0.0-rc.2
-
-### Major Changes
-
-- [#1217](https://github.com/eyaltoledano/claude-task-master/pull/1217) [`e6de285`](https://github.com/eyaltoledano/claude-task-master/commit/e6de285ceacb0a397e952a63435cd32a9c731515) Thanks [@Crunchyman-ralph](https://github.com/Crunchyman-ralph)! - @tm/cli: add auto-update functionality to every command
-
## 0.27.0-rc.1
### Minor Changes
diff --git a/README.md b/README.md
index 96e51a9c..0576e295 100644
--- a/README.md
+++ b/README.md
@@ -102,7 +102,7 @@ MCP (Model Control Protocol) lets you run Task Master directly from your editor.
"mcpServers": {
"task-master-ai": {
"command": "npx",
- "args": ["-y", "--package=task-master-ai", "task-master-ai"],
+ "args": ["-y", "task-master-ai"],
"env": {
"ANTHROPIC_API_KEY": "YOUR_ANTHROPIC_API_KEY_HERE",
"PERPLEXITY_API_KEY": "YOUR_PERPLEXITY_API_KEY_HERE",
@@ -122,7 +122,7 @@ MCP (Model Control Protocol) lets you run Task Master directly from your editor.
> 🔑 Replace `YOUR_…_KEY_HERE` with your real API keys. You can remove keys you don't use.
-> **Note**: If you see `0 tools enabled` in the MCP settings, try removing the `--package=task-master-ai` flag from `args`.
+> **Note**: If you see `0 tools enabled` in the MCP settings, restart your editor and check that your API keys are correctly configured.
###### VS Code (`servers` + `type`)
@@ -131,7 +131,7 @@ MCP (Model Control Protocol) lets you run Task Master directly from your editor.
"servers": {
"task-master-ai": {
"command": "npx",
- "args": ["-y", "--package=task-master-ai", "task-master-ai"],
+ "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/apps/docs/archive/Installation.mdx b/apps/docs/archive/Installation.mdx
index fb1135f9..8305124d 100644
--- a/apps/docs/archive/Installation.mdx
+++ b/apps/docs/archive/Installation.mdx
@@ -19,7 +19,7 @@ description: "This guide walks you through setting up Task Master in your develo
"mcpServers": {
"taskmaster-ai": {
"command": "npx",
- "args": ["-y", "--package", "task-master-ai", "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/apps/docs/archive/cursor-setup.mdx b/apps/docs/archive/cursor-setup.mdx
index 45a63fd3..1bb75f67 100644
--- a/apps/docs/archive/cursor-setup.mdx
+++ b/apps/docs/archive/cursor-setup.mdx
@@ -48,7 +48,7 @@ description: "Learn how to set up and use Task Master with Cursor AI"
- Name: "Task Master"
- Type: "Command"
- - Command: "npx -y --package task-master-ai task-master-mcp"
+ - Command: "npx -y task-master-ai"
diff --git a/apps/docs/getting-started/quick-start/installation.mdx b/apps/docs/getting-started/quick-start/installation.mdx
index 09a05c03..8fd128e5 100644
--- a/apps/docs/getting-started/quick-start/installation.mdx
+++ b/apps/docs/getting-started/quick-start/installation.mdx
@@ -56,7 +56,7 @@ MCP (Model Control Protocol) lets you run Task Master directly from your editor.
"mcpServers": {
"taskmaster-ai": {
"command": "npx",
- "args": ["-y", "--package=task-master-ai", "task-master-ai"],
+ "args": ["-y", "task-master-ai"],
"env": {
"ANTHROPIC_API_KEY": "YOUR_ANTHROPIC_API_KEY_HERE",
"PERPLEXITY_API_KEY": "YOUR_PERPLEXITY_API_KEY_HERE",
@@ -75,7 +75,7 @@ MCP (Model Control Protocol) lets you run Task Master directly from your editor.
> 🔑 Replace `YOUR_…_KEY_HERE` with your real API keys. You can remove keys you don't use.
-> **Note**: If you see `0 tools enabled` in the MCP settings, try removing the `--package=task-master-ai` flag from `args`.
+> **Note**: If you see `0 tools enabled` in the MCP settings, restart your editor and check that your API keys are correctly configured.
### VS Code (`servers` + `type`)
@@ -84,7 +84,7 @@ MCP (Model Control Protocol) lets you run Task Master directly from your editor.
"servers": {
"taskmaster-ai": {
"command": "npx",
- "args": ["-y", "--package=task-master-ai", "task-master-ai"],
+ "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/apps/extension/README.md b/apps/extension/README.md
index faed730c..16d2c875 100644
--- a/apps/extension/README.md
+++ b/apps/extension/README.md
@@ -109,7 +109,7 @@ Access settings via **File → Preferences → Settings** and search for "Taskma
### **MCP Connection Settings**
- **MCP Server Command** - Path to task-master-ai executable (default: `npx`)
-- **MCP Server Args** - Arguments for the server command (default: `-y`, `--package=task-master-ai`, `task-master-ai`)
+- **MCP Server Args** - Arguments for the server command (default: `-y`, `task-master-ai`)
- **Connection Timeout** - Server response timeout (default: 30s)
- **Auto Refresh** - Enable automatic task updates (default: enabled)
diff --git a/apps/extension/package.publish.json b/apps/extension/package.publish.json
index b05fc6fb..97e6063e 100644
--- a/apps/extension/package.publish.json
+++ b/apps/extension/package.publish.json
@@ -95,7 +95,7 @@
"items": {
"type": "string"
},
- "default": ["-y", "--package=task-master-ai", "task-master-ai"],
+ "default": ["-y", "task-master-ai"],
"description": "An array of arguments to pass to the MCP server command."
},
"taskmaster.mcp.cwd": {
diff --git a/docs/tutorial.md b/docs/tutorial.md
index b8f0c244..8c81fb43 100644
--- a/docs/tutorial.md
+++ b/docs/tutorial.md
@@ -23,7 +23,7 @@ npm i -g task-master-ai
"mcpServers": {
"taskmaster-ai": {
"command": "npx",
- "args": ["-y", "--package=task-master-ai", "task-master-ai"],
+ "args": ["-y", "task-master-ai"],
"env": {
"ANTHROPIC_API_KEY": "YOUR_ANTHROPIC_API_KEY_HERE",
"PERPLEXITY_API_KEY": "YOUR_PERPLEXITY_API_KEY_HERE",
@@ -145,7 +145,7 @@ You can also set up the MCP server in Cursor settings:
4. Configure with the following details:
- Name: "Task Master"
- Type: "Command"
- - Command: "npx -y --package=task-master-ai task-master-ai"
+ - 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/llms-install.md b/llms-install.md
index cdc0b565..6a2599af 100644
--- a/llms-install.md
+++ b/llms-install.md
@@ -17,7 +17,7 @@ Add the following configuration to the user's MCP settings file (`.cursor/mcp.js
"mcpServers": {
"taskmaster-ai": {
"command": "npx",
- "args": ["-y", "--package=task-master-ai", "task-master-ai"],
+ "args": ["-y", "task-master-ai"],
"env": {
"ANTHROPIC_API_KEY": "user_will_add_their_key_here",
"PERPLEXITY_API_KEY": "user_will_add_their_key_here",
diff --git a/public/assets/AGENTS.md b/public/assets/AGENTS.md
index 6f664815..f063eecf 100644
--- a/public/assets/AGENTS.md
+++ b/public/assets/AGENTS.md
@@ -85,7 +85,7 @@ Task Master provides an MCP server that Claude Code can connect to. Configure in
"mcpServers": {
"task-master-ai": {
"command": "npx",
- "args": ["-y", "--package=task-master-ai", "task-master-ai"],
+ "args": ["-y", "task-master-ai"],
"env": {
"ANTHROPIC_API_KEY": "your_key_here",
"PERPLEXITY_API_KEY": "your_key_here",
diff --git a/src/utils/create-mcp-config.js b/src/utils/create-mcp-config.js
index 974ee5ec..2ee36504 100644
--- a/src/utils/create-mcp-config.js
+++ b/src/utils/create-mcp-config.js
@@ -45,7 +45,7 @@ export function setupMCPConfiguration(projectRoot, mcpConfigPath) {
const newMCPServer = {
'task-master-ai': {
command: 'npx',
- args: ['-y', '--package=task-master-ai', 'task-master-ai'],
+ 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/tests/integration/profiles/amp-init-functionality.test.js b/tests/integration/profiles/amp-init-functionality.test.js
index dcf862b6..071e3a05 100644
--- a/tests/integration/profiles/amp-init-functionality.test.js
+++ b/tests/integration/profiles/amp-init-functionality.test.js
@@ -141,7 +141,7 @@ describe('Amp Profile Init Functionality', () => {
mcpServers: {
'task-master-ai': {
command: 'npx',
- args: ['-y', '--package=task-master-ai', 'task-master-ai']
+ args: ['-y', 'task-master-ai']
}
}
};
@@ -181,7 +181,7 @@ describe('Amp Profile Init Functionality', () => {
'amp.mcpServers': {
'task-master-ai': {
command: 'npx',
- args: ['-y', '--package=task-master-ai', 'task-master-ai']
+ args: ['-y', 'task-master-ai']
}
}
};
@@ -266,7 +266,7 @@ describe('Amp Profile Init Functionality', () => {
'amp.mcpServers': {
'task-master-ai': {
command: 'npx',
- args: ['-y', '--package=task-master-ai', 'task-master-ai']
+ args: ['-y', 'task-master-ai']
}
},
'other.setting': 'value'
@@ -300,7 +300,7 @@ describe('Amp Profile Init Functionality', () => {
'amp.mcpServers': {
'task-master-ai': {
command: 'npx',
- args: ['-y', '--package=task-master-ai', 'task-master-ai']
+ args: ['-y', 'task-master-ai']
}
}
};
diff --git a/tests/unit/profiles/amp-integration.test.js b/tests/unit/profiles/amp-integration.test.js
index 53eff784..756897e9 100644
--- a/tests/unit/profiles/amp-integration.test.js
+++ b/tests/unit/profiles/amp-integration.test.js
@@ -153,7 +153,7 @@ describe('Amp Profile Integration', () => {
mcpServers: {
'task-master-ai': {
command: 'npx',
- args: ['-y', '--package=task-master-ai', 'task-master-ai']
+ args: ['-y', 'task-master-ai']
}
},
'workbench.colorTheme': 'Dark+'
@@ -215,7 +215,7 @@ describe('Amp Profile Integration', () => {
'amp.mcpServers': {
'task-master-ai': {
command: 'npx',
- args: ['-y', '--package=task-master-ai', 'task-master-ai']
+ args: ['-y', 'task-master-ai']
}
}
};
diff --git a/tests/unit/profiles/selective-profile-removal.test.js b/tests/unit/profiles/selective-profile-removal.test.js
index a3a4a24e..c520d1e7 100644
--- a/tests/unit/profiles/selective-profile-removal.test.js
+++ b/tests/unit/profiles/selective-profile-removal.test.js
@@ -526,7 +526,7 @@ describe('Selective Rules Removal', () => {
mcpServers: {
'taskmaster-wrapper': {
command: 'npx',
- args: ['-y', '--package=task-master-ai', 'task-master-ai']
+ args: ['-y', 'task-master-ai']
},
'other-server': {
command: 'node',