AgentQL + MCP Inspector: Complete MCP Integration
AgentQL is a MCP server that Enable AI agents to get structured data from unstructured web with AgentQL..
When integrated with MCP Inspector, you can:
- Extract structured data from web pages using natural language
- Scrape web data with structured field definitions
- Monitor web pages for content changes
This guide provides step-by-step instructions to set up AgentQL in MCP Inspector, including configuration, examples, and troubleshooting.
What You'll Achieve
After completing this setup:
- AgentQL will be fully integrated and operational
- You can use AgentQL tools directly in MCP Inspector
- All AgentQL capabilities will be available for your workflows
- Access to 3 different tools
Prerequisites
Before starting, ensure you have:
- API key from AgentQL Dev Portal
- MCP Inspector installed and configured
- Compatible operating system (CLI Tool)
Installation
Step 1: Install AgentQL
Configuration
Step 2: Configure MCP Inspector
- Open MCP Inspector settings
- Navigate to MCP server configuration
- Add AgentQL server with appropriate settings
- Save and restart if needed
Examples
Once configured, you can use AgentQL in MCP Inspector:
E-commerce Product Monitoring
undefined
Ask MCP Inspector: "Extract product details from Amazon search results"
Expected Result: undefined
News Article Analysis
undefined
Ask MCP Inspector: "Get headlines, summaries, and publish dates from news site"
Expected Result: undefined
Social Media Insights
undefined
Ask MCP Inspector: "Extract post engagement from social media feeds"
Expected Result: undefined
Testing Your Setup
- Launch MCP Inspector
- Verify AgentQL is available in the tools list
- Test basic AgentQL functionality
Troubleshooting
Common Issues
Connection Failed
Symptoms: Inspector UI shows "Disconnected"
Cause: Server process exited or failed to start.
Solution:
- Check the terminal where you ran
npx ...for error output from your server. - Ensure your server prints JSON-RPC messages to
stdout.
Tools Not Showing
Symptoms: Tool list is empty
Cause: Server did not send tools/list response or capabilities negotiation failed.
Solution:
- Check the "Console" or "Logs" tab in the Inspector to see the raw communication.
- Verify your server code correctly implements the
ListToolsRequesthandler.
AgentQL not appearing in MCP Inspector
Symptoms: Server not listed, Tools not available
Cause: Configuration or installation issue
Solution:
- Verify configuration syntax
- Check AgentQL installation
- Restart MCP Inspector
- Check logs for error messages
Next Steps
Now that AgentQL is integrated with MCP Inspector:
- Explore all AgentQL capabilities through MCP Inspector
- Check out other MCP servers that work with MCP Inspector
- Join the MCP community for tips and support
- Consider contributing to AgentQL development
Need Help?
- Search for AgentQL documentation
- Check the MCP Inspector MCP guide
- Join the MCP community discussions