Skip to content

Usage within PhpStorm (Jetbrains)? #39

@rolandorojas

Description

@rolandorojas

Environment: Windows 11
Node version: 20.17.0

I set up the MCP for PhpStorm's Junie, but I cannot get it to start. This is the error I get

StandaloneCoroutine was cancelled

Rollbar MCP Server running on stdio node:events:497 throw er; // Unhandled 'error' event ^ Error: EPIPE: broken pipe, write at Socket._write (node:internal/net:61:18) at writeOrBuffer (node:internal/streams/writable:570:12) at _write (node:internal/streams/writable:499:10) at Writable.write (node:internal/streams/writable:508:10) at file:///C:/Users/rolan/AppData/Local/npm-cache/_npx/8679b797aad9220b/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js:69:30 at new Promise ( ) at StdioServerTransport.send (file:///C:/Users/rolan/AppData/Local/npm-cache/_npx/8679b797aad9220b/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js:67:16) at Promise.resolve.then.then.capturedTransport.send.jsonrpc (file:///C:/Users/rolan/AppData/Local/npm-cache/_npx/8679b797aad9220b/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js:162:108) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) Emitted 'error' event on Socket instance at: at emitErrorNT (node:internal/streams/destroy:169:8) at emitErrorCloseNT (node:internal/streams/destroy:128:3) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { errno: -4047, syscall: 'write', code: 'EPIPE' } Node.js v20.17.0

If I start it from the command line, it does appear to work:

>set ROLLBAR_ACCESS_TOKEN=<real-token-here>
> C:\nvm4w\nodejs\npx.cmd -y @rollbar/mcp-server@latest --stdio

The process starts successfully with the message "Rollbar MCP Server running on stdio."

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions