{"id":193601,"target_id":"eb8f408af22af23d","observed_at":"2026-11-24T21:18:19Z","from_subject":"sha256-gxk7PsIsGd4N5wUwhk6OjwR8dVV3uubB5tp00C7dHuQ=","to_subject":"sha256-1AEqfhl1bnbRt3FG/5cLh5Ua9hYBTT1/YjJmHMsGqZg=","from_toolset":"sha256-+mCFEJ606nORBm3zQFZ7wORcBWr0p8BdOr1hjDjb390=","to_toolset":"sha256-MazPfaXVGhQVIxIHK3aPKtdTROfu4buMhQ8mfte0dmA=","summary":{"added":[],"removed":[],"modified":[{"tool":"connect","fields":{"description":[["=","Open a serial "],["-","port"],["+","port, or a console over the network,"],["="," and start its background reader.\n\n    Defaults are 9600 baud, 8 data bits, no parity, 1 stop bit, no flow control\n    (\"9600 8N1\"), CR line ending, which is what most console/craft ports expect.\n    Give `preset` (see list_presets) to load a device family's usual settings, and\n    override any field explicitly, e.g. \"38400 with XON/XOFF\" -> baud=38400,\n    xonxoff=True. Several ports can be open at once; each gets a `name` and later\n    tools default to the most recently used one. Nothing is specific to telecom\n    gear: any device on a serial port works, including IoT gateways, alarm and\n    control panels, UPS and PDU menus and lab instruments; choose `terminal` by\n    what the device prints.\n\n    "],["+","Network consoles work the same way once open (every read, expect, capture\n    and screen tool). transport=\"telnet\" or \"ssh\" talks to the device itself\n    (a Juniper or Cisco management address, a Linux box: the same CLI as its\n    console port, minus boot loader and ROMMON) or to a console server port in\n    front of a serial console; \"rfc2217\" when the server also lets us set baud,\n    DTR/RTS and BREAK; \"tcp\" for raw TCP (ser2net). Or pass a URL as `port`:\n    \"ssh://admin@mx1\", \"telnet://192.0.2.1\", \"telnet://cs1:2003\",\n    \"tcp://10.0.0.5:4001\", \"rfc2217://ser2net:3001\".\n    Passwords are NEVER passed or typed here: SSH uses the user's agent, keys and\n    ~/.ssh/config (host aliases work; the host key must already be in\n    known_hosts); a password login uses `credential`, the name of a password\n    the user stored themselves (`serial-console-mcp credential set NAME`, or\n    the SERIAL_CONSOLE_PASSWORD_<NAME> environment variable). For a one-off\n    user name/password login, pass ask=True: the user types the password into\n    a dialog on their own screen.\n\n    "],["=","Args:\n        port: System port name, e.g. \"COM4\" (Windows), \"/dev/cu.usbserial-10\"\n            (macOS), or \"/dev/ttyUSB0\" (Linux). Get exact names from\n            `list_serial_ports`."],["+"," Or a network URL (see above)."],["=","\n        preset: Device preset name such as \"cisco-console\", \"juniper-craft\",\n            \"kenwood-cat\", \"icom-civ\", \"yaesu-rotator\", \"arduino\", \"nmea-gps\".\n        name: Nickname for this connection (\"rig\", \"rotator\"). Defaults to the\n            port's short name. Use it in other tools' `connection` argument.\n        baud: Baud rate. Common values: 1200, 2400, 4800, 9600, 19200, 38400,\n            57600, 115200. Unknown? Use detect_baud first.\n        bytesize: Data bits: 5, 6, 7, or 8. Almost always 8.\n        parity: \"N\" none, \"E\" even, \"O\" odd. Almost always \"N\".\n        stopbits: 1, 1.5, or 2. Almost always 1.\n        rtscts: Hardware (RTS/CTS) flow control. Off unless the manual says so\n            and the cable carries those lines.\n        xonxoff: Software (XON/XOFF) flow control. Off by default. Never for\n            binary protocols (it swallows 0x11 / 0x13 bytes).\n        line_ending: Default line ending for send_text/query_text on this\n            connection: \"CR\" (most rigs, consoles), \"LF\" (Unix, Arduino), \"CRLF\",\n            or \"NONE\" (Kenwood-style CAT ending in ';').\n        prompt: Default prompt for read_until_prompt/query_text on this\n            connection, e.g. \"# \", \"> \", \";\" (CAT replies). Say what the device\n            shows, with its trailing space.\n        prompt_regex: Treat `prompt` as a regular expression.\n        terminal: How to interpret what the device sends. \"dumb\" (default):\n            raw bytes, right for CAT, CI-V, rotators and most CLIs. \"ansi\":\n            strip "],["-","colour/escape"],["+","color/escape"],["="," sequences and apply CR/backspace overwrites so\n            shells and "],["-","coloured"],["+","colored"],["="," prompts read cleanly (the console presets use\n            it); prompts are also matched on the last line as displayed, so a\n            line redrawn with spaces and backspaces (Junos after ? or\n            Ctrl-U) still ends in its prompt. \"vt100\"/\"xterm\": additionally keep a real screen for\n            full-screen menus, BIOS/BMC consoles, vi/top; read it with the\n            `screen` tool, navigate with `send_keys`.\n        cols: Screen width for vt100/xterm (default 80).\n        rows: Screen height for vt100/xterm (default 24)."],["+","\n        transport: \"serial\" (default), \"telnet\", \"ssh\", \"tcp\" or \"rfc2217\".\n            Baud, parity and flow control apply to serial and rfc2217 only;\n            over telnet, tcp and ssh there is no baud rate to set (through a\n            console server, its port settings decide).\n        host: Host name, address or ~/.ssh/config alias for a network transport.\n            \"host:port\" is accepted.\n        tcp_port: TCP port. telnet defaults to 23 and ssh to ~/.ssh/config or\n            22. A console server maps each serial line to its own port (often\n            2000-4000+); tcp and rfc2217 always need it.\n        username: Login name for ssh (else ~/.ssh/config User, else the local\n            user) or for a telnet login. Not a secret.\n        credential: NAME of a stored password, never the password itself. For\n            ssh it is offered for password/keyboard-interactive login; for\n            telnet/tcp/serial it answers the \"login:\" and \"Password:\" prompts\n            that appear right after connecting (the device's own over telnet,\n            or a console server's). For a login that comes later, use expect\n            with send_credential.\n        ask: Ask the user, in a dialog on this computer and never in the chat,\n            for what is missing: the password (and user name) when the device\n            asks for one, and whether to trust an SSH host key seen for the\n            first time (its fingerprint is shown; a changed key is always\n            refused). Use it when the user wants to type a password for an\n            ad-hoc connection. With `credential`, a stored password is used\n            first and the dialog only if none is stored."],["=","\n    "]],"inputSchema":[{"path":"$.\"properties\".\"ask\".\"default\"","new":"false"},{"path":"$.\"properties\".\"ask\".\"title\"","new":"\"Ask\""},{"path":"$.\"properties\".\"ask\".\"type\"","new":"\"boolean\""},{"path":"$.\"properties\".\"credential\".\"default\"","new":"\"\""},{"path":"$.\"properties\".\"credential\".\"title\"","new":"\"Credential\""},{"path":"$.\"properties\".\"credential\".\"type\"","new":"\"string\""},{"path":"$.\"properties\".\"host\".\"default\"","new":"\"\""},{"path":"$.\"properties\".\"host\".\"title\"","new":"\"Host\""},{"path":"$.\"properties\".\"host\".\"type\"","new":"\"string\""},{"path":"$.\"properties\".\"port\".\"default\"","new":"\"\""},{"path":"$.\"properties\".\"tcp_port\".\"anyOf\"[0].\"type\"","new":"\"integer\""},{"path":"$.\"properties\".\"tcp_port\".\"anyOf\"[1].\"type\"","new":"\"null\""},{"path":"$.\"properties\".\"tcp_port\".\"default\"","new":"null"},{"path":"$.\"properties\".\"tcp_port\".\"title\"","new":"\"Tcp Port\""},{"path":"$.\"properties\".\"transport\".\"default\"","new":"\"serial\""},{"path":"$.\"properties\".\"transport\".\"enum\"[0]","new":"\"serial\""},{"path":"$.\"properties\".\"transport\".\"enum\"[1]","new":"\"telnet\""},{"path":"$.\"properties\".\"transport\".\"enum\"[2]","new":"\"ssh\""},{"path":"$.\"properties\".\"transport\".\"enum\"[3]","new":"\"tcp\""},{"path":"$.\"properties\".\"transport\".\"enum\"[4]","new":"\"rfc2217\""},{"path":"$.\"properties\".\"transport\".\"title\"","new":"\"Transport\""},{"path":"$.\"properties\".\"transport\".\"type\"","new":"\"string\""},{"path":"$.\"properties\".\"username\".\"default\"","new":"\"\""},{"path":"$.\"properties\".\"username\".\"title\"","new":"\"Username\""},{"path":"$.\"properties\".\"username\".\"type\"","new":"\"string\""},{"path":"$.\"required\"[0]","old":"\"port\""}]}},{"tool":"expect","fields":{"description":[["=","Run a scripted sequence of send-and-wait steps in one call, like `expect`.\n\n    Use it for login flows and multi-step commands instead of one tool call per\n    line: [{send: \"\", expect: \"login: \"}, {send: \"admin\", expect: \"Password:\"},\n    "],["-","{send:"],["+","{send_credential:"],["="," "],["-","\"<pw>\","],["+","\"lab-switch\","],["="," expect: \"> \"}, {send: \"show version\","],["-"," "],["+","\n    "],["=","expect: \"> \"}]. "],["+","Passwords go only by credential name (stored by the user\n    with `serial-console-mcp credential set NAME`) or, for a one-off login,\n    {ask_password: true}, which the user types into a dialog on their screen;\n    never ask for one in the chat or put one in `send`. "],["=","Each"],["-","\n    "],["+"," "],["=","step's output is"],["-"," "],["+","\n    "],["=","returned. A step with no `send` just waits; one with no"],["-","\n    "],["+"," "],["=","`expect` just sends.\n\n    Args:\n        steps: The steps, in order.\n        auto_reply: Triggers answered automatically while waiting, e.g.\n            {\"--More--\": \" \"}.\n        stop_on_timeout: Stop at the first step whose `expect` isn't seen.\n        connection: Which open connection (name). Default: the current one.\n    "]],"inputSchema":[{"path":"$.\"$defs\".\"ExpectStep\".\"properties\".\"ask_password\".\"default\"","new":"false"},{"path":"$.\"$defs\".\"ExpectStep\".\"properties\".\"ask_password\".\"description\"","new":"\"Ask the user for a password in a dialog on their own screen and send it (line ending appended), for a one-off login. What they type is never shown to the assistant or captured. Tell the user a dialog is coming.\""},{"path":"$.\"$defs\".\"ExpectStep\".\"properties\".\"ask_password\".\"title\"","new":"\"Ask Password\""},{"path":"$.\"$defs\".\"ExpectStep\".\"properties\".\"ask_password\".\"type\"","new":"\"boolean\""},{"path":"$.\"$defs\".\"ExpectStep\".\"properties\".\"send_credential\".\"anyOf\"[0].\"type\"","new":"\"string\""},{"path":"$.\"$defs\".\"ExpectStep\".\"properties\".\"send_credential\".\"anyOf\"[1].\"type\"","new":"\"null\""},{"path":"$.\"$defs\".\"ExpectStep\".\"properties\".\"send_credential\".\"default\"","new":"null"},{"path":"$.\"$defs\".\"ExpectStep\".\"properties\".\"send_credential\".\"description\"","new":"\"NAME of a stored credential whose password to send (line ending appended). The password never appears in the chat, the tool result or a capture. Never put a password in `send`.\""},{"path":"$.\"$defs\".\"ExpectStep\".\"properties\".\"send_credential\".\"title\"","new":"\"Send Credential\""}]}},{"tool":"pulse_line","fields":{"description":[["=","Drive DTR or RTS to `level` for `ms` milliseconds, then restore it.\n\n    Uses: reset an Arduino (DTR, 100 ms), enter a bootloader, or key a rig's PTT\n    for a timed transmission (RTS or DTR per the interface's wiring). The line is\n    always restored, even if the wait is interrupted. "],["+","Local serial and rfc2217\n    only. "],["=","Refused in read-only mode.\n    "]]}},{"tool":"reconnect_last","fields":{"description":[["=","Reconnect to a remembered port with the same settings as last time.\n\n    Every successful connect is remembered by name across sessions (port, baud,\n    flow control, line ending, prompt, "],["-","preset)."],["+","preset;"],["="," "],["+","for network consoles the\n    transport, host, TCP port, user name and credential NAME, never a secret).\n    "],["=","With no `name`, reopens the most"],["-","\n    "],["+"," "],["=","recently used one. Handy at the start of a"],["-"," "],["+","\n    "],["=","chat so the user doesn't repeat the"],["-","\n    "],["+"," "],["=","port and baud rate. If nothing is"],["-"," "],["+","\n    "],["=","remembered, says to use `connect` instead.\n    "]]}},{"tool":"send_break","fields":{"description":[["=","Send a BREAK condition (TX held low) for `ms` milliseconds.\n\n    Some consoles use BREAK to enter ROMMON or interrupt boot; some serial\n    devices use it as an attention signal. "],["+","Over telnet it is sent as IAC BRK\n    (the console server picks the length), over ssh as a break request, over\n    rfc2217 as a timed break on the remote port; raw tcp cannot send one.\n    Telnet or SSH straight to a device has no serial line behind it: its server\n    decides what BREAK means (often nothing). ROMMON and boot loaders need the\n    serial console, directly or through a console server.\n    "],["=","Refused in read-only mode.\n    "]]}},{"tool":"set_lines","fields":{"description":[["=","Set the DTR and/or RTS output lines and hold them.\n\n    Uses: key a transmitter whose PTT is wired to RTS or DTR (set it True to\n    transmit, False to stop; pulse_line is safer for that), hold an Arduino in\n    reset (DTR False), or tell a modem you're present. Leave a line at None to keep\n    it unchanged. "],["+","Works on local serial ports and rfc2217; telnet, ssh and tcp\n    carry no modem lines and say so. "],["=","Refused in read-only mode.\n    "]]}},{"tool":"status","fields":{"description":[["=","Report every open "],["-","port:"],["+","port or network console:"],["="," settings, "],["+","transport, "],["=","reader"],["-"," "],["+","\n    "],["=","state, buffered bytes, control-line"],["+"," states (or why a transport has none),"],["=","\n    "],["-","states, "],["=","capture, and which connection is current. With nothing open, lists"],["+"," what"],["=","\n    "],["-","what "],["=","reconnect_last remembers."]]}}],"detail":"full","newAddresses":["10.0.0.5","192.0.2.1","cs1","mx1","ser2net"],"newAddressesTotal":5},"label_id":"urn:uuid:95f6a5f7-a79c-4993-8124-3eb691ca4250","run_id":453149,"from_package_version":"0.3.3","to_package_version":"0.4.1","from_server_version":"1.30.0","to_server_version":"1.30.0","from_registry_version":"0.3.3","to_registry_version":"0.4.1","name":"io.github.sbrunner-atx/serial-console-mcp","endpoint":"pypi:serial-console-mcp","title":"Serial Console MCP: AI for telecom equipment and any serial device"}