@mahesvara/discord-mcpserver 1.0.7 → 1.0.8

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2854,8 +2854,9 @@ async function runHTTP() {
2854
2854
  await transport.handleRequest(req, res, req.body);
2855
2855
  });
2856
2856
  const port = parseInt(process.env.PORT || "3000");
2857
- app.listen(port, () => {
2858
- console.error(`Discord MCP server running on http://localhost:${port}/mcp`);
2857
+ const host = process.env.HOST || "localhost";
2858
+ app.listen(port, host, () => {
2859
+ console.error(`Discord MCP server running on http://${host}:${port}/mcp`);
2859
2860
  });
2860
2861
  }
2861
2862
  // Choose transport based on environment
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mahesvara/discord-mcpserver",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "MCP server for controlling Discord servers via bot token",
5
5
  "author": "Mahesvara",
6
6
  "repository": {