Apollo IO MCP Server + mcp-agent: Complete MCP Integration
Apollo IO MCP Server is a MCP server that apollo.io mcp server. Get/enrich contact data for people and organizations agentically..
When integrated with mcp-agent, you can:
- Enrich contact data for individuals with comprehensive profile information
- Enrich company data with detailed organizational information
- Advanced people search with extensive filtering options
This guide provides step-by-step instructions to set up Apollo IO MCP Server in mcp-agent, including configuration, examples, and troubleshooting.
What You'll Achieve
After completing this setup:
- Apollo IO MCP Server will be fully integrated and operational
- You can use Apollo IO MCP Server tools directly in mcp-agent
- All Apollo IO MCP Server capabilities will be available for your workflows
- Access to 7 different tools
Prerequisites
Before starting, ensure you have:
- Node.js
- npm
- Apollo.io API key
- Apollo.io API key for accessing enrichment services
- mcp-agent installed and configured
- Compatible operating system (Python 3.9+, pip Installation, uv Installation, Temporal (Optional))
Installation
Step 1: Install Apollo IO MCP Server
Install using npm:
npm install @agentx-ai/apollo-io-mcp-server
Verify installation:
npm list @agentx-ai/apollo-io-mcp-server
Configuration
Step 2: Configure mcp-agent
- Open mcp-agent settings
- Navigate to MCP server configuration
- Add Apollo IO MCP Server server with appropriate settings
- Save and restart if needed
Examples
Once configured, you can use Apollo IO MCP Server in mcp-agent:
Enrich Contact Information
Enrich a person's profile using their email address
Ask mcp-agent: "Enrich the contact information for [email protected] and get their professional background"
Expected Result: Complete profile with job title, company details, social profiles, and professional background
Find Marketing Decision Makers
Search for marketing managers at technology companies
Ask mcp-agent: "Find Marketing Managers at technology companies in San Francisco with 100-500 employees"
Expected Result: List of marketing professionals with contact details, company information, and role descriptions
Company Intelligence Gathering
Get comprehensive information about a target company
Ask mcp-agent: "Get detailed information about Salesforce including employee count, recent hires, and current job openings"
Expected Result: Company profile with metrics, employee data, hiring trends, and job postings
Competitive Analysis
Analyze competitors and find key contacts
Ask mcp-agent: "Find all companies in the CRM software space and identify their VP of Sales contacts"
Expected Result: Competitive landscape with company profiles and key decision maker contact information
Testing Your Setup
- Launch mcp-agent
- Verify Apollo IO MCP Server is available in the tools list
- Test basic Apollo IO MCP Server functionality
Troubleshooting
Common Issues
Apollo.io API Key Invalid
Symptoms: 401 Authentication errors, API key not recognized, Access denied messages
Cause: Invalid, expired, or missing Apollo.io API key
Solution:
- Generate new API key from Apollo.io settings
- Verify APOLLO_IO_API_KEY environment variable is set
- Check API key has appropriate permissions
- Ensure no extra spaces or characters in key
Rate Limiting Errors
Symptoms: 429 Too Many Requests, API quota exceeded, Rate limit messages
Cause: Exceeded Apollo.io API rate limits
Solution:
- Check your Apollo.io plan limits and usage
- Implement delays between requests
- Upgrade Apollo.io plan for higher limits
- Optimize queries to use fewer API calls
Claude Desktop Not Detecting Server
Symptoms: No tools showing up, MCP server not connected, Configuration ignored
Cause: Incorrect claude_desktop_config.json setup
Solution:
- Verify JSON syntax in configuration file
- Check file is in correct location for your OS
- Restart Claude Desktop after configuration changes
- Test server with MCP inspector first
Search Results Empty or Limited
Symptoms: No search results, Limited contact data, Enrichment fails
Cause: Search criteria too restrictive or data not available
Solution:
- Broaden search criteria and filters
- Try different search parameters
- Check if company/person exists in Apollo database
- Verify search syntax and parameter format
NPM Installation Errors
Symptoms: Package not found, Installation failures, Dependency errors
Cause: NPM registry issues or network connectivity
Solution:
- Clear NPM cache: npm cache clean --force
- Try alternative registry: npm install --registry https://registry.npmjs.org/
- Check internet connectivity and proxy settings
- Update NPM: npm install -g npm@latest
Import Error - Module Not Found
Symptoms: ModuleNotFoundError: No module named mcp_agent, Import fails
Cause: mcp-agent not installed or wrong Python environment
Solution:
- Verify installation: pip show mcp-agent
- Ensure using correct Python environment/virtualenv
- Reinstall: pip install --upgrade mcp-agent
- Check Python version is 3.9 or higher
MCP Server Connection Failures
Symptoms: Server not starting, Connection timeout, Tool execution errors
Cause: Invalid MCP server configuration or missing dependencies
Solution:
- Verify npx is installed and accessible (required for stdio servers)
- Check MCP server package name and arguments are correct
- Test server independently: npx -y @modelcontextprotocol/server-filesystem /path
- Review agent logs for detailed error messages
- Ensure required environment variables are set
LLM API Authentication Errors
Symptoms: 401 Unauthorized, API key invalid, Provider authentication failed
Cause: Missing or incorrect API keys for LLM provider
Solution:
- Set environment variables: ANTHROPIC_API_KEY, OPENAI_API_KEY, etc.
- Verify API key is valid and has correct permissions
- Check API key format matches provider requirements
- Pass api_key parameter explicitly in Agent initialization
Workflow Execution Failures
Symptoms: Workflow hangs, Timeout errors, Incomplete results
Cause: Workflow pattern misconfiguration or task complexity
Solution:
- Increase timeout values for long-running tasks
- Break complex workflows into smaller steps
- Verify all workflow dependencies are available
- Check Temporal backend is running (for production deployments)
- Review workflow logs for specific error messages
Temporal Backend Connection Issues
Symptoms: Cannot connect to Temporal, Workflow registration fails, Worker errors
Cause: Temporal server not running or misconfigured
Solution:
- Verify Temporal server is running: temporal server health
- Check Temporal connection settings (host, port, namespace)
- Ensure Temporal workers are registered correctly
- Review Temporal server logs for connection errors
- Start local Temporal dev server: temporal server start-dev
Performance Issues with Large Workflows
Symptoms: Slow execution, High memory usage, Timeout errors
Cause: Inefficient workflow design or resource constraints
Solution:
- Use map-reduce pattern for parallelizable tasks
- Implement batching for large data processing
- Enable Temporal backend for better resource management
- Monitor agent memory usage and optimize task size
- Consider streaming responses for large outputs
Apollo IO MCP Server not appearing in mcp-agent
Symptoms: Server not listed, Tools not available
Cause: Configuration or installation issue
Solution:
- Verify configuration syntax
- Check Apollo IO MCP Server installation
- Restart mcp-agent
- Check logs for error messages
Next Steps
Now that Apollo IO MCP Server is integrated with mcp-agent:
- Explore all Apollo IO MCP Server capabilities through mcp-agent
- Check out other MCP servers that work with mcp-agent
- Join the MCP community for tips and support
- Consider contributing to Apollo IO MCP Server development
Need Help?
- Search for Apollo IO MCP Server documentation
- Check the mcp-agent MCP guide
- Join the MCP community discussions