Skip to main content
DELETE
/
wp-json
/
getmcp
/
v1
/
servers
/
{id}
curl -X DELETE \
  -H "Authorization: Bearer gmcp_your_api_key" \
  "https://yoursite.com/wp-json/getmcp/v1/servers/3"
{
  "deleted": true
}
Deleting a server permanently removes all associated tools, resources, prompts, API keys, sessions, and call logs for that server. This action cannot be undone.

Path Parameters

id
integer
required
The numeric ID of the server to delete.
curl -X DELETE \
  -H "Authorization: Bearer gmcp_your_api_key" \
  "https://yoursite.com/wp-json/getmcp/v1/servers/3"
{
  "deleted": true
}