Retrieve logs from the Mezmo observability platform.
A Model Context Protocol (MCP) server for retrieving logs from Mezmo. Works out-of-the-box with automatic 4-hour time windows - just add your API key and run!
Get your Mezmo Service API key from the Mezmo dashboard.
# Clone the repository
git clone https://github.com/riefer02/mezmo-logs-mcp
cd mezmo-mcp
# Create .env file with your API key
echo "MEZMO_API_KEY=your_service_key_here" > .env
# Build and run
docker-compose up -d
For Cursor (add to .cursor/mcp.json
):
{
"mcpServers": {
"mezmo": {
"url": "http://localhost:18080/mcp",
"transport": "streamable-http",
"description": "Mezmo log retrieval"
}
}
}
For Claude Desktop (add to MCP settings):
{
"mcpServers": {
"mezmo": {
"command": "docker",
"args": ["exec", "mezmo-mcp-server", "python", "server.py"]
}
}
}
Restart your MCP client and you'll have access to the get_logs
tool!
The get_logs
tool automatically retrieves logs from the last 4 hours when no time range is specified - perfect for debugging.
Simple usage:
{
"count": 50
}
With filters:
{
"count": 100,
"apps": "web-app,api-service",
"levels": "ERROR,WARNING",
"query": "database connection"
}
Custom time range:
{
"count": 100,
"from_ts": "1640995200",
"to_ts": "1640998800"
}
docker-compose up -d # Start the server
docker-compose down # Stop the server
docker-compose logs -f # View logs
Container won't start?
.env
file has MEZMO_API_KEY=your_actual_key
docker-compose logs
Can't connect from MCP client?
docker-compose ps
That's it! The server runs on port 18080 and automatically handles time windows, retries, and error handling.
Interact with Stripe API
Interact with Webflow APIs to list and edit your site and CMS data.
Search and run capsules, execute pipelines, and manage data assets on the Code Ocean platform.
APISIX Model Context Protocol (MCP) server is used to bridge large language models (LLMs) with the APISIX Admin API, supporting querying and managing all resources in Apache APISIX.
Backs up Cloudflare projects to a specified GitHub repository.
An MCP server for accessing YouTube Analytics data, powered by the CData JDBC Driver.
A server for interacting with the OpenAI API. Requires an API key.
MCP server acting as an interface to the Google Ads, enabling programmatic access to Google Ads data and management features.
Implements CISA Binding Operational Directive 25-01 security controls for Microsoft 365 and Azure AD/Entra ID.
A template for deploying a remote, authentication-free MCP server on Cloudflare Workers.