Amami MCP docs
Cursor setup
Cursor can use Amami MCP to help you add analytics to a project, verify tracking, and ask growth questions from inside the editor.
Recommended prompt
Paste this into Cursor:
Install the Amami MCP server, then guide me through browser login and authorization.
https://dashboard.amami.dev/install/mcp-install.md
The setup guide tells the agent to install the package, start browser authorization, and configure the MCP server without asking you to paste passwords or API keys into chat.
Manual MCP config
If you already completed browser setup, add this server entry to .cursor/mcp.json:
{
"mcpServers": {
"amami": {
"command": "npx",
"args": ["-y", "amami-analytics-mcp@latest"]
}
}
}
If you already have an API key and want a fully declarative config:
{
"mcpServers": {
"amami": {
"command": "npx",
"args": ["-y", "amami-analytics-mcp@latest"],
"env": {
"AMAMI_API_KEY": "your_api_key_here",
"AMAMI_ENABLE_WRITE": "1"
}
}
}
}
Add analytics to a project
After the server loads, ask Cursor:
Connect this website to Amami, create a tracked website if needed, and tell me where to add the tracking script.
Cursor should use Amami tools to discover or create the website and return a script like:
<script defer src="https://dashboard.amami.dev/script.js" data-website-id="WEBSITE_ID"></script>
Verify the workflow
Check whether analytics is connected, send a test event if write tools are enabled, and summarize what I should inspect next.