zalogarcia/hyros-mcp-server
If you are the rightful owner of hyros-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
Hyros MCP Server is a robust Model Context Protocol server that facilitates seamless integration with the Hyros API, enabling AI agents, automation tools, and workflow platforms to access and utilize Hyros data effectively.
Hyros MCP Server
A powerful Model Context Protocol (MCP) server that provides seamless access to the Hyros API for AI agents, automation tools, and workflow platforms like n8n.
🚀 Quick Start
For n8n Users
Add this to your n8n MCP configuration:
{
"mcpServers": {
"hyros": {
"command": "npx",
"args": ["-y", "hyros-mcp-api@latest"]
}
}
}
For Claude Desktop
Add this to your claude_desktop_config.json
:
{
"mcpServers": {
"hyros": {
"command": "npx",
"args": ["-y", "hyros-mcp-api@latest"]
}
}
}
Direct Installation
# Install globally
npm install -g hyros-mcp-api
# Or run with npx (recommended)
npx hyros-mcp-api@latest
📚 Available Tools
This MCP server provides 24 comprehensive Hyros API tools:
👥 Lead Management
retrieveLeads
- Search and retrieve leads by date, email, or IDcreateLead
- Create new leads with contact informationretrieveLeadsJourney
- Get detailed lead funnel journey data
💰 Sales Tracking
retrieveSales
- Search and retrieve sales data with filtersupdateSales
- Update sale information including refund statuscreateOrder
- Create new orders with items and pricing
📞 Call Management
retrieveCalls
- Search and retrieve call recordscreateCall
- Log new call records with qualification dataupdateCall
- Update call information and status
📊 Attribution & Analytics
getAdsAttributionReport
- Get detailed ads performance attributiongetAdAccountAttributionReport
- Get ad account level attribution data
🏷️ Product & Tag Management
createProduct
- Create new products in your cataloglistTags
- Retrieve all available tagslistSources
- List all traffic sourcescreateSource
- Create new traffic sources
📱 Ad Management
listAds
- List ads with advanced filtering options
💸 Cost & Event Tracking
createCustomCost
- Add custom cost entries for attributioncreateClick
- Track click events for attributionretrieveClicks
- Get click data for specific leadscreateCart
- Track cart abandonment events
👤 Account Management
getUserInfo
- Retrieve current user and account detailsretrieveKeywords
- Get keywords for specific ad groups
🔄 Subscription Management
createSubscription
- Create new subscription recordsupdateSubscription
- Update existing subscription status
🔐 Authentication
All tools require your Hyros API key. Get your API key from your Hyros dashboard.
Usage Example
{
"tool": "retrieveLeads",
"arguments": {
"apiKey": "your-hyros-api-key-here",
"fromDate": "2024-01-01T00:00:00Z",
"toDate": "2024-12-31T23:59:59Z",
"pageSize": 50
}
}
🛠️ Platform Integration
n8n Workflow Automation
Perfect for building automated marketing workflows, lead nurturing sequences, and sales reporting dashboards.
Claude Desktop
Enhance your AI conversations with real-time access to your Hyros data for analysis and insights.
Custom AI Agents
Build powerful AI agents that can interact with your Hyros data for customer service, sales optimization, and marketing automation.
📋 Tool Parameters
Common Parameters
apiKey
(required) - Your Hyros API keypageSize
(optional) - Number of results per page (default varies by endpoint)pageId
(optional) - Page number for pagination
Date Filtering
Most tools support date filtering with:
fromDate
- Start date in ISO 8601 formattoDate
- End date in ISO 8601 format
Example Date Format
"fromDate": "2024-01-01T00:00:00Z"
"toDate": "2024-12-31T23:59:59Z"
🔍 Advanced Usage
Retrieving Leads with Filters
{
"tool": "retrieveLeads",
"arguments": {
"apiKey": "your-api-key",
"emails": ["customer@example.com"],
"fromDate": "2024-01-01T00:00:00Z",
"pageSize": 25
}
}
Creating a New Lead
{
"tool": "createLead",
"arguments": {
"apiKey": "your-api-key",
"email": "newlead@example.com",
"firstName": "John",
"lastName": "Doe",
"phone": "+1234567890",
"sourceId": "facebook-ads"
}
}
Getting Attribution Report
{
"tool": "getAdsAttributionReport",
"arguments": {
"apiKey": "your-api-key",
"startDate": "2024-01-01",
"endDate": "2024-01-31",
"level": "campaign",
"currency": "USD"
}
}
🚨 Error Handling
The server provides detailed error messages for:
- Invalid API keys - Check your Hyros dashboard for the correct key
- Rate limiting - The server respects Hyros API rate limits
- Invalid parameters - Clear validation messages for incorrect inputs
- Network issues - Automatic retry logic for temporary failures
🔄 Updates
The package is regularly updated to include:
- New Hyros API endpoints
- Enhanced error handling
- Performance improvements
- Additional filtering options
Always use @latest
to get the most recent version:
npx hyros-mcp-api@latest
📞 Support
- Package Issues: Open an issue in this repository
- Hyros API Questions: Contact Hyros support
- MCP Protocol: Check the Model Context Protocol documentation
📜 License
MIT - See LICENSE file for details.
🏗️ Technical Details
- Built with: Model Context Protocol SDK
- Transport: STDIO (standard input/output)
- Node.js: Requires Node.js 16.0.0 or higher
- Protocol: JSON-RPC 2.0 over MCP
Made with ❤️ for the Hyros community
This MCP server bridges the gap between AI agents and Hyros data, enabling powerful automation and insights that drive business growth.