We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mister-weeden/wordpress-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
test.shβ’848 B
#!/bin/bash
echo "π§ͺ Testing WordPress MCP Server Connectivity"
echo "==========================================="
# Test WordPress API
echo "π Testing WordPress REST API..."
if curl -s http://localhost:8888/wp-json/wp/v2/ | grep -q "namespace"; then
echo "β WordPress REST API is working"
else
echo "β WordPress REST API is not accessible"
exit 1
fi
# Test MCP server connection
echo "π Testing MCP server connection..."
if docker-compose exec -T wordpress-mcp-server wordpress-mcp-server --test-connection 2>/dev/null | grep -q "successful"; then
echo "β MCP server can connect to WordPress"
else
echo "β MCP server cannot connect to WordPress"
echo "Check credentials in .env file"
exit 1
fi
echo ""
echo "β All tests passed!"
echo "π Your WordPress MCP Server is ready for use with Claude!"