Kayzen Analytics
STDIOMCP server implementation for interacting with Kayzen Analytics API for advertising campaign data.
MCP server implementation for interacting with Kayzen Analytics API for advertising campaign data.
A Model Context Protocol (MCP) server implementation for interacting with Kayzen Analytics API. This package enables AI models to access and analyze Kayzen advertising campaign data through a standardized interface.
npm install @feedmob-ai/kayzen-mcp
Create a .env
file with your Kayzen credentials:
KAYZEN_USERNAME=your_username KAYZEN_PASSWORD=your_password KAYZEN_BASIC_AUTH=your_basic_auth_token KAYZEN_BASE_URL=https://api.kayzen.io/v1 # Optional, defaults to this value
import { KayzenMCPServer } from '@feedmob-ai/kayzen-mcp'; const server = new KayzenMCPServer(); server.start();
list_reports
Lists all available reports from Kayzen Analytics.
id
: Report identifiername
: Report nametype
: Report typeconst reports = await server.tools.list_reports();
get_report_results
Retrieves results for a specific report.
report_id
(string, required): ID of the report to fetchstart_date
(string, optional): Start date in YYYY-MM-DD formatend_date
(string, optional): End date in YYYY-MM-DD formatconst results = await server.tools.get_report_results({ report_id: 'report_id', start_date: '2024-01-01', // optional end_date: '2024-01-31' // optional });
analyze_report_results
(Prompt)Analyzes report results and provides insights.
report_id
(string): ID of the report to analyzeTo use this with Claude Desktop, add the following to your claude_desktop_config.json
:
{ "mcpServers": { "github": { "command": "npx", "args": [ "-y", "@feedmob-ai/kayzen-mcp" ], "env": { "KAYZEN_USERNAME": "username", "KAYZEN_PASSWORD": "pasword", "KAYZEN_BASIC_AUTH": "auth token" } } } }
# Install dependencies npm install # Build the project npm run build # Start the server npm start # Development mode with hot-reload npm run dev
kayzen-mcp/
├── src/
│ ├── server.ts # MCP server implementation
│ └── kayzen-client.ts # Kayzen API client
├── dist/ # Compiled JavaScript
└── package.json # Project configuration
Main dependencies:
@modelcontextprotocol/sdk
: ^1.7.0axios
: ^1.8.3dotenv
: ^16.4.7zod
: ^3.24.2The server handles various error scenarios:
MIT License
FeedMob