@heroku/mcp-server 1.2.3 → 1.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -112,7 +112,7 @@ export class HerokuREPL extends EventEmitter {
112
112
  shell: process.platform === 'win32'
113
113
  });
114
114
  if (!npxCheck.error && npxCheck.status === 0) {
115
- return { cliCommand: 'npx', cliArgs: ['-y', 'heroku@latest', '--repl'] };
115
+ return { cliCommand: 'npx', cliArgs: ['-y', 'heroku@latest', 'repl'] };
116
116
  }
117
117
  else {
118
118
  // Fallback: check for heroku CLI and version
@@ -128,7 +128,7 @@ export class HerokuREPL extends EventEmitter {
128
128
  if (versionMatch) {
129
129
  const [major, minor] = versionMatch[1].split('.').map(Number);
130
130
  if (major > 10 || (major === 10 && minor >= 10)) {
131
- return { cliCommand: 'heroku', cliArgs: ['--repl'] };
131
+ return { cliCommand: 'heroku', cliArgs: ['repl'] };
132
132
  }
133
133
  else {
134
134
  this.emit('fatalError', handleCliOutput(`Startup error: Heroku CLI version 10.10.0 or higher is required for this MCP server. Detected version: ${versionMatch[1]}`));
@@ -162,7 +162,7 @@ describe('HerokuREPL', () => {
162
162
  const result = repl['getHerokuCliCommandAndArgs']();
163
163
  expect(result).to.deep.equal({
164
164
  cliCommand: 'npx',
165
- cliArgs: ['-y', 'heroku@latest', '--repl']
165
+ cliArgs: ['-y', 'heroku@latest', 'repl']
166
166
  });
167
167
  expect(fatalSpy.called).to.be.false;
168
168
  });
@@ -182,7 +182,7 @@ describe('HerokuREPL', () => {
182
182
  const result = repl['getHerokuCliCommandAndArgs']();
183
183
  expect(result).to.deep.equal({
184
184
  cliCommand: 'heroku',
185
- cliArgs: ['--repl']
185
+ cliArgs: ['repl']
186
186
  });
187
187
  expect(fatalSpy.called).to.be.false;
188
188
  });
@@ -202,7 +202,7 @@ describe('HerokuREPL', () => {
202
202
  const result = repl['getHerokuCliCommandAndArgs']();
203
203
  expect(result).to.deep.equal({
204
204
  cliCommand: 'heroku',
205
- cliArgs: ['--repl']
205
+ cliArgs: ['repl']
206
206
  });
207
207
  expect(fatalSpy.called).to.be.false;
208
208
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@heroku/mcp-server",
3
3
  "description": "Heroku Platform MCP Server",
4
- "version": "1.2.3",
4
+ "version": "1.2.4",
5
5
  "author": "Heroku",
6
6
  "bugs": "https://github.com/heroku/heroku-mcp-server/issues",
7
7
  "bin": {