Skip to content

Commit

Permalink
fix: use npx to load tsx (fixes #4)
Browse files Browse the repository at this point in the history
  • Loading branch information
punkpeye committed Jan 1, 2025
1 parent 86dccd2 commit c725fd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/fastmcp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ await yargs(hideBin(process.argv))
stdin: "inherit",
stdout: "inherit",
stderr: "inherit",
})`npx @wong2/mcp-cli tsx ${argv.file}`;
})`npx @wong2/mcp-cli npx tsx ${argv.file}`;
} catch {
process.exit(1);
}
Expand Down

0 comments on commit c725fd1

Please sign in to comment.