Home / Servers / Discord API / create_application_command

POST /applications/{application_id}/commands

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

POST /applications/{application_id}/commands [POST /applications/{application_id}/commands]

Name on the gateway: discord_api__create_application_command · may change things.

Parameters

NameTypeDescription
application_id requiredstringapplication_id parameter
name requiredstring
name_localizationsobject
descriptionstring
description_localizationsobject
optionsarray
default_member_permissionsinteger
dm_permissionboolean
contextsarray
integration_typesarray
handlerstringDetermines whether the interaction is handled by the app's interactions…
typestring

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__create_application_command",
  "arguments": {
    "application_id": "…",
    "name": "…"
  }
}

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 post /applications/{application_id}/commands tool with application_id set to ….

More from Discord API