Skip to content

members_get_current_user

Category: members

Fetch the current bot user’s own member entry in a guild via GET /users/@me/guilds/\{guild.id\}/member.

  • Discover the bot’s nick and role assignments in a target guild without needing the GUILD_MEMBERS intent.
FieldTypeRequiredDescription
guild_idstringyesGuild to inspect

\{user_id, nick, roles, joined_at\}. nick (if present) is wrapped in \<untrusted_discord_username>.

FieldTypeRequiredDescription
user_idstringyesDiscord user ID
nickunknownyes
rolesarrayyes
joined_atstringyes
PropertyValue
Read-onlyyes
Destructiveno
Idempotentyes
Open-worldyes
Confirmation requiredno

packages/mcp-core/src/tools/members/get_current_user.ts