Developer MCP specifically geared towards managing JavaScript and TypeScript projects.
Add the command to your MCP client:
npx @soapbox.pub/js-dev-mcp
-
Build:
npm run build
-
Test:
npm test
-
Type check:
npm run check
-
Development:
npm run dev
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 view -
start_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 write -
file_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 file -
old_str
(string): The string to replace -
new_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 package -
version
(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 remove -
dev
(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 package -
version
(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: