npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

discord-selfbot-mcp

v1.0.1

Published

Comprehensive Discord Selfbot MCP Server with 50+ tools for full Discord user functionality

Readme


quickstart

automatic setup wizard (extracts token via browser):

npx discord-selfbot-mcp-setup

manual installation:

npm install -g discord-selfbot-mcp

features

60 tools across 14 categories.

| category | tools | description | |----------|-------|-------------| | system | 3 | health, whoami, get_config | | guilds | 8 | list, info, members, nickname, leave, invite, create, delete | | channels | 5 | list, info, create, delete, edit | | messages | 8 | read, send, reply, edit, delete, search, get, forward | | reactions | 4 | react, unreact, get_reactions, remove_all | | pins | 3 | pin, unpin, list_pinned | | dms | 5 | list, read, send, create, close | | threads | 7 | list, create, join, leave, archive, read, send | | presence | 5 | set_status, set_custom, set_activity, clear, get_user | | voice | 5 | join, leave, set_state, get_state, list_members | | relationships | 8 | friends, blocked, pending, request, remove, block, unblock, accept | | notifications | 5 | mentions, mark_read, mark_guild_read, mute_channel, mute_guild | | files | 3 | upload, download, list | | events | 4 | list, get, rsvp, create | | profile | 1 | edit_profile (avatar, bio, username) | | interactions | 1 | trigger_typing | | invites | 1 | accept_invite |

comparison

| feature | discord-selfbot-mcp | Maol-1997 | codebyyassine | elyxlz | |---------|---------------------|-----------|---------------|--------| | read messages | ✅ | ✅ | ✅ | ✅ | | send messages | ✅ | ✅ | ✅ | ✅ | | list guilds | ✅ | ✅ | ✅ | ✅ | | list channels | ✅ | ✅ | ✅ | ✅ | | get user info | ✅ | ✅ | ✅ | ❌ | | search messages | ✅ | ❌ | ❌ | ❌ | | create channels | ✅ | ❌ | ✅ | ❌ | | delete channels | ✅ | ❌ | ✅ | ❌ | | edit messages | ✅ | ❌ | ❌ | ❌ | | delete messages | ✅ | ❌ | ❌ | ❌ | | join voice | ✅ | ❌ | ❌ | ❌ | | manage friends | ✅ | ❌ | ❌ | ❌ | | manage threads | ✅ | ❌ | ❌ | ❌ | | setup wizard | ✅ | ❌ | ❌ | ❌ | | total tools | 60 | 7 | 29 | 4 |

usage

run manually (requires token):

export DISCORD_TOKEN='your_token'
npx discord-selfbot-mcp

configure in claude/opencode:

{
  "mcpServers": {
    "discord-selfbot": {
      "command": "npx",
      "args": ["discord-selfbot-mcp"],
      "env": {
        "DISCORD_TOKEN": "your_token"
      }
    }
  }
}

captcha solving

discord may require captcha when joining servers. configure auto-solve:

{
  "mcpServers": {
    "discord-selfbot": {
      "command": "npx",
      "args": ["discord-selfbot-mcp"],
      "env": {
        "DISCORD_TOKEN": "your_token",
        "CAPTCHA_SERVICE": "capsolver",
        "CAPTCHA_API_KEY": "your_api_key"
      }
    }
  }
}

| service | env value | pricing | signup | |---------|-----------|---------|--------| | CapSolver | capsolver | ~$0.80/1k | capsolver.com | | CapMonster | capmonster | ~$0.70/1k | capmonster.cloud | | NopeCHA | nopecha | 100 free/day | nopecha.com |

project structure

src/
├── core/           # configuration, logging, errors
├── discord/        # discord.js client wrapper
├── mcp/            # mcp server & registry
├── tools/          # tool implementations
│   ├── channels/
│   ├── dms/
│   ├── events/
│   ├── files/
│   ├── guilds/
│   ├── interactions/
│   ├── invites/
│   ├── messages/
│   ├── notifications/
│   ├── presence/
│   ├── profile/
│   ├── relationships/
│   ├── system/
│   ├── threads/
│   └── voice/
├── index.ts        # entry point
└── setup.ts        # setup wizard

troubleshooting

| problem | solution | |---------|----------| | token invalid | run npx discord-selfbot-mcp-setup to extract a fresh one | | rate limited | reduce RATE_LIMIT_CONCURRENCY env var (default: 3) | | missing permissions | ensure account has access to the guild/channel | | captcha required | configure CAPTCHA_SERVICE and CAPTCHA_API_KEY (see above) |

license

mit