Apollo IO MCP Server + LibreChat: 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 LibreChat, 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 LibreChat, 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 LibreChat
- 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
- LibreChat installed and configured
- Compatible operating system (Docker (Recommended), Kubernetes, Local Installation, Cloud Platforms)
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 LibreChat
- Open LibreChat 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 LibreChat:
Enrich Contact Information
Enrich a person's profile using their email address
Ask LibreChat: "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 LibreChat: "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 LibreChat: "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 LibreChat: "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 LibreChat
- 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
MCP Server Not Connecting
Symptoms: Status shows "Disconnected" or "Error", Server not appearing in list, Connection timeout
Cause: Invalid configuration, missing dependencies, or server startup failure
Solution:
- Check librechat.yaml syntax is valid YAML
- Verify npx and Node.js are available (for stdio/command-based servers)
- Check server command and args are correct
- Review LibreChat logs for error messages: docker logs librechat
- Increase timeout value if server takes longer to initialize
- Ensure required ports are not blocked (for HTTP-based servers)
OAuth Authentication Failing
Symptoms: Status shows "OAuth Required", Redirect loop during auth, Token refresh errors
Cause: OAuth credentials not configured or redirect URLs incorrect
Solution:
- Verify OAuth clientId and clientSecret in librechat.yaml
- Check redirect URL is correctly set in OAuth provider settings
- Ensure authorizationUrl and tokenUrl are accessible
- Complete OAuth flow by clicking "Initialize" in MCP Settings panel
- Check browser console for OAuth-related errors
User Credentials Not Working
Symptoms: Prompts for credentials not appearing, Variables not substituted, Authentication errors
Cause: User credential variables incorrectly formatted or not entered
Solution:
- Use correct format: {{USER_VARIABLE_NAME}} in librechat.yaml
- Enter credentials through MCP Settings panel in UI
- Verify variable names match between config and UI
- Check credentials are saved per-user (not shared globally)
Tools Not Appearing in Chat
Symptoms: No tool dropdown available, MCP tools missing from interface, Server connected but tools unavailable
Cause: MCP server not properly integrated with chat endpoint or agent
Solution:
- Verify you are using an endpoint that supports MCP (not all models do)
- Check if Agent Builder is enabled and MCP tools are assigned to agent
- Restart chat session after adding new MCP servers
- Verify MCP server actually provides tools (some servers are resource-only)
- Check server logs to confirm tools are being discovered
Docker Deployment Problems
Symptoms: Container fails to start, Database connection errors, Port conflicts
Cause: Docker configuration issues or missing environment variables
Solution:
- Verify .env file is properly configured with all required variables
- Check MongoDB connection string is correct
- Ensure ports 3080 (frontend) and 3081 (backend) are available
- Run docker compose logs to view detailed error messages
- Verify Docker and Docker Compose versions meet minimum requirements
Performance Issues with MCP
Symptoms: Slow tool execution, Timeout errors, UI freezing during tool calls
Cause: Server timeout too short, inefficient MCP server, or network latency
Solution:
- Increase timeout values in librechat.yaml (both init and operation timeouts)
- Use HTTP transport instead of stdio for remote servers
- Monitor MCP server performance independently
- Consider caching for frequently accessed resources
- Use Streamable HTTP transport for production environments
Apollo IO MCP Server not appearing in LibreChat
Symptoms: Server not listed, Tools not available
Cause: Configuration or installation issue
Solution:
- Verify configuration syntax
- Check Apollo IO MCP Server installation
- Restart LibreChat
- Check logs for error messages
Next Steps
Now that Apollo IO MCP Server is integrated with LibreChat:
- Explore all Apollo IO MCP Server capabilities through LibreChat
- Check out other MCP servers that work with LibreChat
- 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 LibreChat MCP guide
- Join the MCP community discussions