This guide provides solutions to common issues you might encounter when using the Openprovider MCP server.
Problem: You receive an "Authentication error: Authentication/Authorization Failed" message when trying to use the login tool.
Possible Causes:
- Incorrect username or password
- Account is locked or suspended
- IP address is not allowed to access the API
Solutions:
- Double-check your username and password
- Verify that your Openprovider account is active
- Check if your IP address is allowed in the Openprovider control panel
- Try logging in to the Openprovider control panel to verify your credentials
Problem: You receive a "Token expired" or "Invalid token" error when using tools after login.
Solutions:
- Call the login tool again to get a new token
- Make sure you're using the token from the most recent login call
- Check if your session has timed out (tokens typically expire after 30 minutes of inactivity)
Problem: You cannot connect to the MCP server.
Possible Causes:
- The server is not running
- The server is running on a different port
- Firewall is blocking the connection
Solutions:
- Start the server using
npm start - Check the server logs for any errors
- Verify the port configuration in your .env file
- Check your firewall settings
Problem: The MCP server cannot connect to the Openprovider API.
Possible Causes:
- Internet connection issues
- Openprovider API is down
- API endpoint URL is incorrect
Solutions:
- Check your internet connection
- Verify the Openprovider API status
- Check the API endpoint URL in your .env file
Problem: The check_domain tool fails or returns unexpected results.
Possible Causes:
- Invalid domain format
- TLD not supported by Openprovider
- API rate limits exceeded
Solutions:
- Make sure the domain name and extension are valid
- Check if the TLD is supported by Openprovider
- Reduce the number of domains checked in a single request
- Wait a few minutes and try again if you've exceeded rate limits
Problem: The register_domain tool fails.
Possible Causes:
- Domain is not available
- Missing required parameters
- Invalid contact handle
- Insufficient funds in your Openprovider account
Solutions:
- Check domain availability before attempting registration
- Ensure all required parameters are provided
- Verify that the contact handle exists
- Check your Openprovider account balance
Problem: PearAI Agent doesn't recognize the Openprovider MCP server.
Possible Causes:
- Incorrect configuration in the MCP settings file
- Server path is incorrect
- Server is not executable
Solutions:
- Check the MCP settings file for correct configuration
- Verify the path to the server.js file
- Make sure the server.js file is executable (
chmod +x server.js) - Restart PearAI Agent after making changes to the MCP settings
Problem: Tool execution fails when using the MCP server through PearAI Agent.
Possible Causes:
- Server is not running
- Environment variables not set correctly
- Tool parameters are incorrect
Solutions:
- Make sure the server is running
- Check the environment variables in the MCP settings file
- Verify that the tool parameters match the required schema
If you're still experiencing issues, you can enable debug mode to get more detailed logs:
- Set the
DEBUGenvironment variable totruein your .env file or MCP settings - Restart the server
- Check the logs for more detailed information
Example .env file with debug mode enabled:
OPENPROVIDER_USERNAME=your_username
OPENPROVIDER_PASSWORD=your_password
DEBUG=true
If you're still having issues after trying the solutions in this guide, you can:
- Check the Openprovider API documentation
- Contact Openprovider support
- Open an issue in the GitHub repository