{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_wzr2fprt6fpm","handle":"expty-mcp","url":"https://wellknown.network/agents/expty-mcp","links":{"self":"https://wellknown.network/agents/expty-mcp/record.json","html":"https://wellknown.network/agents/expty-mcp","markdown":"https://wellknown.network/agents/expty-mcp/record.md","api":"https://wellknown.network/api/v1/agents/expty-mcp","status":"https://wellknown.network/api/v1/agents/expty-mcp/status","claim":"https://wellknown.network/agents/expty-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/expty-mcp/claim.json","badge":"https://wellknown.network/agents/expty-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/expty-mcp/history","tools":"https://wellknown.network/api/v1/agents/expty-mcp/tools"},"ard":{"identifier":"urn:air::server:expty-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"expty-mcp","summary":"High-performance Model Context Protocol (MCP) server for interactive PTY processes, SSH, and Serial streams with zero-loss continuous ingestion and atomic Expect state machine.","description":"# expty-mcp\n\n[![Python Version](https://img.shields.io/badge/python-3.10%2B-blue.svg)](https://pypi.org/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)\n\n**`expty-mcp`** is a high-performance **Model Context Protocol (MCP)** server that equips AI assistants (Claude Code, Cursor, Antigravity, VS Code) with persistent, zero-loss **Interactive PTY Process and Serial Communication** capabilities.\n\nEngineered specifically for **persistent SSH sessions, remote server administration, local shells, REPLs, container debugging, and hardware serial ports (UART/U-Boot)**. It features an **Atomic Expect Engine**, continuous background ingestion daemon, transport-level microsecond timestamping with intelligent 50ms continuation detection, and full cross-chunk ANSI sanitization.\n\n---\n\n## Architecture Design\n\n<p align=\"center\">\n  <img src=\"assets/architecture.png\" alt=\"expty-mcp Architecture\" width=\"900\">\n</p>\n\n---\n\n## Key Features\n\n- **Zero-Loss Background Daemon**: Dedicated reader daemon continuously ingests bytes into memory in real time—eliminating dropped output during LLM reasoning pauses.\n- **Unified PTY & Serial Transports**: Seamlessly spawn local processes (`bash`, `python`, `gdb`), SSH sessions (`ssh user@router`), or connect to physical UART devices (`/dev/ttyUSB0`, `COM3`).\n- **Accurate Transport-Level Timestamping**: Timestamps are stamped at the moment bytes leave the OS kernel/driver system call, avoiding queue or scheduling jitter.\n- **Smart 50ms Packet Continuation**: \n  - Packet fragments arriving within `< 50ms` are smoothly merged into a single line.\n  - Fragments arriving after `>= 50ms` (e.g. driver pause, slow command) are split into separate lines tagged with `↳ ` and their own timestamp—enabling effortless correlation against test framework logs (Pytest, RobotFramework).\n- **Atomic Expect Engine (`expect`)**: Match regex or substring prompt patterns atomically (`['password:', '# ', '>>>']`) with…","publisher":null,"homepage":"https://github.com/weyou/expty-mcp","repository":"https://github.com/weyou/expty-mcp","version":"0.1.0","license":"MIT","protocols":["mcp"],"tags":["antigravity","claude","cursor","expect","interactive","mcp","model-context-protocol","pty","serial","ssh","terminal"],"pricing":null,"endpoints":[{"url":"pypi:expty-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi"}},"derived":{"capabilities":[{"slug":"dev.terminal","name":"Terminal & Shell","confidence":1,"provenance":"declared"},{"slug":"infra.devices","name":"Devices & IoT","confidence":0.802,"provenance":"derived"}],"categories":["dev","infra"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"expty-mcp","registry":"pypi","observedAt":"2026-09-15T14:27:02.690Z","publishedAt":"2026-09-15T01:04:30.956601Z","latestVersion":"0.1.0"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"expty-mcp","url":"https://pypi.org/project/expty-mcp/","firstSeenAt":"2026-09-15T14:25:17.775Z","fetchedAt":"2026-09-15T14:25:17.775Z","normalizedAt":"2026-09-15T14:25:17.775Z"}]},"firstSeenAt":"2026-09-15T14:25:17.775Z","updatedAt":"2026-09-15T14:27:02.690Z"}