curl -X POST \ -H "Authorization: Bearer gmcp_your_api_key" \ -H "Content-Type: application/json" \ -d '{ "name": "GitHub Tools v2", "rate_limit_per_min": 60, "description": "Updated tools for GitHub" }' \ "https://yoursite.com/wp-json/getmcp/v1/servers/3"
{ "id": 3, "user_id": 1, "name": "GitHub Tools v2", "slug": "github-tools", "server_id": "c3d4e5f6a1b2c3d4", "status": "active", "transport_type": "streamable-http", "auth_type": "api-key", "rate_limit_per_min": 60, "settings": { "description": "Updated tools for GitHub" }, "endpoint_url": "https://yoursite.com/mcp/github-tools/c3d4e5f6a1b2c3d4", "tool_count": 5, "created_at": "2025-03-18T10:00:00", "updated_at": "2025-03-18T11:30:00" }
Update an existing MCP server.
active
paused
draft
none
api-key
oauth