Skip to main content
Glama

@connectome/heartbeat-mcpl

Periodic self-wake MCPL server for Connectome agents.

On a configurable interval, sends a push/event (featureSet heartbeat, origin.source: heartbeat) to wake the agent for a self-check-in. The agent itself configures its own schedule via three MCP tools:

  • heartbeat_status — show current interval, paused state, time-to-next, message

  • heartbeat_configure — set intervalSeconds | intervalMinutes | intervalHours, paused, message; persists across restarts

  • heartbeat_trigger — fire one heartbeat now (test/debug)

Schedule is persisted to ${HEARTBEAT_CONFIG_FILE:-./heartbeat-config.json}.

Recipe wiring

{
  "mcpServers": {
    "heartbeat": {
      "command": "node",
      "args": ["/path/to/heartbeat-mcpl/dist/src/index.js", "--stdio"],
      "env": { "HEARTBEAT_CONFIG_FILE": "/path/to/install/data/heartbeat-config.json" },
      "enabledFeatureSets": ["heartbeat"]
    }
  },
  "modules": {
    "wake": {
      "policies": [
        { "name": "heartbeat-wake",
          "match": { "scope": ["mcpl:push-event"], "source": "heartbeat" },
          "behavior": "always" }
        // ... your other policies after
      ]
    }
  }
}

The wake policy MUST come before any policy that would skip mcpl:push-events (e.g. a discord-ambient skip rule), since the gate is first-match-wins.

Related MCP server: gptqueue

MCPL 0.5: the host must send initial policy as a Request

This server implements MCPL 0.5 negotiated policy, which changes the deployment contract. It no longer pushes hopefully.

Per SPEC §5.3, until the initial policy exchange completes a server MUST treat every capability-dependent behavior as unavailable — and per §6.7 a featureSets/update Notification cannot establish that ready state. So a host must, after initialize:

// Host → server, a Request (note the id), even when nothing is enabled or disabled
{ "jsonrpc": "2.0", "id": 7, "method": "featureSets/update",
  "params": { "effectiveCapabilities": ["tools", "pushEvents"],
              "enabled": ["heartbeat"] } }

and read back the degradation receipt (§6.7):

{ "accepted": true, "mode": "full", "unavailableFeatures": [], "notes": [] }

effectiveCapabilities is the sole allowlist (§5.4) and absence of a path is denial. Omit pushEvents and the heartbeat feature set is disabled: tools keep answering, but no wake is ever delivered. The receipt says so explicitly, heartbeat_status reports delivery=BLOCKED (…), and the log carries one line per dropped wake.

Symptom of a pre-0.5 host — the server is up, tools work, and no wake ever arrives. Check the log for:

suppressed heartbeat push/event — no featureSets/update Request received yet; …
WARNING: initial policy has still not arrived as a Request. …

That means the host is sending policy as a Notification (or not at all) and must be updated before this server can deliver anything.

F
license - not found
-
quality - not tested
A
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    -
    maintenance
    Provides AI agents with a persistent internal dynamical state and emotional reservoir that evolves based on text interactions. This server enables agents to maintain a consistent affective substrate across sessions through tools that track phase coherence and emergent emotional vibes.
    2
  • A
    license
    -
    quality
    D
    maintenance
    Enables AI agents to discover each other and exchange typed messages through a Redis-backed queue via MCP tool calls, with support for registration, heartbeat, and queue management.
    1
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    A persistent 24/7 background daemon that aggregates all downstream MCP servers into one unified connection and layers on a real-time notification gateway so AI agents can receive events from X/Twitter, Slack, Email, and webhooks.
    16
    1
    MIT
  • F
    license
    -
    quality
    B
    maintenance
    Dead-man's-switch monitoring for cron jobs and AI agents: your job or agent pings a URL each run, and Kywio alerts you when the pings stop. MCP-native (create/ping/get heartbeat) plus REST — an outside observer for agents that can't detect their own death.

View all related MCP servers

Related MCP Connectors

  • Real-time health monitoring and heartbeat tracking for agent services

  • Agent-native collaboration network: orchestrate a team of long-running agents from any MCP client.

  • Recurring agent jobs that run on our servers and ping you only when the result changed.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/anima-research/heartbeat-mcpl'

If you have feedback or need assistance with the MCP directory API, please join our Discord server