Sweeppea MCP Server — AI-Powered Sweepstakes Management
$ MCP Server v1.10.2
Model Context Protocol for Sweepstakes Management
# Quick Start
claude mcp add sweeppea https://mcp.sweeppea.com/ \
--transport http \
--header "Authorization: Bearer YOUR_API_KEY" \
--header "MCP-Protocol-Version: 2025-11-25"
Using Claude Code CLI. See Platform Setup for Claude Desktop/Cowork and other clients.
# Available Tools (53)
Account Tools
4 ▾Verify connection to Sweeppea API and validate your API key.
Get user profile information for a Sweeppea account.
Get business information including company details and address.
Get subscription plan details including pricing, limits and features.
Entry Page Tools
1 ▾Get all form fields for a sweepstakes entry page. Use before adding participants.
Sweepstakes Tools
7 ▾Get all sweepstakes associated with your account.
Create a new sweepstakes with type, handler, dates, and times.
Update an existing sweepstakes (name, dates, times).
Clone an existing sweepstakes with new parameters and dates.
Pause a sweepstakes, setting it to inactive while preserving data.
Reactivate a paused sweepstakes to allow new entries.
Permanently delete a sweepstakes and all associated data.
Participant Tools
5 ▾Add a new participant to a sweepstakes with custom fields.
Fetch a single participant by token, email, or phone number.
List participants with pagination (20/page), search, and date filters.
Get participant counts with optional filtering by type and date.
Permanently remove a participant from a sweepstakes.
Group Tools
4 ▾Get all groups from a sweepstakes for participant segmentation.
Create a new group within a sweepstakes.
Update the name of an existing group in a sweepstakes.
Delete a group. Cannot delete primary, locked, or groups with participants.
Notes Tools
4 ▾Get all notes, decrypted and in reverse chronological order.
Create a new note. Content is encrypted using AES-256-CBC.
Update an existing note. Supports partial updates.
Permanently delete a note. This action cannot be undone.
Calendar Tools
5 ▾Get all calendar events with dates, times, and status.
Get a single calendar event by its token with full details.
Create a new calendar event with title, dates, and notifications.
Update an existing calendar event. Cannot update to past dates.
Permanently delete a calendar event. Cannot be undone.
Rules Tools
5 ▾Get all official rules including primary and secondary rules.
Create a new official rules document with HTML content.
Update an existing official rules document. Supports partial updates.
Permanently delete an official rules document. Cannot be undone.
Generate official rules via 14-step wizard. Complete HTML rules server-side.
Billing & Wallet Tools
4 ▾Get all wallet transactions including credits, debits, and payments.
Get all billing transactions including invoices and amounts.
Get monthly and yearly billing consumption totals.
Get data transfer records for a specific sweepstakes with costs.
Support Tickets Tools
7 ▾Get open tickets with pagination, search, platform and priority filters.
Get closed tickets with pagination, search, platform and priority filters.
Get full ticket details by case number including notes and files.
Create a new support ticket with title, description, and priority.
Close/resolve an open support ticket.
Update an open support ticket. At least one field required.
Permanently delete an open support ticket. Cannot be undone.
Documentation Tools
1 ▾Get help and support documentation articles with pagination and search.
Utilities Tools
5 ▾Get all available timezones with IANA identifiers and UTC offsets.
Get all US states including DC, Puerto Rico, and territories.
Search US zip codes by code, city, or state. Up to 10 results.
Search US telephone area codes by code or state. Up to 10 results.
Search countries by name, dial code, or ISO abbreviation. Up to 10 results.
Testing Tools
1 ▾Simple test tool to verify MCP connection is working properly.
# Usage Examples
curl -X POST https://mcp.sweeppea.com/ \
-H "Content-Type: application/json" \
-H "MCP-Protocol-Version: 2025-11-25" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "initialize",
"params": {
"protocolVersion": "2025-11-25",
"clientInfo": {"name": "client"}
}
}'
curl -X POST https://mcp.sweeppea.com/ \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "MCP-Session-Id: uuid-xxx" \
-d '{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "add_participant",
"arguments": {
"sweepstakes_token": "xxx-xxx-xxx",
"email": "user@example.com",
"fields": {"First_Name": "John", "Last_Name": "Doe"}
}
}
}'
# Platform Setup
Claude Code (CLI)
Add server with a single command
claude mcp add sweeppea https://mcp.sweeppea.com/ \
--transport http \
--header "Authorization: Bearer YOUR_API_KEY" \
--header "MCP-Protocol-Version: 2025-11-25"
Claude Desktop / Cowork
Add to claude_desktop_config.json (requires Node.js installed)
Config file location:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"sweeppea": {
"command": "npx",
"args": [
"-y", "mcp-remote",
"https://mcp.sweeppea.com/",
"--header", "Authorization: Bearer YOUR_API_KEY",
"--header", "MCP-Protocol-Version: 2025-11-25"
]
}
}
}
Cursor
~/.cursor/mcp.json (global) or .cursor/mcp.json (project)
Step-by-step:
- Create or edit the config file with the JSON below
- Replace
YOUR_API_KEYwith your Sweeppea API Key - Restart Cursor
- Go to Settings > Tools & MCP
- Enable the sweeppea server with the toggle switch
{
"mcpServers": {
"sweeppea": {
"url": "https://mcp.sweeppea.com/",
"headers": {
"Authorization": "Bearer YOUR_API_KEY",
"MCP-Protocol-Version": "2025-11-25"
}
}
}
}
Windsurf
~/.codeium/windsurf/mcp_config.json (global)
Step-by-step:
- Create or edit the config file with the JSON below
- Replace
YOUR_API_KEYwith your Sweeppea API Key - Go to Settings > Cascade > MCP Servers
- Verify that sweeppea appears and is enabled
{
"mcpServers": {
"sweeppea": {
"serverUrl": "https://mcp.sweeppea.com/",
"headers": {
"Authorization": "Bearer YOUR_API_KEY",
"MCP-Protocol-Version": "2025-11-25"
}
}
}
}
GitHub Copilot (VS Code)
.vscode/mcp.json (workspace) or User Settings
{
"inputs": [
{
"type": "promptString",
"id": "sweeppea-api-key",
"description": "Sweeppea API Key",
"password": true
}
],
"servers": {
"sweeppea": {
"type": "http",
"url": "https://mcp.sweeppea.com/",
"headers": {
"Authorization": "Bearer ${input:sweeppea-api-key}",
"MCP-Protocol-Version": "2025-11-25"
}
}
}
}
Gemini CLI
~/.gemini/settings.json (global) or .gemini/settings.json (project)
{
"mcpServers": {
"sweeppea": {
"httpUrl": "https://mcp.sweeppea.com/",
"headers": {
"Authorization": "Bearer YOUR_API_KEY",
"MCP-Protocol-Version": "2025-11-25"
}
}
}
}
Agent Zero
Open-source AI agent framework with MCP support
Step-by-step:
- Go to Settings > MCP/A2A > MCP Servers
- Add the JSON configuration below
- Replace
YOUR_API_KEYwith your Sweeppea API Key - Click Save
Note: On first connection, Agent Zero will automatically install the required libraries to connect to the MCP server.
{
"mcpServers": {
"sweeppea": {
"description": "Sweeppea - Sweepstakes Management API",
"type": "streamable-http",
"url": "https://mcp.sweeppea.com/",
"headers": {
"Authorization": "Bearer YOUR_API_KEY",
"MCP-Protocol-Version": "2025-11-25"
}
}
}
}
Troubleshooting: Common connection issues
Error: SSEError: Expected Content-Type 'text/event-stream', got 'application/json'
This happens when "type" is set to "sse" instead of "streamable-http". Sweeppea uses MCP Protocol 2025-11-25 with Streamable HTTP transport, not SSE.
Error: UI "Apply" button is disabled (greyed out)
Known bug in Agent Zero v0.9.7-10. The UI rejects valid JSON configurations. Workaround: edit the config file directly and restart.
# 1. Backup
cp /a0/tmp/settings.json /a0/tmp/settings_backup.json
# 2. Edit with Python (mcp_servers is a JSON string inside JSON)
python3 -c "
import json
with open('/a0/tmp/settings.json', 'r') as f:
config = json.load(f)
mcp = json.loads(config['mcp_servers'])
mcp['mcpServers']['sweeppea']['type'] = 'streamable-http'
mcp['mcpServers']['sweeppea']['headers']['MCP-Protocol-Version'] = '2025-11-25'
config['mcp_servers'] = json.dumps(mcp)
with open('/a0/tmp/settings.json', 'w') as f:
json.dump(config, f, indent=2)
print('Done')
"
# 3. Restart Agent Zero
docker restart agent-zero
Important: In settings.json, the field mcp_servers is a JSON string (not an object). You must parse it, modify it, stringify it back, then save.
Antigravity by Google
~/.gemini/antigravity/mcp_config.json (global)
{
"mcpServers": {
"sweeppea": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.sweeppea.com/",
"--header",
"Authorization: Bearer YOUR_API_KEY",
"--header",
"MCP-Protocol-Version: 2025-11-25"
]
}
}
}