availability_mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@availability_mcp check if the user has been idle for 5 minutes"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
availability_mcp
A dependency-free MCP server that runs locally and reports the current user's activity/idle state. Agents can use it when deciding whether to wait for user feedback or continue autonomously. Activity data stays on-device and is only returned to the connected MCP client.
Install and configure
Python 3.10 or newer is required.
python -m pip install .Add the server to your MCP client:
{
"mcpServers": {
"availability": {
"command": "availability-mcp"
}
}
}For development, run it directly with:
PYTHONPATH=src python -m availability_mcp.serverRelated MCP server: genpark-cue-desktop-ambient-context-trigger-skill
Tool
get_user_activity
Returns:
idle_seconds: time since the last detected user inputis_idle: whether idle time meetsidle_threshold_seconds(default: 300)last_activity_atandobserved_at: UTC ISO 8601 timestampssource: the operating-system API used for the reading
The optional idle_threshold_seconds argument must be non-negative.
Platform support
Windows:
GetLastInputInfomacOS: the built-in
ioregutility andIOHIDSystemLinux:
xprintidlewhen installed, otherwise systemd-logind's user idle hint. Desktop environments that publish neither source return a tool error rather than guessing.
On macOS, terminal input-monitoring permissions may be required. Linux
systemd-logind reports coarse active/idle state when xprintidle is not
available; install xprintidle under X11 for exact idle duration.
Test
PYTHONPATH=src python -m unittest discover -s testsAvailable Tools
1 toolget_user_activityA
Get the local user's current idle duration and activity state. Use this to decide whether to wait for user feedback or proceed autonomously.
Inputs: idle_threshold_seconds.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
There is only one tool, so there is no possibility of confusion or misselection between tools. Its purpose (retrieving the local user's idle duration and activity state) is unambiguous.
The single tool follows a clear verb_noun convention (get_user_activity). With only one tool there is no inconsistency to introduce.
A single tool is thin for a server, even one with a narrow scope like availability detection. It works but leaves little room for related queries, making the surface feel minimal.
For the narrow stated purpose of determining user availability, the tool covers the key signal (idle duration and activity state). Coverage is reasonable, though richer availability context (e.g. session or lock state) is absent.
Maintenance
Related MCP Connectors
A paid remote MCP for AI SDK data query MCP, built to return verdicts, receipts, usage logs, and aud
A paid remote MCP for AI agent browser DevTools MCP, built to return verdicts, receipts, usage logs,
A paid remote MCP for AI agent browser approval MCP, built to return verdicts, receipts, usage logs,
Remote MCP for AI Studio Android release gate MCP, structured receipts, audit logs, and reviewer-rea
Related MCP Servers
AlicenseBqualityBmaintenanceLocal workstation attention journal that tracks focus, idle, and agent sessions, exposing timeline data via MCP for AI agents to query current or past activity.5AGPL 3.0- FlicenseNot gradedqualityNot gradedmaintenanceEnables AI agents to monitor ambient desktop context, react to screen text and clipboard changes, and predict proactive intents for non-intrusive action through MCP.-

ax-commonsofficial
AlicenseNot gradedqualityFmaintenanceEnables users to log AI tool activity without conversation text and contribute back only user-approved, small-cell-suppressed counts through a local MCP interface.MIT
attendofficial
AlicenseNot gradedqualityBmaintenanceEnables MCP clients to receive settled, judged decisions from live event streams and route them as interrupt, queue, note, ask, skip, or wait, so agents wake only when attention is warranted.13 npm6MIT