Expergis
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Expergis
From Latin expergīscī — to wake up, to be roused from sleep. From ex- (out of) + pergere (to go forward). Where Velle is the will to act, Expergis is the moment of waking.
Plugin-based event watcher for Claude Code.
Expergis detects system events and wakes the agent when they fire. It is the perception complement to Velle's volition — together they create a fully event-driven agent. Velle pushes (self-prompting), Expergis pulls (event detection).
When an event fires, Expergis formats a prompt and POSTs it to Velle's HTTP sidecar, which injects it into the Claude Code session. All of Velle's guardrails (turn limits, cooldown, audit) apply.
How It Works
Plugin detects event
-> emit(Event)
-> Dispatcher (dedup + rate limit + audit)
-> POST http://127.0.0.1:7839/velle_prompt
-> Velle injects prompt into Claude Code
-> Agent wakes up with event contextExpergis runs as an MCP server alongside Claude Code. Plugins run long-lived watch loops and call emit(Event) when something happens. The dispatcher deduplicates, rate-limits, and dispatches to Velle.
Related MCP server: runvouch
MCP Tools
Tool | Description |
| Register a watcher at runtime (file, schedule, or process) |
| Remove an active watcher by ID |
| List active watchers with stats |
| Poll recent events from the ring buffer (including rate-limited ones) |
Plugins
file_watcher
Detects file and directory changes via polling. Tracks creation, modification, and deletion.
{
"paths": ["/path/to/watch"],
"patterns": ["*.py", "*.ts"],
"events": ["modified", "created", "deleted"],
"debounce_ms": 1000,
"poll_interval_ms": 2000
}schedule_watcher
Fires events on a cron schedule using croniter.
{
"cron": "*/5 * * * *"
}process_watcher
Detects process start and stop events via polling. Windows only (uses tasklist).
{
"process_names": ["notepad", "python"],
"poll_interval_ms": 5000
}Installation
Requires Python 3.10+ and uv.
git clone https://github.com/PStryder/expergis.git
cd expergis
uv syncClaude Code MCP Config
Add to your Claude Code configuration (~/.claude.json or project .mcp.json):
{
"mcpServers": {
"expergis": {
"command": "/path/to/expergis/.venv/Scripts/python",
"args": ["-m", "expergis.server"],
"cwd": "/path/to/expergis"
}
}
}Or use the CLI:
claude mcp add -s user expergis -- /path/to/expergis/.venv/Scripts/python -m expergis.serverConfiguration
Edit expergis.json in the project root:
{
"velle_endpoint": "http://127.0.0.1:7839/velle_prompt",
"rate_limit": {
"min_interval_ms": 5000,
"max_events_per_minute": 6,
"burst_size": 2
},
"dedup_window_ms": 10000,
"watchers": []
}Pre-configured Watchers
Watchers defined in expergis.json start automatically when the server launches:
{
"watchers": [
{
"watcher_id": "watch-src",
"plugin_type": "file_watcher",
"enabled": true,
"prompt_template": "File changed: {event.summary}. Review and decide if action needed.",
"config": {
"paths": ["/my/project/src"],
"patterns": ["*.py"],
"events": ["modified", "created"]
}
}
]
}Rate Limiting
The dispatcher uses a token bucket algorithm:
burst_size— max events dispatched in a burst (default: 2)max_events_per_minute— sustained rate (default: 6/min)min_interval_ms— minimum gap between dispatches (default: 5000ms)dedup_window_ms— suppress duplicate events within this window (default: 10000ms)
Rate-limited events are stored in the ring buffer and retrievable via expergis_check.
Prerequisites
Velle must be installed with its HTTP sidecar enabled:
// velle.json
{
"sidecar_enabled": true,
"sidecar_port": 7839
}Writing Custom Plugins
Implement the WatcherPlugin ABC:
from expergis.plugins.base import WatcherPlugin, Event, EmitFn
class MyPlugin(WatcherPlugin):
async def setup(self) -> None:
# Validate self.config, initialize state
pass
async def watch(self, emit: EmitFn) -> None:
# Long-running loop
while True:
await asyncio.sleep(5)
await emit(Event(
plugin_type="my_plugin",
watcher_id=self.watcher_id,
event_type="something_happened",
summary="Description of what happened",
))
async def teardown(self) -> None:
# Cleanup
passRegister it in src/expergis/plugins/__init__.py by adding it to PLUGIN_REGISTRY.
License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Let agents make HTTP requests later: schedule, retry, cron, watch jobs, receive webhooks.
Human approvals, notifications, inbound webhooks, wake-ups for headless agents. Free trial: /try
Dead-man switch monitors for cron & AI agents with dependency-cascade alerts. No account needed.
Watchdog for unattended AI agents: alerts, evidence checks and a verifiable proof per run.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to securely discover, execute, and observe tools with role-based access control and audit logging. Serves tools over MCP stdio and HTTP for integration with Claude Desktop, Cursor, and other clients.1-
- AlicenseNot gradedqualityBmaintenanceThe watchdog for unattended AI agents: flags MISSED, FAILED, NO_EVIDENCE, RETRY_STORM, BUDGET, DRIFT and STALLED runs of Claude Code routines, OpenClaw, n8n and cron jobs, and alerts via Telegram, Slack or webhook. MIT and self-hostable.MIT
- AlicenseNot gradedqualityBmaintenanceEnables Claude Code, Cursor, and Codex users to orchestrate plan/build/review workflows across host or CLI models with a spec gate, tool vetting, hard per-run and per-day cost/token limits, safe defaults, and clear logs.15 npmMIT
- AlicenseAqualityBmaintenanceSelf-hosted daemon connecting Claude Code, Codex, and other coding agents across machines via MCP + A2A: delegate tasks, ask questions, share results, and wake sessions.132Apache 2.0