Home / Servers / Discord API / execute_github_compatible_webhook

POST /webhooks/{webhook_id}/{webhook_token}/github

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

POST /webhooks/{webhook_id}/{webhook_token}/github [POST /webhooks/{webhook_id}/{webhook_token}/github]

Name on the gateway: discord_api__execute_github_compatible_webhook · may change things.

Parameters

NameTypeDescription
webhook_id requiredstringwebhook_id parameter
webhook_token requiredstringwebhook_token parameter
waitbooleanwait parameter
thread_idstringthread_id parameter
actionstring
refstring
ref_typestring
commentobject
issueobject
pull_requestobject
repositoryobject
forkeeobject
sender requiredobject
memberobject
releaseobject
head_commitobject
commitsarray
forcedboolean
comparestring
reviewobject
check_runobject
check_suiteobject
discussionobject
answerobject

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__execute_github_compatible_webhook",
  "arguments": {
    "webhook_id": "…",
    "webhook_token": "…",
    "sender": "…"
  }
}

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 /webhooks/{webhook_id}/{webhook_token}/github tool with webhook_id set to ….

More from Discord API