This MCP server provides access to the Jampp Reporting API through the Model Context Protocol, allowing LLMs to fetch campaign performance data.
Clone this repository:
git clone https://github.com/yourusername/mcp-jampp.git
cd mcp-jampp
Install dependencies:
uv add "mcp[cli]" httpx python-dotenv
Or with pip:
pip install "mcp[cli]" httpx python-dotenv
Set up your environment variables:
Create a .env
file in the project root with your Jampp API credentials:
JAMPP_CLIENT_ID=your_client_id
JAMPP_CLIENT_SECRET=your_client_secret
python jampp_mcp_server.py
For development and testing:
mcp dev jampp_mcp_server.py
Install Claude Desktop from claude.ai/download
Configure Claude Desktop to use this server:
~/Library/Application Support/Claude/claude_desktop_config.json
(macOS) or %APPDATA%\Claude\claude_desktop_config.json
(Windows){
"mcpServers": {
"jampp": {
"command": "python",
"args": ["path/to/jampp_mcp_server.py"],
"env": {
"JAMPP_CLIENT_ID": "your_client_id",
"JAMPP_CLIENT_SECRET": "your_client_secret"
}
}
}
}
Restart Claude Desktop
get_campaign_spend
Fetches campaign spend data for a specific date range.
Parameters:
from_date
: Start date in YYYY-MM-DD formatto_date
: End date in YYYY-MM-DD formatcampaign_id
(optional): ID of the specific campaign to queryget_campaign_daily_spend
Fetches daily spend data for a specific campaign.
Parameters:
from_date
: Start date in YYYY-MM-DD formatto_date
: End date in YYYY-MM-DD formatcampaign_id
: ID of the campaign to querytimezone
(optional): Timezone for the report (default: UTC)get_campaign_performance
Fetches comprehensive performance metrics for campaigns.
Parameters:
from_date
: Start date in YYYY-MM-DD formatto_date
: End date in YYYY-MM-DD formatcampaign_id
(optional): ID of a specific campaign to querytimezone
(optional): Timezone for the report (default: UTC)create_async_report
Creates an asynchronous report for larger data sets.
Parameters:
from_date
: Start date in YYYY-MM-DD formatto_date
: End date in YYYY-MM-DD formatdimensions
: List of dimensions to include (e.g. ["campaignId", "campaign"])metrics
: List of metrics to include (e.g. ["impressions", "clicks", "spend"])get_async_report_status
Checks the status of an asynchronous report.
Parameters:
report_id
: ID of the async report to checkget_async_report_results
Gets the results of a completed asynchronous report.
Parameters:
report_id
: ID of the async report to retrieveget_available_metrics_and_dimensions
Gets a list of all available metrics and dimensions for reporting.
Here are some example queries you can ask Claude when using this MCP server:
MIT
Seamless access to top MCP servers powering the future of AI integration.