@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.
- package/dist/index.js +3 -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
|
-
|
|
2858
|
-
|
|
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
|