Skip to main content
Glama
mikusnuz

umami-mcp

delete_website

Remove a website from Umami Analytics by providing its UUID, permanently deleting associated data and analytics tracking.

Instructions

Delete a website from Umami

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
websiteIdYesWebsite UUID to delete

Implementation Reference

  • The implementation of the delete_website tool, which includes both the registration (via server.tool) and the handler function that makes the DELETE request to the Umami API.
    server.tool(
      "delete_website",
      "Delete a website from Umami",
      {
        websiteId: z.string().describe("Website UUID to delete"),
      },
      async ({ websiteId }) => {
        await client.call("DELETE", `/api/websites/${websiteId}`);
        return { content: [{ type: "text", text: `Website ${websiteId} deleted successfully.` }] };
      }
    );

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mikusnuz/umami-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server