MCP Integration

AI-powered
observability setup

Connect Loggy to your AI coding assistant via MCP. Create heartbeats, manage status pages, and configure monitoring—all without leaving your editor.

AI Assistant
You
Create a heartbeat for my backup job that runs every 6 hours
Assistant

I'll create that heartbeat for you.

✓ Created heartbeat "backup-job"
✓ Interval: 6 hours
✓ Grace period: 30 minutes

Ping URL: https://loggy.dev/api/heartbeats/ping/backup-job

How It Works

Three simple steps to connect your AI assistant to Loggy

1

Create an API Token

Go to Settings → API Tokens and create a token with the permissions you need.

2

Configure MCP

Add the Loggy MCP server to your AI assistant's configuration with your token.

3

Start Automating

Ask your AI assistant to create heartbeats, status pages, and more.

Quick Setup

Add this to your MCP configuration

mcp.json
{
  "mcpServers": {
    "loggy": {
      "command": "npx",
      "args": ["@loggydev/mcp-server"],
      "env": {
        "LOGGY_API_TOKEN": "lgky_your_token_here"
      }
    }
  }
}

What You Can Do

Your AI assistant becomes a full DevOps partner

Heartbeats

Create and manage heartbeat monitors for cron jobs and scheduled tasks.

Status Pages

Create public status pages and update them during incidents.

Uptime Monitors

Set up URL monitoring for your endpoints and APIs.

Feature Flags

Create and toggle feature flags, manage rollouts.

Example Prompts

Try these with your AI assistant

"Create a heartbeat called 'daily-backup' that expects a ping every 24 hours with a 1-hour grace period"

"Set up an uptime monitor for api.myapp.com/health that checks every 5 minutes"

"Create a feature flag called 'new-dashboard' and enable it for 25% of users"

"Add the production API monitor to our public status page"

"Show me the last 10 error logs from the payment-service project"

Ready to automate your observability?

API tokens and MCP integration are available on the Team plan.