@soapbox.pub/js-dev-mcp
v0.6.3
Published
Developer MCP specifically geared towards managing JavaScript and TypeScript projects.
Readme
JS Dev MCP Server
Developer MCP specifically geared towards managing JavaScript and TypeScript projects.
Usage
Add the command to your MCP client:
npx @soapbox.pub/js-dev-mcpDevelopment
- Build:
npm run build - Test:
npm test - Type check:
npm run check - Development:
npm run dev
Available Tools
The implementation provides nine powerful tools:
shell: Execute a command in the shell
- Parameters:
command(string): The command to execute
- Parameters:
text_editor_view: View the content of a file
- Parameters:
path(string): Absolute path to the file to viewstart_line(number, optional): Starting line number (1-indexed, inclusive)end_line(number, optional): Ending line number (1-indexed, inclusive)
- Parameters:
text_editor_write: Create or overwrite a file with new content
- Parameters:
path(string): Absolute path to the file to writefile_text(string): Content to write to the file
- Parameters:
text_editor_str_replace: Replace a string in a file with a new string
- Parameters:
path(string): Absolute path to the fileold_str(string): The string to replacenew_str(string): The new string to insert
- Parameters:
npm_run_script: Run one of the available scripts in the project directory
- Parameters:
script(string): Name of the script to run from package.json or deno.json
- Parameters:
npm_add_package: Safely add a package to your project using npm. Creates package.json if it doesn't exist.
- Parameters:
name(string): Name of the npm packageversion(string, optional): Version string (optional)dev(boolean, optional): If true, add to devDependencies (default: false)
- Parameters:
npm_remove_package: Safely remove a package from your project using npm.
- Parameters:
name(string): Name of the npm package to removedev(boolean, optional): If true, remove from devDependencies (default: false)
- Parameters:
jsr_add_package: Safely add a JSR package to the project in the current directory. JSR is the JavaScript Registry at https://jsr.io
- Parameters:
name(string): Name of the JSR packageversion(string, optional): Version (optional)dev(boolean, optional): If true, add to devDependencies (default: false)
- Parameters:
jsr_remove_package: Safely remove a JSR package from the project in the current directory.
- Parameters:
name(string): Name of the JSR package to remove
- Parameters:
