Skip to main content
Glama
mikusnuz

umami-mcp

list_team_websites

Retrieve websites associated with a specific team in Umami Analytics. Use team ID, pagination, and search queries to filter results for team management.

Instructions

List all websites that belong to a team

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
teamIdYesTeam UUID
pageNoPage number (1-based)
pageSizeNoResults per page
queryNoSearch query to filter websites

Implementation Reference

  • The implementation of the 'list_team_websites' tool, which is registered using the McpServer instance and performs a GET request to the Umami API.
    server.tool(
      "list_team_websites",
      "List all websites that belong to a team",
      {
        teamId: z.string().describe("Team UUID"),
        page: z.number().optional().describe("Page number (1-based)"),
        pageSize: z.number().optional().describe("Results per page"),
        query: z.string().optional().describe("Search query to filter websites"),
      },
      async ({ teamId, page, pageSize, query }) => {
        const data = await client.call("GET", `/api/teams/${teamId}/websites`, undefined, {
          page,
          pageSize,
          query,
        });
        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