Skip to content

feat(mcp-server.js): add NodeJS debugger MCP server and simple package.json #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 19, 2025

Conversation

arthurgousset
Copy link
Member

@arthurgousset arthurgousset commented Mar 19, 2025

Description

  1. initialises directory with working MCP server. Published on NPM: mcp-nodejs-debugger

Other changes

None.

Tested

Not flawless, but works.

  1. Add to Claude Code:

    claude mcp add nodejs-debugger npx mcp-nodejs-debugger
  2. Test MCP server is running

    > /mcp 
      ⎿  MCP Server Status
    
         • nodejs-debugger: connected
    
  3. Remove from Claude Code:

    claude remove nodejs-debugger
  4. Run locally to test:

    npx mcp-nodejs-debugger

Known bug, the MCP server only works when a NodeJS server is already running in debug mode. When we add the MCP server, it attaches to the debug session as expected. If we add the MCP server first, and then start a NodeJS server in debug mode, the current MCP server does not find the NodeJS server and does not attach.

Backwards compatibility

N/A

Documentation

To publish to NPM:

npm login
npm publish --tag beta

Note: Increment the version in package.json every time we publish.

For organisation scope: https://docs.npmjs.com/creating-and-publishing-an-organization-scoped-package

@arthurgousset arthurgousset merged commit 1615fe4 into main Mar 19, 2025
@arthurgousset arthurgousset deleted the arthurgousset/feat/add-mcp branch March 19, 2025 15:26
@arthurgousset arthurgousset changed the title feat: add NodeJS debugger MCP server and simple package.json feat(mcp-server.js): add NodeJS debugger MCP server and simple package.json Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant