@wwhat/mcp-stdio-client
v1.0.3
Published
Stdio wrapper for wwhat MCP server - enables Cursor/Claude Desktop integration
Downloads
317
Maintainers
Readme
@wwhat/mcp-stdio-client
Stdio wrapper for the wwhat MCP server - enables Cursor and Claude Desktop integration.
Installation
cd packages/mcp-stdio-client
bun install
bun run buildUsage
Environment Variables
WWHAT_API_KEY(required) - Your wwhat API keyWWHAT_MCP_URL(optional) - MCP server URL (defaults tohttps://app.wwhat.ai/mcp)
Cursor Configuration
Add to your Cursor MCP settings (~/.cursor/mcp.json):
{
"mcpServers": {
"wwhat": {
"command": "node",
"args": ["/path/to/wwhat/packages/mcp-stdio-client/dist/index.js"],
"env": {
"WWHAT_API_KEY": "your-api-key-here",
"WWHAT_MCP_URL": "https://app.wwhat.ai/mcp"
}
}
}
}For local development:
{
"mcpServers": {
"wwhat-local": {
"command": "node",
"args": ["/path/to/wwhat/packages/mcp-stdio-client/dist/index.js"],
"env": {
"WWHAT_API_KEY": "your-api-key-here",
"WWHAT_MCP_URL": "http://localhost:8787/mcp"
}
}
}
}Claude Desktop Configuration
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on Mac):
{
"mcpServers": {
"wwhat": {
"command": "node",
"args": ["/path/to/wwhat/packages/mcp-stdio-client/dist/index.js"],
"env": {
"WWHAT_API_KEY": "your-api-key-here",
"WWHAT_MCP_URL": "https://app.wwhat.ai/mcp"
}
}
}
}Available Tools
| Tool | Description |
|------|-------------|
| get_weekly_insights | Get weekly analytics insights including traffic changes and recommendations |
| query_analytics_metrics | Query metrics with trend comparisons (W1, L4WAVG, LY4WAVG) |
| list_sources | List available GA4 properties |
| trigger_analytics_workflow | Trigger analytics processing for a week |
| get_workflow_status | Check workflow status |
| get_ga4_data | Get GA4 data for specific dimensions |
Testing
Run directly:
WWHAT_API_KEY=your-key WWHAT_MCP_URL=http://localhost:8787/mcp node dist/index.jsDevelopment
bun run dev # Watch mode
bun run build # Build for production