From 087fbf7952cec9143c8cd0b7148e598a494d0696 Mon Sep 17 00:00:00 2001 From: Eyal Toledano Date: Thu, 3 Apr 2025 15:17:11 -0400 Subject: [PATCH] chore: Adjusts the mcp server command from task-master-mcp-server to task-master-mcp. It cannot be simpler because global installations of the npm package would expose this as a globally available command. Calling it like 'mcp' could collide and also is lacking in branding and clarity of what command would be run. This is as good as we can make it. --- .changeset/two-bats-smoke.md | 2 +- package-lock.json | 2 +- package.json | 2 +- scripts/init.js | 3 ++- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.changeset/two-bats-smoke.md b/.changeset/two-bats-smoke.md index 53dfcb45..93a45fe0 100644 --- a/.changeset/two-bats-smoke.md +++ b/.changeset/two-bats-smoke.md @@ -3,7 +3,7 @@ --- - Adjusts the MCP server invokation in the mcp.json we ship with `task-master init`. Fully functional now. - +- Rename the npx -y command. It's now `npx -y task-master-ai task-master-mcp` - Rename MCP tools to better align with API conventions and natural language in client chat: - Rename `list-tasks` to `get-tasks` for more intuitive client requests like "get my tasks" - Rename `show-task` to `get-task` for consistency with GET-based API naming conventions diff --git a/package-lock.json b/package-lock.json index 9a5fc400..3698b43b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -32,7 +32,7 @@ "bin": { "task-master": "bin/task-master.js", "task-master-init": "bin/task-master-init.js", - "task-master-mcp-server": "mcp-server/server.js" + "task-master-mcp": "mcp-server/server.js" }, "devDependencies": { "@changesets/changelog-github": "^0.5.1", diff --git a/package.json b/package.json index 938e27af..278629fa 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "bin": { "task-master": "bin/task-master.js", "task-master-init": "bin/task-master-init.js", - "task-master-mcp-server": "mcp-server/server.js" + "task-master-mcp": "mcp-server/server.js" }, "scripts": { "test": "node --experimental-vm-modules node_modules/.bin/jest", diff --git a/scripts/init.js b/scripts/init.js index 227e1145..9cb0f145 100755 --- a/scripts/init.js +++ b/scripts/init.js @@ -710,7 +710,8 @@ function setupMCPConfiguration(targetDir, projectName) { "command": "npx", "args": [ "-y", - "task-master-mcp-server" + "task-master-ai", + "task-master-mcp" ], "env": { "ANTHROPIC_API_KEY": "%ANTHROPIC_API_KEY%",