Skip to main content
Glama
mikusnuz

umami-mcp

add_team_website

Add a website to a team in Umami Analytics by specifying team and website IDs for access management.

Instructions

Add a website to a team

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
teamIdYesTeam UUID
websiteIdYesWebsite UUID to add to the team

Implementation Reference

  • The implementation of the 'add_team_website' tool, which handles adding a website to a team by making a POST request to the API.
    server.tool(
      "add_team_website",
      "Add a website to a team",
      {
        teamId: z.string().describe("Team UUID"),
        websiteId: z.string().describe("Website UUID to add to the team"),
      },
      async ({ teamId, websiteId }) => {
        const data = await client.call("POST", `/api/teams/${teamId}/websites`, { websiteId });
        return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] };
      }
    );

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