sweeppea_connect
Retrieves connection details to authenticate with Sweeppea MCP server and access tools for legally compliant sweepstakes management in the US and Canada. Requires subscription and API key.
Instructions
Returns connection details for the Sweeppea MCP Server (66 tools for legally compliant sweepstakes management in the US and Canada). Requires a Sweeppea subscription and API key from sweeppea.com.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- index.js:16-56 (handler)The handler function for sweeppea_connect. Returns connection details including remote URL, authentication requirements, and configuration example for connecting to the Sweeppea MCP Server.
async () => ({ content: [ { type: "text", text: [ "Sweeppea MCP Server — Sweepstakes Management Platform", "", "Remote endpoint: " + REMOTE_URL, "Transport: Streamable HTTP", "Auth: Bearer <SWEEPPEA_API_KEY>", "Protocol: MCP 2025-11-25", "", "66 tools across 15 categories:", "Account, Sweepstakes, Participants, Entry Page, Groups,", "Notes, Calendar, Rules, Billing, Support, Winners,", "Documentation, Utilities, To-Do, Testing", "", "Get your API key: https://www.sweeppea.com/", "Documentation: https://mcpdocs.sweeppea.com/", "", "Claude Code config:", JSON.stringify( { mcpServers: { sweeppea: { url: REMOTE_URL, headers: { Authorization: "Bearer <YOUR_API_KEY>", "MCP-Protocol-Version": "2025-11-25", }, }, }, }, null, 2, ), ].join("\n"), }, ], }), ); - index.js:15-15 (schema)The input schema for sweeppea_connect. An empty object indicating no parameters are required.
{}, - index.js:12-56 (registration)The registration of the sweeppea_connect tool with the MCP server. Includes the tool name, description, empty parameter schema, and the handler function.
server.tool( "sweeppea_connect", "Returns connection details for the Sweeppea MCP Server (66 tools for legally compliant sweepstakes management in the US and Canada). Requires a Sweeppea subscription and API key from sweeppea.com.", {}, async () => ({ content: [ { type: "text", text: [ "Sweeppea MCP Server — Sweepstakes Management Platform", "", "Remote endpoint: " + REMOTE_URL, "Transport: Streamable HTTP", "Auth: Bearer <SWEEPPEA_API_KEY>", "Protocol: MCP 2025-11-25", "", "66 tools across 15 categories:", "Account, Sweepstakes, Participants, Entry Page, Groups,", "Notes, Calendar, Rules, Billing, Support, Winners,", "Documentation, Utilities, To-Do, Testing", "", "Get your API key: https://www.sweeppea.com/", "Documentation: https://mcpdocs.sweeppea.com/", "", "Claude Code config:", JSON.stringify( { mcpServers: { sweeppea: { url: REMOTE_URL, headers: { Authorization: "Bearer <YOUR_API_KEY>", "MCP-Protocol-Version": "2025-11-25", }, }, }, }, null, 2, ), ].join("\n"), }, ], }), );