0.0.5 • Published 7 months ago
@feedmob/appsamurai-reporting v0.0.5
AppSamurai Reporting MCP Server
This MCP server provides tools and prompts to interact with the AppSamurai Campaign Spend API.
Features
- Tools:
get_appsamurai_campaign_spend: Fetches campaign spending data for a specified date range with optional filtering.
- Prompts:
check_appsamurai_campaign_spend: Guides users on how to check campaign spend.
Parameters
The following parameters are supported:
- Required:
startDate: Start date in YYYY-MM-DD formatendDate: End date in YYYY-MM-DD format
- Optional Filters:
campaignId: Filter by specific campaign IDbundleId: Filter by specific application bundle IDplatform: Filter by platform (e.g., ios, play)campaignName: Filter by campaign namecountry: Filter by country in ISO 3166-1 alpha-2 format (e.g., US, GB)
Setup
- Install dependencies:
npm install - Configure environment variables:
- Copy
.env.exampleto.env. - Fill in your
APPSAMURAI_API_KEYin the.envfile.
- Copy
- Build the server:
npm run build
Running the Server
To run the server directly for testing:
npm startConnecting to a Client (e.g., Claude Desktop)
Add the following configuration to your client's MCP server settings (e.g., claude_desktop_config.json), replacing /path/to/appsamurai-reporting with the actual absolute path:
{
"mcpServers": {
"appsamurai-reporting": {
"command": "npx",
"args": [ "-y", "@feedmob/appsamurai-reporting"],
"env": {
"APPSAMURAI_API_KEY": "api_key"
}
}
}
}Remember to set the APPSAMURAI_API_KEY in the environment where the client (like Claude Desktop) runs or add it to the env block in the client configuration if supported.