Skip to main content
GET
/
wp-json
/
getmcp
/
v1
/
servers
/
{server_id}
/
tools
/
tags
curl --request GET \
     --url https://yoursite.com/wp-json/getmcp/v1/servers/836995ae-1cff-41ec-823e-a4f07ccca3a0/tools/tags \
     --header 'Authorization: Bearer gmcp_your_api_key'
{
  "tags": ["billing", "customers", "products", "webhooks"]
}
Returns the union of all tag strings attached to any tool on the server, deduplicated. Useful for populating tag pickers in admin UIs or building tag-faceted dashboards without scanning every tool record.

Path Parameters

server_id
string
required
The UUID of the server (e.g. 836995ae-1cff-41ec-823e-a4f07ccca3a0). Numeric IDs are also accepted for backwards compatibility.
curl --request GET \
     --url https://yoursite.com/wp-json/getmcp/v1/servers/836995ae-1cff-41ec-823e-a4f07ccca3a0/tools/tags \
     --header 'Authorization: Bearer gmcp_your_api_key'
{
  "tags": ["billing", "customers", "products", "webhooks"]
}

Response Fields

tags
array
Distinct tag strings in use across the server’s tools, in the order returned by ToolManager::get_distinct_tags(). Empty array when no tools are tagged.