Umami (Privacy Analytics) MCP Server for Mastra AIGive Mastra AI instant access to 53 tools to Add Team User, Admin List Teams, Admin List Users, and more
Mastra AI is a TypeScript-native agent framework built for modern web stacks. Connect Umami (Privacy Analytics) through Vinkius and Mastra agents discover all tools automatically. type-safe, streaming-ready, and deployable anywhere Node.js runs.
Ask AI about this MCP Server for Mastra AI
The Umami (Privacy Analytics) MCP Server for Mastra AI is a standout in the Marketing Automation category — giving your AI agent 53 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
import { Agent } from "@mastra/core/agent";
import { createMCPClient } from "@mastra/mcp";
import { openai } from "@ai-sdk/openai";
async function main() {
// Your Vinkius token. get it at cloud.vinkius.com
const mcpClient = await createMCPClient({
servers: {
"umami-privacy-analytics": {
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
},
});
const tools = await mcpClient.getTools();
const agent = new Agent({
name: "Umami (Privacy Analytics) Agent",
instructions:
"You help users interact with Umami (Privacy Analytics) " +
"using 53 tools.",
model: openai("gpt-4o"),
tools,
});
const result = await agent.generate(
"What can I do with Umami (Privacy Analytics)?"
);
console.log(result.text);
}
main();
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About Umami (Privacy Analytics) MCP Server
Connect your Umami instance to any AI agent to monitor your privacy-focused analytics and manage your infrastructure through natural language. Umami is the open-source, privacy-friendly alternative to Google Analytics, and this MCP server gives you full control over your data.
Mastra's agent abstraction provides a clean separation between LLM logic and Umami (Privacy Analytics) tool infrastructure. Connect 53 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
What you can do
- Event Tracking — Send custom events and page views directly to your Umami instance using the
send_eventtool. - Website Management — List and manage all websites associated with your account or the entire instance using
get_me_websitesoradmin_list_websites. - User & Team Administration — Perform administrative tasks like creating, updating, or deleting users and managing teams with tools like
create_userandadmin_list_teams. - Session Insights — Retrieve information about your current session and authorized access levels using
get_me. - Self-Hosted Support — Seamlessly connect to your own infrastructure using the
logintool to authenticate and retrieve tokens.
The Umami (Privacy Analytics) MCP Server exposes 53 tools through the Vinkius. Connect it to Mastra AI in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 53 Umami (Privacy Analytics) tools available for Mastra AI
When Mastra AI connects to Umami (Privacy Analytics) through Vinkius, your AI agent gets direct access to every tool listed below — spanning web-analytics, privacy-focused, event-tracking, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
Add team user on Umami (Privacy Analytics)
Add user to team
Admin list teams on Umami (Privacy Analytics)
Returns all teams (Admin only)
Admin list users on Umami (Privacy Analytics)
Returns all users (Admin only)
Admin list websites on Umami (Privacy Analytics)
Returns all websites (Admin only)
Create attribution report on Umami (Privacy Analytics)
Marketing attribution report
Create funnel report on Umami (Privacy Analytics)
Conversion funnel report
Create link on Umami (Privacy Analytics)
Creates a link
Create pixel on Umami (Privacy Analytics)
Creates a pixel
Create report on Umami (Privacy Analytics)
Creates a report
Create retention report on Umami (Privacy Analytics)
User retention report
Create revenue report on Umami (Privacy Analytics)
Revenue report
Create team on Umami (Privacy Analytics)
Creates a team
Create user on Umami (Privacy Analytics)
Creates a user (Admin only)
Create website on Umami (Privacy Analytics)
Creates a website
Delete user on Umami (Privacy Analytics)
Deletes a user (Admin only)
Delete website on Umami (Privacy Analytics)
Deletes a website
Get me on Umami (Privacy Analytics)
Get information about the current session
Get me teams on Umami (Privacy Analytics)
Get all teams for the current user
Get me websites on Umami (Privacy Analytics)
Get all websites for the current user
Get realtime stats on Umami (Privacy Analytics)
Realtime stats within the last 30 minutes
Get session on Umami (Privacy Analytics)
Individual session details
Get session activity on Umami (Privacy Analytics)
Activity for a session
Get team users on Umami (Privacy Analytics)
Get team members
Get team websites on Umami (Privacy Analytics)
Get team websites
Get user on Umami (Privacy Analytics)
Gets a user by ID (Admin only)
Get user teams on Umami (Privacy Analytics)
Gets all teams belonging to a user (Admin only)
Get user websites on Umami (Privacy Analytics)
Gets all websites belonging to a user (Admin only)
Get website on Umami (Privacy Analytics)
Gets a website by ID
Get website active on Umami (Privacy Analytics)
Active users in the last 5 minutes
Get website daterange on Umami (Privacy Analytics)
Available data date range
Get website event data on Umami (Privacy Analytics)
Event data grouped by event
Get website event data events on Umami (Privacy Analytics)
Event data names and counts
Get website event data fields on Umami (Privacy Analytics)
Property and value counts
Get website events on Umami (Privacy Analytics)
Website event details
Get website events stats on Umami (Privacy Analytics)
Aggregated event statistics
Get website metrics on Umami (Privacy Analytics)
Metrics for a given time range (type: path, browser, os, etc.)
Get website metrics expanded on Umami (Privacy Analytics)
Expanded metrics including bounces and total time
Get website pageviews on Umami (Privacy Analytics)
Pageviews and sessions series data
Get website sessions on Umami (Privacy Analytics)
Website session details
Get website sessions stats on Umami (Privacy Analytics)
Summarized session statistics
Get website stats on Umami (Privacy Analytics)
Summarized website statistics (pageviews, visitors, etc.)
Join team on Umami (Privacy Analytics)
Join a team via access code
List links on Umami (Privacy Analytics)
Returns all user links
List pixels on Umami (Privacy Analytics)
Returns all user pixels
List reports on Umami (Privacy Analytics)
Get all reports by website ID
List teams on Umami (Privacy Analytics)
Returns all teams
List websites on Umami (Privacy Analytics)
Returns all user websites
Login on Umami (Privacy Analytics)
Login to self-hosted Umami to get a token
Reset website on Umami (Privacy Analytics)
Removes all data related to the website
Send event on Umami (Privacy Analytics)
Send an event to Umami
Update user on Umami (Privacy Analytics)
Updates a user (Admin only)
Update website on Umami (Privacy Analytics)
Updates a website
Verify token on Umami (Privacy Analytics)
Verify if the current token is still valid
Connect Umami (Privacy Analytics) to Mastra AI via MCP
Follow these steps to wire Umami (Privacy Analytics) into Mastra AI. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install dependencies
npm install @mastra/core @mastra/mcp @ai-sdk/openaiReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenRun the agent
agent.ts and run with npx tsx agent.tsExplore tools
Why Use Mastra AI with the Umami (Privacy Analytics) MCP Server
Mastra AI provides unique advantages when paired with Umami (Privacy Analytics) through the Model Context Protocol.
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Umami (Privacy Analytics) without touching business code
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
TypeScript-native: full type inference for every Umami (Privacy Analytics) tool response with IDE autocomplete and compile-time checks
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
Umami (Privacy Analytics) + Mastra AI Use Cases
Practical scenarios where Mastra AI combined with the Umami (Privacy Analytics) MCP Server delivers measurable value.
Automated workflows: build multi-step agents that query Umami (Privacy Analytics), process results, and trigger downstream actions in a typed pipeline
SaaS integrations: embed Umami (Privacy Analytics) as a first-class tool in your product's AI features with Mastra's clean agent API
Background jobs: schedule Mastra agents to query Umami (Privacy Analytics) on a cron and store results in your database automatically
Multi-agent systems: create specialist agents that collaborate using Umami (Privacy Analytics) tools alongside other MCP servers
Example Prompts for Umami (Privacy Analytics) in Mastra AI
Ready-to-use prompts you can give your Mastra AI agent to start working with Umami (Privacy Analytics) immediately.
"List all websites I have access to in Umami."
"Send a 'newsletter_signup' event for website 8f2...1a on page /thanks."
"Show me all users on this Umami instance."
Troubleshooting Umami (Privacy Analytics) MCP Server with Mastra AI
Common issues when connecting Umami (Privacy Analytics) to Mastra AI through Vinkius, and how to resolve them.
createMCPClient not exported
npm install @mastra/mcpUmami (Privacy Analytics) + Mastra AI FAQ
Common questions about integrating Umami (Privacy Analytics) MCP Server with Mastra AI.
How does Mastra AI connect to MCP servers?
MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.Can Mastra agents use tools from multiple servers?
Does Mastra support workflow orchestration?
Explore More MCP Servers
View all →
Travis CI
10 toolsManage CI/CD pipelines, trigger custom builds, and oversee repository testing health securely via your AI agent.

NeverBounce
10 toolsVerify and clean email addresses via NeverBounce — track single checks and bulk jobs directly from your AI agent.

Evernote
10 toolsManage personal notes via Evernote — create and search notes, handle notebooks and tags, and monitor account quotas directly from any AI agent.

Make (Workflow Automation)
7 toolsManage workflow automation via Make — audit scenarios, track execution logs, and monitor data stores.
