diff --git a/package.json b/package.json index 7bbfd7a..346a6c2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "name": "mcp-discord", - "version": "1.2.0", + "version": "1.3.2", + "description": "Model Context Protocol (MCP) server for Discord integration, allowing Claude and other MCP clients to interact with Discord", "main": "build/index.js", "bin": { "mcp-discord": "build/index.js" @@ -11,19 +12,44 @@ "build": "tsc", "start": "node build/index.js", "dev": "node --loader ts-node/esm src/index.ts", - "test-api": "node test-api.js" + "test-api": "node test-api.js", + "prepublishOnly": "npm run build" }, - "author": "", + "keywords": [ + "mcp", + "model-context-protocol", + "discord", + "claude", + "ai", + "chatbot", + "automation" + ], + "author": "Barry Yip ", "license": "MIT", - "description": "", + "repository": { + "type": "git", + "url": "git+https://github.com/barryyip0625/mcp-discord.git" + }, + "bugs": { + "url": "https://github.com/barryyip0625/mcp-discord/issues" + }, + "homepage": "https://github.com/barryyip0625/mcp-discord#readme", + "files": [ + "build/", + "README.md", + "LICENSE" + ], + "engines": { + "node": ">=18.0.0" + }, "devDependencies": { - "@modelcontextprotocol/sdk": "^1.11.0", "@types/express": "^5.0.1", "@types/node": "^20.17.50", "ts-node": "^10.9.2", "typescript": "^5.8.3" }, "dependencies": { + "@modelcontextprotocol/sdk": "^1.11.0", "discord.js": "^14.19.3", "dotenv": "^16.5.0", "express": "^5.1.0", diff --git a/src/index.ts b/src/index.ts index 0ecdf8d..c4ef47a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,3 +1,4 @@ +#!/usr/bin/env node import { Client, GatewayIntentBits } from "discord.js"; import { config as dotenvConfig } from 'dotenv'; import { DiscordMCPServer } from './server.js';