beginner⏱️ 12-22 minutes📅 Updated June 2026

Step-by-step guide to integrate Apollo IO MCP Server MCP server with OpenCode. Includes people enrichment and organization enrichment.

Apollo IO MCP Server + OpenCode: 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 OpenCode, 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 OpenCode, 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 OpenCode
  • 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
  • OpenCode installed and configured
  • Compatible operating system (macOS, Linux, Windows)

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 OpenCode

  1. Locate your configuration file:

  2. Add server configuration:

Configure MCP servers in your `opencode.json` or `opencode.jsonc`:

```json
{
  "mcp": {
    "my-mcp": {
      "type": "local",
      "command": ["npx", "-y", "@modelcontextprotocol/server-everything"],
      "environment": {
        "API_KEY": "$API_KEY"
      },
      "timeout": 5000
    },
    "remote-server": {
      "type": "remote",
      "url": "https://mcp.example.com/sse",
      "headers": {
        "Authorization": "Bearer $API_TOKEN"
      }
    }
  }
}

Disable a server temporarily:

{
  "mcp": {
    "my-mcp": {
      "type": "local",
      "command": ["npx", "-y", "mcp-server"],
      "enabled": false
    }
  }
}

3. **Restart OpenCode**

Completely quit and restart OpenCode to load the new configuration.



## Examples

Once configured, you can use Apollo IO MCP Server in OpenCode:

### Enrich Contact Information

Enrich a person's profile using their email address

**Ask OpenCode:** "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 OpenCode:** "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 OpenCode:** "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 OpenCode:** "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

1. Run opencode in terminal
2. Add "use the mcp_name tool" to your prompts
3. Verify tool execution and response



## 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 Loading

**Symptoms:** Server not appearing in tools, Timeout errors, Command not found

**Cause:** Invalid configuration, missing dependencies, or timeout too short

**Solution:**
- Verify command array is correct in opencode.json
- Check environment variables are set properly
- Increase timeout value if server takes longer to start
- Test MCP server command independently in terminal

#### Context Limit Exceeded

**Symptoms:** Context too large errors, Slow responses, Truncated output

**Cause:** Too many MCP servers adding to context

**Solution:**
- Disable unused MCP servers with enabled: false
- Use per-agent tool configuration to limit active MCPs
- Avoid MCP servers that add many tokens (e.g., GitHub MCP)

#### Remote Server Connection Failed

**Symptoms:** Cannot connect to remote MCP, Authentication errors

**Cause:** Invalid URL, missing headers, or network issues

**Solution:**
- Verify remote server URL is correct
- Check authorization headers are properly configured
- Ensure environment variables for tokens are set

#### Apollo IO MCP Server not appearing in OpenCode

**Symptoms:** Server not listed, Tools not available

**Cause:** Configuration or installation issue

**Solution:**
- Verify configuration syntax
- Check Apollo IO MCP Server installation
- Restart OpenCode
- Check logs for error messages



## Next Steps

Now that Apollo IO MCP Server is integrated with OpenCode:

- Explore all Apollo IO MCP Server capabilities through OpenCode
- Check out other MCP servers that work with OpenCode
- 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](https://www.mcpstack.org)
- Check the [OpenCode MCP guide](https://www.mcpstack.org/clients)
- Join the MCP community discussions

Related Resources

More Integrations

Explore other MCP servers that work with OpenCode

Need Help?

Join the MCP community for support and discussions

Apollo IO MCP Server + OpenCode: MCP Setup Guide (2026)