@tensakulabs/discord-mcp 0.1.4 → 0.1.5

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/cli.js +9 -3
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -10,7 +10,7 @@ const program = new Command();
10
10
  program
11
11
  .name("discord-mcp")
12
12
  .description("Discord selfbot MCP server for Claude")
13
- .version("0.1.0");
13
+ .version("0.1.5");
14
14
  program
15
15
  .command("setup")
16
16
  .description("Configure Discord token and register MCP server")
@@ -105,7 +105,7 @@ Step 1: Extract your Discord token
105
105
  config.mcpServers ??= {};
106
106
  config.mcpServers["discord"] = {
107
107
  command: "npx",
108
- args: ["-y", "@tensakulabs/discord-mcp"],
108
+ args: ["-y", "@tensakulabs/discord-mcp", "mcp"],
109
109
  };
110
110
  writeFileSync(configPath, JSON.stringify(config, null, 2));
111
111
  console.log(`✅ Registered in Claude config: ${configPath}`);
@@ -120,12 +120,18 @@ Add this to your ~/.claude/settings.json manually:
120
120
  "mcpServers": {
121
121
  "discord": {
122
122
  "command": "npx",
123
- "args": ["-y", "@tensakulabs/discord-mcp"]
123
+ "args": ["-y", "@tensakulabs/discord-mcp", "mcp"]
124
124
  }
125
125
  }
126
126
  `);
127
127
  }
128
128
  });
129
+ program
130
+ .command("mcp")
131
+ .description("Start the MCP server (stdio transport — used by Claude Code)")
132
+ .action(async () => {
133
+ await import("./index.js");
134
+ });
129
135
  program
130
136
  .command("daemon-start")
131
137
  .description("Start the daemon (called by launchd — not intended for direct use)")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tensakulabs/discord-mcp",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Discord selfbot MCP server — read & send messages via Claude",
5
5
  "license": "MIT",
6
6
  "type": "module",