Home / Servers / Discord API / invite_resolve

GET /invites/{code}

An MCP tool from the Discord API server, hosted on mcp.hjlabs.in.

GET /invites/{code} [GET /invites/{code}]

Name on the gateway: discord_api__invite_resolve · read-only.

Parameters

NameTypeDescription
code requiredstringcode parameter
with_countsbooleanwith_counts parameter
guild_scheduled_event_idstringguild_scheduled_event_id parameter
target_channel_idstringtarget_channel_id parameter
target_message_idstringtarget_message_id parameter

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "discord_api__invite_resolve",
  "arguments": {
    "code": "…"
  }
}

Or connect the Discord API server directly, which lists 250 tools including this one:

Run in your terminal
claude mcp add --transport http hj-discord-api https://mcp.hjlabs.in/mcp/discord-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the get /invites/{code} tool with code set to ….

More from Discord API