{"_id":"@el-el-san/discord-mcp","_rev":"9-6fd7fae337dee154b17d84ed39bfdc35","name":"@el-el-san/discord-mcp","dist-tags":{"latest":"1.3.0"},"versions":{"1.0.0":{"name":"@el-el-san/discord-mcp","version":"1.0.0","keywords":["mcp","discord","bot","messaging"],"author":{"name":"el-el-san"},"license":"MIT","_id":"@el-el-san/discord-mcp@1.0.0","maintainers":[{"name":"el-el-san","email":"eruerusansan@gmail.com"}],"homepage":"https://github.com/el-el-san/discord-mcp","bugs":{"url":"https://github.com/el-el-san/discord-mcp/issues"},"bin":{"discord-mcp":"build/index.js"},"dist":{"shasum":"ae9c34cc5a29c7b613b3def55e858d9060d37d7d","tarball":"https://registry.npmjs.org/@el-el-san/discord-mcp/-/discord-mcp-1.0.0.tgz","fileCount":6,"integrity":"sha512-As5Jeha5asLnHbt+fDiT9L8P2jI6aBFZgExJsH7izLHSnoqu9zMyY0DN7R2n9d8XW110AxjzB9/3j4hP9LMr/g==","signatures":[{"sig":"MEUCIQCnp80CK1Xxc82PVSN0jmTXM1dZ0deHaw8cg/svAfiSUwIgUlroZZqIKBOfJr/5aFrSFnjn+yhkYNt3i8zwQ1c4BPY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25138},"main":"build/index.js","types":"./build/index.d.ts","gitHead":"aff86121094b12eb0b9c7cf71dc525723472e381","scripts":{"dev":"ts-node src/index.ts","build":"tsc","start":"node build/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"el-el-san","email":"eruerusansan@gmail.com"},"repository":{"url":"git+https://github.com/el-el-san/discord-mcp.git","type":"git"},"_npmVersion":"11.5.2","description":"MCP server for Discord integration with message and image capabilities","directories":{},"_nodeVersion":"22.17.1","dependencies":{"dotenv":"^17.2.1","discord.js":"^14.14.1","node-fetch":"^3.3.2","@modelcontextprotocol/sdk":"^0.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.3.3","@types/node":"^20.11.17"},"_npmOperationalInternal":{"tmp":"tmp/discord-mcp_1.0.0_1756565253477_0.6710565527160848","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@el-el-san/discord-mcp","version":"1.0.1","keywords":["mcp","discord","bot","messaging"],"author":{"name":"el-el-san"},"license":"MIT","_id":"@el-el-san/discord-mcp@1.0.1","maintainers":[{"name":"el-el-san","email":"eruerusansan@gmail.com"}],"homepage":"https://github.com/el-el-san/discord-mcp","bugs":{"url":"https://github.com/el-el-san/discord-mcp/issues"},"dist":{"shasum":"20f11247dabecc012bba57c77b57066951415ccd","tarball":"https://registry.npmjs.org/@el-el-san/discord-mcp/-/discord-mcp-1.0.1.tgz","fileCount":6,"integrity":"sha512-o2WeBiswEDaFEA0YfEDi43vUrMP53SiWT6sR8Oc09SRG/mBz8Q7GLl3GfFjHk9biTh0cUXsvkzdwF9OVTgDUrg==","signatures":[{"sig":"MEYCIQD18osRByGZMJaKCzjwEZaisdVZWAK166HteMhNlN94IAIhAK1Js5yAYl93kUsyJCbhgLFRtrNxNCvlWCF9PwEfKkQo","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25878},"main":"build/index.js","types":"./build/index.d.ts","gitHead":"aff86121094b12eb0b9c7cf71dc525723472e381","scripts":{"dev":"ts-node src/index.ts","build":"tsc","start":"node build/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"el-el-san","email":"eruerusansan@gmail.com"},"repository":{"url":"git+https://github.com/el-el-san/discord-mcp.git","type":"git"},"_npmVersion":"11.5.2","description":"MCP server for Discord integration with message and image capabilities","directories":{},"_nodeVersion":"22.17.1","dependencies":{"dotenv":"^17.2.1","discord.js":"^14.14.1","node-fetch":"^3.3.2","@modelcontextprotocol/sdk":"^0.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.3.3","@types/node":"^20.11.17"},"_npmOperationalInternal":{"tmp":"tmp/discord-mcp_1.0.1_1756565484116_0.35051987103850357","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@el-el-san/discord-mcp","version":"1.0.2","keywords":["mcp","discord","bot","messaging"],"author":{"name":"el-el-san"},"license":"MIT","_id":"@el-el-san/discord-mcp@1.0.2","maintainers":[{"name":"el-el-san","email":"eruerusansan@gmail.com"}],"homepage":"https://github.com/el-el-san/discord-mcp","bugs":{"url":"https://github.com/el-el-san/discord-mcp/issues"},"bin":{"discord-mcp":"build/index.js"},"dist":{"shasum":"74b1d8777884087d9e5942ad2934ea3c26bf6f2c","tarball":"https://registry.npmjs.org/@el-el-san/discord-mcp/-/discord-mcp-1.0.2.tgz","fileCount":6,"integrity":"sha512-9f/UB3euVO8dM79W5D1Zg+9ePXMAFPf7n3g83VWKtEuPpJwdPLf26+siduwoQ21Zf2hQbhGVTNFr7GgixwVo1g==","signatures":[{"sig":"MEQCIGWJHhSswklQvcG7HPWmRTtZIVv2pVo1zcgPjN9KQOOeAiArizN8J0U2IYsunLG1OWrsBa2bnRZMy5hspYr4JOCmjw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25905},"main":"build/index.js","types":"./build/index.d.ts","gitHead":"aff86121094b12eb0b9c7cf71dc525723472e381","scripts":{"dev":"ts-node src/index.ts","build":"tsc","start":"node build/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"el-el-san","email":"eruerusansan@gmail.com"},"repository":{"url":"git+https://github.com/el-el-san/discord-mcp.git","type":"git"},"_npmVersion":"11.5.2","description":"MCP server for Discord integration with message and image capabilities","directories":{},"_nodeVersion":"22.17.1","dependencies":{"dotenv":"^17.2.1","discord.js":"^14.14.1","node-fetch":"^3.3.2","@modelcontextprotocol/sdk":"^0.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.3.3","@types/node":"^20.11.17"},"_npmOperationalInternal":{"tmp":"tmp/discord-mcp_1.0.2_1756565595354_0.6111961171809981","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@el-el-san/discord-mcp","version":"1.0.3","keywords":["mcp","discord","bot","messaging"],"author":{"name":"el-el-san"},"license":"MIT","_id":"@el-el-san/discord-mcp@1.0.3","maintainers":[{"name":"el-el-san","email":"eruerusansan@gmail.com"}],"homepage":"https://github.com/el-el-san/discord-mcp","bugs":{"url":"https://github.com/el-el-san/discord-mcp/issues"},"bin":{"discord-mcp":"build/index.js"},"dist":{"shasum":"32a02de0ceddbae09dfaac083fcbdc974fcf518c","tarball":"https://registry.npmjs.org/@el-el-san/discord-mcp/-/discord-mcp-1.0.3.tgz","fileCount":6,"integrity":"sha512-g07so2aw/ro4zV66lVwVlQX/4+YWnjuXygbyCrZ4icmd3DT/ruM3oj8QgmQnvShWCFwqRRA+SQd7Z8Uc783+bw==","signatures":[{"sig":"MEYCIQDkCkIEExhG8OWvgF/K00RG4e820N/YLE9FRSl0z5FqDgIhAOo5ZmC8gBCWRoYFkyMxXcXnOzPu0P+Dy1lllQnHy6XA","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25941},"main":"build/index.js","types":"./build/index.d.ts","gitHead":"aff86121094b12eb0b9c7cf71dc525723472e381","scripts":{"dev":"ts-node src/index.ts","build":"tsc","start":"node build/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"el-el-san","email":"eruerusansan@gmail.com"},"repository":{"url":"git+https://github.com/el-el-san/discord-mcp.git","type":"git"},"_npmVersion":"11.5.2","description":"MCP server for Discord integration with message and image capabilities","directories":{},"_nodeVersion":"22.17.1","dependencies":{"dotenv":"^17.2.1","discord.js":"^14.14.1","node-fetch":"^3.3.2","@modelcontextprotocol/sdk":"^0.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.3.3","@types/node":"^20.11.17"},"_npmOperationalInternal":{"tmp":"tmp/discord-mcp_1.0.3_1756565633880_0.9069815987627463","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@el-el-san/discord-mcp","version":"1.0.4","keywords":["mcp","discord","bot","messaging"],"author":{"name":"el-el-san"},"license":"MIT","_id":"@el-el-san/discord-mcp@1.0.4","maintainers":[{"name":"el-el-san","email":"eruerusansan@gmail.com"}],"homepage":"https://github.com/el-el-san/discord-mcp","bugs":{"url":"https://github.com/el-el-san/discord-mcp/issues"},"bin":{"discord-mcp":"build/index.js"},"dist":{"shasum":"641623fd40da551ab5d19d50a5255f72f438aeed","tarball":"https://registry.npmjs.org/@el-el-san/discord-mcp/-/discord-mcp-1.0.4.tgz","fileCount":6,"integrity":"sha512-jLOV1C+mQ9KbOH81z6PpshOn2E1qmBY4d8FdxnKI+Ded0bUccgjcScSvYovBcD7VsijbnZXz0/xpAduw7OUXFw==","signatures":[{"sig":"MEYCIQDZgHFdL1qwWhI8XjopLblQpzGXCLnv3eg3SrHYdPPk5QIhAPNAYdqtZClbM4svsB//YcNuO5zPcxi/LKXmspT/B2V9","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25622},"main":"build/index.js","types":"./build/index.d.ts","gitHead":"aff86121094b12eb0b9c7cf71dc525723472e381","scripts":{"dev":"ts-node src/index.ts","build":"tsc","start":"node build/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"el-el-san","email":"eruerusansan@gmail.com"},"repository":{"url":"git+https://github.com/el-el-san/discord-mcp.git","type":"git"},"_npmVersion":"11.5.2","description":"MCP server for Discord integration with message and image capabilities","directories":{},"_nodeVersion":"22.17.1","dependencies":{"dotenv":"^17.2.1","discord.js":"^14.14.1","node-fetch":"^3.3.2","@modelcontextprotocol/sdk":"^0.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.3.3","@types/node":"^20.11.17"},"_npmOperationalInternal":{"tmp":"tmp/discord-mcp_1.0.4_1756566014050_0.24795986779542112","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@el-el-san/discord-mcp","version":"1.0.5","keywords":["mcp","discord","bot","messaging"],"author":{"name":"el-el-san"},"license":"MIT","_id":"@el-el-san/discord-mcp@1.0.5","maintainers":[{"name":"el-el-san","email":"eruerusansan@gmail.com"}],"homepage":"https://github.com/el-el-san/discord-mcp","bugs":{"url":"https://github.com/el-el-san/discord-mcp/issues"},"bin":{"discord-mcp":"build/index.js"},"dist":{"shasum":"fb765581a994897e555b554d4406d9350698b99a","tarball":"https://registry.npmjs.org/@el-el-san/discord-mcp/-/discord-mcp-1.0.5.tgz","fileCount":6,"integrity":"sha512-3ArdlKt1TnijklJ6VuuHRi+/1cZRyeLpqdeldDz03SSYUPSF4eBLxmGAbSwd2WthqRoe4Hi6zLuw20mkuHZWXQ==","signatures":[{"sig":"MEUCIEyMczK3orK/oSDdYiMyM8YVdAPvcB5GRe0+jX1GErWkAiEAvFW5DO+hRTd8TrTt2XXIkpOFTuxL1f+0+LkelFVb3OY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25611},"main":"build/index.js","types":"./build/index.d.ts","gitHead":"aff86121094b12eb0b9c7cf71dc525723472e381","scripts":{"dev":"ts-node src/index.ts","build":"tsc","start":"node build/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"el-el-san","email":"eruerusansan@gmail.com"},"repository":{"url":"git+https://github.com/el-el-san/discord-mcp.git","type":"git"},"_npmVersion":"11.5.2","description":"MCP server for Discord integration with message and image capabilities","directories":{},"_nodeVersion":"22.17.1","dependencies":{"dotenv":"^17.2.1","discord.js":"^14.14.1","node-fetch":"^3.3.2","@modelcontextprotocol/sdk":"^0.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.3.3","@types/node":"^20.11.17"},"_npmOperationalInternal":{"tmp":"tmp/discord-mcp_1.0.5_1756566324766_0.07773157937477082","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@el-el-san/discord-mcp","version":"1.1.0","keywords":["mcp","discord","bot","messaging"],"author":{"name":"el-el-san"},"license":"MIT","_id":"@el-el-san/discord-mcp@1.1.0","maintainers":[{"name":"el-el-san","email":"eruerusansan@gmail.com"}],"homepage":"https://github.com/el-el-san/discord-mcp","bugs":{"url":"https://github.com/el-el-san/discord-mcp/issues"},"bin":{"discord-mcp":"build/index.js"},"dist":{"shasum":"0102766e72ce9dd12d0787c74c086eb3ce16328c","tarball":"https://registry.npmjs.org/@el-el-san/discord-mcp/-/discord-mcp-1.1.0.tgz","fileCount":6,"integrity":"sha512-sYJJhO32eB4mB+16wzHLmQ7vs1ZG0gT63+dpRszixSouw2jnl6ayC3Eb10EV8UnfIq1TnU3w468Uw9kzMEs3EQ==","signatures":[{"sig":"MEYCIQCSBUy1Q0g88JYiSILR3nmcCMJehBXLpGh3EnKKND3ltwIhANU5hOOraOJHDZEc6SoR0vLjW4QshL9aWOBIacX77RAx","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40773},"main":"build/index.js","types":"./build/index.d.ts","gitHead":"a8a4716eda2555fac049533cc5897c7bbc6601c6","scripts":{"dev":"ts-node src/index.ts","build":"tsc","start":"node build/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"el-el-san","email":"eruerusansan@gmail.com"},"repository":{"url":"git+https://github.com/el-el-san/discord-mcp.git","type":"git"},"_npmVersion":"11.3.0","description":"MCP server for Discord integration with message and image capabilities","directories":{},"_nodeVersion":"24.2.0","dependencies":{"dotenv":"^17.2.1","discord.js":"^14.14.1","node-fetch":"^3.3.2","@modelcontextprotocol/sdk":"^0.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.3.3","@types/node":"^20.11.17"},"_npmOperationalInternal":{"tmp":"tmp/discord-mcp_1.1.0_1756644805902_0.658864565806176","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@el-el-san/discord-mcp","version":"1.2.0","keywords":["mcp","discord","bot","messaging"],"author":{"name":"el-el-san"},"license":"MIT","_id":"@el-el-san/discord-mcp@1.2.0","maintainers":[{"name":"el-el-san","email":"eruerusansan@gmail.com"}],"homepage":"https://github.com/el-el-san/discord-mcp","bugs":{"url":"https://github.com/el-el-san/discord-mcp/issues"},"bin":{"discord-mcp":"build/index.js"},"dist":{"shasum":"1a7e61d4233a0ae0c3d032645d4adc3916fb3a32","tarball":"https://registry.npmjs.org/@el-el-san/discord-mcp/-/discord-mcp-1.2.0.tgz","fileCount":6,"integrity":"sha512-pTMnLP8YZyUq+RowuLEOM2j7vlmeN5vK7A1xGQt35XT/L8/fZidEgWQpvp7q+k9pvl9OxIEjKp6YdZGVlj63dQ==","signatures":[{"sig":"MEUCIQCAfUi7pFv73rHaF21YMHXouYflgCZ62sA4y6rmtUW7PQIgFsuB3dMQWLATJc7AKj2HYXFAlr8EzqQbP+t1kESOWWw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":52958},"main":"build/index.js","types":"./build/index.d.ts","gitHead":"e6992649fb909475f2a50c91f72cfd0fba24a337","scripts":{"dev":"ts-node src/index.ts","build":"tsc","start":"node build/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"el-el-san","email":"eruerusansan@gmail.com"},"repository":{"url":"git+https://github.com/el-el-san/discord-mcp.git","type":"git"},"_npmVersion":"11.3.0","description":"MCP server for Discord integration with messaging and media file capabilities (images, videos, audio, documents)","directories":{},"_nodeVersion":"24.2.0","dependencies":{"dotenv":"^17.2.1","discord.js":"^14.14.1","node-fetch":"^3.3.2","@modelcontextprotocol/sdk":"^0.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.3.3","@types/node":"^20.11.17"},"_npmOperationalInternal":{"tmp":"tmp/discord-mcp_1.2.0_1757256889051_0.6922144683621136","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@el-el-san/discord-mcp","version":"1.3.0","description":"MCP server for Discord integration with messaging and media file capabilities (images, videos, audio, documents)","main":"build/index.js","bin":{"discord-mcp":"build/index.js"},"scripts":{"build":"tsc","start":"node build/index.js","dev":"ts-node src/index.ts","prepublishOnly":"npm run build"},"dependencies":{"@modelcontextprotocol/sdk":"^0.5.0","discord.js":"^14.14.1","dotenv":"^17.2.1","node-fetch":"^3.3.2"},"devDependencies":{"@types/node":"^20.11.17","ts-node":"^10.9.2","typescript":"^5.3.3"},"keywords":["mcp","discord","bot","messaging"],"author":{"name":"el-el-san"},"repository":{"type":"git","url":"git+https://github.com/el-el-san/discord-mcp.git"},"homepage":"https://github.com/el-el-san/discord-mcp","bugs":{"url":"https://github.com/el-el-san/discord-mcp/issues"},"publishConfig":{"access":"public"},"license":"MIT","_id":"@el-el-san/discord-mcp@1.3.0","gitHead":"b96f0fb9514971390f8e9083abdfb534e36f8534","types":"./build/index.d.ts","_nodeVersion":"24.2.0","_npmVersion":"11.3.0","dist":{"integrity":"sha512-afFefINjsxjJTFL9kOArSesVDZKDq4AqiuXbDtJmMrkGCRAmaodAGsnUQ5B2upBodufYB1jHd2QVWukOzT4WgA==","shasum":"cc04ebd8345a18a3aa6e34750103b8b1a9c30898","tarball":"https://registry.npmjs.org/@el-el-san/discord-mcp/-/discord-mcp-1.3.0.tgz","fileCount":6,"unpackedSize":45624,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBgF+q8v6Mz0YhwVVsSBxBwvTknKbm+I3Cxc41JIVZrsAiEA2on5TaT+Sf+QUVIeY5B1Qv3yXa+T3LGI4CkV7JUYko8="}]},"_npmUser":{"name":"el-el-san","email":"eruerusansan@gmail.com"},"directories":{},"maintainers":[{"name":"el-el-san","email":"eruerusansan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/discord-mcp_1.3.0_1757257689176_0.2454576792178924"},"_hasShrinkwrap":false}},"time":{"created":"2025-08-30T14:47:33.410Z","modified":"2025-09-07T15:08:09.521Z","1.0.0":"2025-08-30T14:47:33.664Z","1.0.1":"2025-08-30T14:51:24.302Z","1.0.2":"2025-08-30T14:53:15.545Z","1.0.3":"2025-08-30T14:53:54.059Z","1.0.4":"2025-08-30T15:00:14.231Z","1.0.5":"2025-08-30T15:05:24.988Z","1.1.0":"2025-08-31T12:53:26.113Z","1.2.0":"2025-09-07T14:54:49.250Z","1.3.0":"2025-09-07T15:08:09.347Z"},"bugs":{"url":"https://github.com/el-el-san/discord-mcp/issues"},"author":{"name":"el-el-san"},"license":"MIT","homepage":"https://github.com/el-el-san/discord-mcp","keywords":["mcp","discord","bot","messaging"],"repository":{"type":"git","url":"git+https://github.com/el-el-san/discord-mcp.git"},"description":"MCP server for Discord integration with messaging and media file capabilities (images, videos, audio, documents)","maintainers":[{"name":"el-el-san","email":"eruerusansan@gmail.com"}],"readme":"# Discord MCP Server\n\nDiscord Model Context Protocol (MCP) server that provides tools for interacting with Discord channels. This server allows you to send messages, send images, retrieve messages, and retrieve images from Discord channels.\n\n## 機能 (Features)\n\n- **メッセージ送信**: Discordチャンネルにテキストメッセージを送信\n- **画像送信**: Discordチャンネルに画像ファイルを送信  \n- **メッセージ取得**: Discordチャンネルからメッセージを取得\n- **画像取得**: Discordチャンネルから画像を取得\n\n## インストール (Installation)\n\n### npxを使用した簡単インストール（推奨）\n\n```bash\n# パッケージを直接実行（自動インストール）\nnpx @el-el-san/discord-mcp\n```\n\n### Claude Codeでの設定\n\nClaude Codeの設定ファイルに以下を追加:\n\n**macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`\n**Windows**: `%APPDATA%\\Claude\\claude_desktop_config.json`\n**Linux**: `~/.config/claude/claude_desktop_config.json`\n\n```json\n{\n  \"mcpServers\": {\n    \"discord\": {\n      \"command\": \"npx\",\n      \"args\": [\"--yes\", \"@el-el-san/discord-mcp@latest\"],\n      \"env\": {\n        \"DISCORD_BOT_TOKEN\": \"${DISCORD_BOT_TOKEN}\"\n      }\n    }\n  }\n}\n```\n\n## セットアップ (Setup)\n\n### 1. Discordボットの作成\n\n1. [Discord Developer Portal](https://discord.com/developers/applications) にアクセス\n2. \"New Application\" をクリックして新しいアプリケーションを作成\n3. \"Bot\" セクションに移動して \"Add Bot\" をクリック\n4. Bot Token をコピーして保存\n\n### 2. Bot権限の設定\n\nBot に以下の権限を付与してください：\n- `Send Messages`\n- `Read Message History`\n- `Attach Files`\n- `View Channels`\n\n### 3. プロジェクトのセットアップ\n\n```bash\n# 依存関係のインストール\nnpm install\n\n# 環境変数の設定\ncp env.example .env\n# .envファイルにDiscord Bot Tokenを設定\n\n# TypeScriptのコンパイル\nnpm run build\n\n# サーバーの起動\nnpm start\n```\n\n### 4. 環境変数\n\n`.env` ファイルを作成し、以下の環境変数を設定：\n\n```\nDISCORD_BOT_TOKEN=your_discord_bot_token_here\n```\n\n## 使用可能なツール (Available Tools)\n\n### discord_send_message\nDiscordチャンネルにテキストメッセージを送信します。\n\nパラメータ:\n- `channel_id` (string): Discord チャンネル ID\n- `message` (string): 送信するメッセージ内容\n\n### discord_send_image\nDiscordチャンネルに画像を送信します。\n\nパラメータ:\n- `channel_id` (string): Discord チャンネル ID  \n- `image_path` (string): 送信する画像ファイルのローカルパス\n- `message` (string, optional): 画像に添付するメッセージ\n\n### discord_get_messages\nDiscordチャンネルからメッセージを取得します。\n\nパラメータ:\n- `channel_id` (string): Discord チャンネル ID\n- `limit` (number, optional): 取得するメッセージ数 (デフォルト: 10, 最大: 100)\n\n### discord_get_images\nDiscordチャンネルから画像を取得します。\n\nパラメータ:\n- `channel_id` (string): Discord チャンネル ID\n- `limit` (number, optional): 検索するメッセージ数 (デフォルト: 50, 最大: 100)\n\n### discord_get_messages_advanced\n高度な検索機能を使用してメッセージを取得します。日時範囲指定、キーワード検索、ページネーションに対応。\n\nパラメータ:\n- `channel_id` (string): Discord チャンネル ID\n- `limit` (number, optional): 取得するメッセージ数 (デフォルト: 50, 最大: 100)\n- `before` (string, optional): 指定したメッセージIDより前のメッセージを取得\n- `after` (string, optional): 指定したメッセージIDより後のメッセージを取得\n- `start_date` (string, optional): 開始日時 (ISO形式, 例: 2024-01-01T00:00:00Z)\n- `end_date` (string, optional): 終了日時 (ISO形式, 例: 2024-12-31T23:59:59Z)\n- `keyword` (string, optional): メッセージ内容で検索するキーワード\n- `author` (string, optional): 特定ユーザー名またはIDでフィルタ\n- `has_attachments` (boolean, optional): 添付ファイル付きメッセージのみ取得\n\n## 開発 (Development)\n\n```bash\n# 開発モードで起動\nnpm run dev\n\n# TypeScriptコンパイル\nnpm run build\n```\n\n## 手動インストール（開発者向け）\n\n### MCP サーバーの設定\n\n1. プロジェクトをクローン・ビルド:\n```bash\ngit clone https://github.com/el-el-san/discord-mcp.git\ncd discord-mcp\nnpm install\nnpm run build\n```\n\n2. Claude Code の設定ファイルに以下を追加:\n\n**macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`\n**Windows**: `%APPDATA%\\Claude\\claude_desktop_config.json`\n**Linux**: `~/.config/claude/claude_desktop_config.json`\n\n```json\n{\n  \"mcpServers\": {\n    \"discord\": {\n      \"command\": \"node\",\n      \"args\": [\"/path/to/discord-mcp/build/index.js\"],\n      \"env\": {\n        \"DISCORD_BOT_TOKEN\": \"your_discord_bot_token_here\"\n      }\n    }\n  }\n}\n```\n\n3. Claude Code を再起動\n\n### 使用例\n\nClaude Code で以下のようにDiscordツールを使用できます:\n\n```\nチャンネル ID 123456789 に \"Hello, World!\" というメッセージを送信して\n```\n\n```\nチャンネル ID 123456789 から最新の10件のメッセージを取得して\n```\n\n```\n/path/to/image.png をチャンネル ID 123456789 に送信して\n```\n\n**高度な検索の例:**\n\n```\nチャンネル ID 123456789 から2024年1月のメッセージを取得して\n```\n\n```\nチャンネル ID 123456789 から \"error\" というキーワードを含むメッセージを検索して\n```\n\n```\nチャンネル ID 123456789 から特定ユーザー \"username\" のメッセージだけを取得して\n```\n\n## 注意事項 (Notes)\n\n- Discord Bot Token は機密情報です。`.env` ファイルを git にコミットしないでください\n- チャンネル ID を取得するには、Discord で開発者モードを有効にし、チャンネルを右クリックして \"Copy ID\" を選択してください\n- Bot がチャンネルにアクセスできるよう、適切な権限が設定されていることを確認してください\n- Claude Code の設定ファイルのパスは絶対パスで指定してください\n","readmeFilename":"README.md"}