# Discourse MCP User API Key Generator Error Nodejs \>20

**URL:** https://meta.discourse.org/t/discourse-mcp-user-api-key-generator-error-nodejs-20/390073
**Category:** Support
**Tags:** mcp
**Created:** [December 1, 2025, 4:56pm UTC](https://meta.discourse.org/t/discourse-mcp-user-api-key-generator-error-nodejs-20/390073 "2025-12-01T16:56:38Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [December 2, 2025, 2:28pm UTC](https://meta.discourse.org/t/discourse-mcp-user-api-key-generator-error-nodejs-20/390073/6 "2025-12-02T14:28:56Z")

</div>

> [@deviantintegral](#):
>
> I suppose [discourse-mcp/package.json at 858e5bd5092c7d31693554046db34f98671a8cb9 · discourse/discourse-mcp · GitHub](https://github.com/discourse/discourse-mcp/blob/858e5bd5092c7d31693554046db34f98671a8cb9/package.json#L45) should be updated to `>=24`.

Good idea

> <https://github.com/discourse/discourse-mcp/pull/19>
>
> Updates minimum Node.js requirement from 18 to 24.
> 
> The \`generate-user-api-key\` …tool uses \`RSA\_PKCS1\_PADDING\` which is no longer supported in Node.js versions below 24, causing runtime errors during API key generation.
> 
> \*\*Changes:\*\*
> \- Bump \`engines.node\` to \`\>=24\` in package.json
> \- Update version to 0.1.11
> \- Add breaking change entry to CHANGELOG.md
> 
> Fixes https://meta.discourse.org/t/discourse-mcp-user-api-key-generator-error-nodejs-20/390073

---

_[View the full topic](https://meta.discourse.org/t/discourse-mcp-user-api-key-generator-error-nodejs-20/390073)._
