Home / Servers / Discord API / thread_search
GET /channels/{channel_id}/threads/search
An MCP tool from the Discord API server, hosted on mcp.hjlabs.in.
GET /channels/{channel_id}/threads/search [GET /channels/{channel_id}/threads/search]
Name on the gateway: discord_api__thread_search · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
channel_id required | string | channel_id parameter |
name | string | name parameter |
slop | integer | slop parameter |
min_id | string | min_id parameter |
max_id | string | max_id parameter |
tag | string | tag parameter |
tag_setting | string | The thread tags must contain all tags in the search query |
archived | boolean | archived parameter |
sort_by | string | sort_by parameter |
sort_order | string | sort_order parameter |
limit | integer | limit parameter |
offset | integer | offset 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:
{
"name": "discord_api__thread_search",
"arguments": {
"channel_id": "…"
}
}Or connect the Discord API server directly, which lists 250 tools including this one:
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 /channels/{channel_id}/threads/search tool with channel_id set to ….
More from Discord API
- GET /applications/@me
- PATCH /applications/@me
- GET /applications/{application_id}
- PATCH /applications/{application_id}
- GET /applications/{application_id}/activity-instances/{instance_id}
- POST /applications/{application_id}/attachment
- GET /applications/{application_id}/commands
- PUT /applications/{application_id}/commands
- All 250