Skip to content

Commit aeb9327

Browse files
fix(docs): correct npx invocation for niftycli-mcp in README
npx niftycli-mcp 404s since niftycli-mcp isn't its own package, and npx niftycli niftycli-mcp (without -p) runs the wrong bin. Use npx -p niftycli niftycli-mcp, verified against the published package.
1 parent 2f9628e commit aeb9327

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,14 @@ stdio and reuses your existing `niftycli init` configuration - it doesn't handle
8686
itself.
8787

8888
```bash
89-
claude mcp add niftycli -- npx niftycli-mcp
89+
npm i -g niftycli
90+
claude mcp add niftycli -- niftycli-mcp
9091
```
9192

92-
For Claude Desktop or other MCP clients, point the client at `npx niftycli-mcp` (stdio
93-
transport). Full docs: [MCP Server guide](https://niftycli.mahmudunnabikajal.com/docs/mcp-server).
93+
Without a global install, use `npx -y -p niftycli niftycli-mcp` instead (`niftycli-mcp` is a
94+
bin inside the `niftycli` package, not its own package - `npx niftycli-mcp` alone will 404,
95+
and `npx niftycli niftycli-mcp` without `-p` runs the wrong bin). Full docs:
96+
[MCP Server guide](https://niftycli.mahmudunnabikajal.com/docs/mcp-server).
9497

9598
## Troubleshooting
9699

0 commit comments

Comments
 (0)