Servers Changes Log Check Watch Why How it works GitHub

Serial Console MCP: AI for telecom equipment and any serial device

io.github.sbrunner-atx/serial-console-mcp · pypi:serial-console-mcp

Последнее зафиксированное изменение · 2026-11-24T21:18:19Z

Let AI configure telecom gear over serial, telnet or SSH: Juniper, Cisco, Icom CI-V, CAT, rotators

Первое наблюдение
2026-10-10
Без изменений с
2026-11-24
Последнее наблюдение
2026-12-03
Наблюдения
14
Записанные изменения
1
Инструменты
30

Определения инструментов по последнему наблюдению (30)

  • capture_start — Start writing this connection's traffic to a file until capture_stop. Args: path: File to write. Empty = an auto-named file in the app's captures folder. A bare name goes in that folder; an absolute path is used as is. Existing files are appended to. format: "raw" writes received bytes exactly as they arrive (a terminal log; echo included). …
  • capture_stop — Stop the capture started by capture_start and report the file and size.
  • cat_build — Build a ';'-terminated text CAT command (Kenwood, Elecraft, Yaesu) for query_text or send_text with line_ending="NONE". Common commands: ID (rig id), FA/FB (VFO A/B frequency; empty value = read), MD (mode; read, or set with the family's code), IF (full status), PS (power), TX/RX, AI0 (silence auto-info), SM0 (S-meter), PC (output power). Args: command: Two letters, e …
  • cat_parse — Decode ';'-terminated text CAT replies: rig id to model, FA/FB to MHz, MD to mode name, IF to frequency/mode/VFO/split/TX state, and the ?; E; O; error answers. Pass the text returned by query_text.
  • civ_build — Build an Icom CI-V frame as hex, ready for send_hex. Args: command: Command byte(s) as hex, e.g. "03" read frequency, "04" read mode, "05" set frequency, "06" set mode, "1C 00" PTT, "19 00" read rig address. data: Data bytes as hex. For frequencies use civ_freq: set 14.070 MHz is command "05" with data "00 00 07 14 00" (BCD, low byte first). …
  • civ_freq — Convert between a frequency in MHz and CI-V BCD data bytes. Give `mhz` to get the 5 data bytes for a set-frequency command (05), or `bcd_hex` (5 bytes from a reply) to get the frequency.
  • civ_parse — Decode Icom CI-V frames from hex (as returned by read_available). Splits the bytes into frames, tells our own echoed command apart from the rig's reply, and decodes frequencies (BCD), modes, OK/NG and PTT state.
  • clear_buffer — Discard any buffered received data. Handy right before sending a command so the next read starts clean (drops old echo, prior output, or syslog noise).
  • connect — Open a serial port, or a console over the network, and start its background reader. Defaults are 9600 baud, 8 data bits, no parity, 1 stop bit, no flow control ("9600 8N1"), CR line ending, which is what most console/craft ports expect. Give `preset` (see list_presets) to load a device family's usual settings, and override any field explicitly, e.g. "38400 with XON/XOFF" -> baud=3 …
  • detect_baud — Try common baud rates on a closed port and rank them by how readable the reply is. Use when the user doesn't know the device's rate. Each candidate is opened briefly, `probe` (default: a bare return) is sent, and whatever comes back is scored by its share of printable text. The right rate yields clean text; wrong rates yield garbage or nothing. Note: opening a port resets many …
  • disconnect — Close a serial port and free it for other programs. Args: connection: Which connection to close (name from connect). Default: the current one. all_connections: Close every open port.
  • expect — Run a scripted sequence of send-and-wait steps in one call, like `expect`. Use it for login flows and multi-step commands instead of one tool call per line: [{send: "", expect: "login: "}, {send: "admin", expect: "Password:"}, {send_credential: "lab-switch", expect: "> "}, {send: "show version", expect: "> "}]. Passwords go only by credential name (stored by the user with `ser …
  • get_transcript — Return the tail of everything received on a connection since it was opened. This is a rolling record (last 256 KB) kept regardless of what the read tools consumed, so you can re-read output that an earlier call already returned or that arrived between calls. Also available as the MCP resource serial://transcript/{name}.
  • list_presets — Show the device presets `connect(preset=...)` understands, with their settings. A preset supplies baud, data bits, parity, stop bits, flow control, the line ending the device expects, and the prompt that ends a reply. Anything you pass explicitly to connect overrides the preset. Families: network consoles (Cisco, Juniper, Linux), text CAT radios (Kenwood, Elecraft, Yaesu), Icom CI …
  • list_serial_ports — List every serial port the computer can currently see. Call this FIRST whenever the user wants to connect to a device but hasn't given an exact port name, or when a connection fails. Returns each port's system name (what you pass to `connect`), a human description, and the USB hardware id, so you can guess which one is the user's gear. Ports already open here are marked.
  • port_in_use_by — Report which program currently holds a serial port (macOS/Linux, via lsof). Use when connect says the port is in use, or before asking the user to close something. On Windows the OS doesn't expose this; the usual suspects are a terminal (PuTTY), WSJT-X, a logger, or the Arduino Serial Monitor.
  • pulse_line — Drive DTR or RTS to `level` for `ms` milliseconds, then restore it. Uses: reset an Arduino (DTR, 100 ms), enter a bootloader, or key a rig's PTT for a timed transmission (RTS or DTR per the interface's wiring). The line is always restored, even if the wait is interrupted. Local serial and rfc2217 only. Refused in read-only mode.
  • query_text — Convenience: clear the buffer, send an ASCII command, and read the reply. For the common "ask the device something and read its answer" case. Reads until `prompt` (or the connection's prompt) appears; with no prompt anywhere, or prompt="", reads until the device goes idle for a short beat (best for line-based rigs/CAT that reply with a terminated string and no shell prompt). …
  • read_available — Drain and return whatever the device has sent, without transmitting anything. Use for unsolicited/streaming output (syslog on a console, GPS, a sensor, a rig in auto-info mode), or to grab a binary reply after `send_hex`. Waits up to `read_timeout` for the first bytes, then briefly settles so a full chunk is captured, then returns everything buffered, as text and as hex.
  • read_until_prompt — Read accumulated output until a prompt appears, or until timeout. This is the right tool for interactive CLI sessions (routers, switches, shells). It reads from the background buffer until `prompt` is seen, then returns everything up to and including it, leaving anything after the prompt in the buffer for the next read. Because the reader runs continuously, large multi-page ou …
  • reconnect_last — Reconnect to a remembered port with the same settings as last time. Every successful connect is remembered by name across sessions (port, baud, flow control, line ending, prompt, preset; for network consoles the transport, host, TCP port, user name and credential NAME, never a secret). With no `name`, reopens the most recently used one. Handy at the start of a chat so the user …
  • rotator_build — Build a Yaesu GS-232A/B rotator command for send_text (CR) or query_text. Actions: "azimuth" (C, read), "position" (C2, read az+el), "elevation" (B), "move" (M<az>), "move_azel" (W<az> <el>), "stop"/"stop_azimuth"/ "stop_elevation", "left"/"right"/"up"/"down" (run until stop), "speed" (X1..X4), "help". Reads reply immediately; moves reply nothing, so read the position afterwar …
  • rotator_parse — Decode a GS-232 reply into azimuth/elevation degrees ("+0180", "+0180+0045", "AZ=180 EL=045") or the ?> rejection.
  • screen — Show the current terminal screen of a vt100/xterm connection: what a person at a real terminal would see right now, as rows of text, plus the cursor position. This is how to read full-screen interfaces (BIOS setup, RAID/BMC consoles, menu-driven switches, vi, top): press keys with send_keys, then look at the screen again. Args: reset: Clear the screen model first (afte …
  • send_break — Send a BREAK condition (TX held low) for `ms` milliseconds. Some consoles use BREAK to enter ROMMON or interrupt boot; some serial devices use it as an attention signal. Over telnet it is sent as IAC BRK (the console server picks the length), over ssh as a break request, over rfc2217 as a timed break on the remote port; raw tcp cannot send one. Telnet or SSH straight to a devi …
  • send_hex — Send raw bytes given as hex. Writes to TX only; does NOT read. Use for binary protocols — notably Icom CI-V, which is all hex (e.g. "FE FE 94 E0 03 FD"; civ_build makes these). Spaces in the hex string are ignored. To see a binary reply, call `read_available` afterward and hand the hex to civ_parse (binary replies rarely have a text prompt, so read_until_prompt usually isn't t …
  • send_keys — Press keys by name, encoded the way a VT100/xterm terminal sends them. Use it for what send_text can't type: Ctrl-C to interrupt a running command (ping, monitor, a stuck process), Ctrl-Z, Esc, Tab (completion), arrows (history, menus), Enter alone, function keys, Page Up/Down. Each item is a key name ("ctrl-c", "esc", "tab", "enter", "up", "down", "left", "right", "home", "en …
  • send_text — Send an ASCII command to the device. Writes to TX only; does NOT read. On an interactive console the device will ECHO this text back and then print its output; call `read_until_prompt` (or `read_available`) afterward to see it. Use `clear_buffer_first=True` to discard any stale/unsolicited output so the next read starts clean. Args: data: The command text, e.g. "show …
  • set_lines — Set the DTR and/or RTS output lines and hold them. Uses: key a transmitter whose PTT is wired to RTS or DTR (set it True to transmit, False to stop; pulse_line is safer for that), hold an Arduino in reset (DTR False), or tell a modem you're present. Leave a line at None to keep it unchanged. Works on local serial ports and rfc2217; telnet, ssh and tcp carry no modem lines and …
  • status — Report every open port or network console: settings, transport, reader state, buffered bytes, control-line states (or why a transport has none), capture, and which connection is current. With nothing open, lists what reconnect_last remembers.

Подписанные наблюдения, прежние наборы инструментов и сравнения доступны в интерактивной карточке и через /api/v1/servers/eb8f408af22af23d.

io.github.sbrunner-atx

Transparency log · MCP tool definitions

Every MCP server's tools, on the record.

Your AI client trusts the tool descriptions an MCP server sends it — and a server can change them after you approved it. HISTOR keeps a public, signed record of what every remote MCP server in the official registry advertised, and tells you the day it changed.

Remote endpoints: it lists tools and never calls one. Registry packages: bounded canary calls run inside the isolated sandbox. It never says a server is safe — it tells you what was said, and when.

DRAG TO ORBIT
SIM
—

WebGL is unavailable here. The picture is the log itself: each label is a leaf, leaf hashes climb a Merkle tree, and a signed tree head seals the root.

—
Registry remote endpoints
last completed crawl
—
Targets with a pinned tool set
current
—
Changes
last 7 days
—
Labels in the log
all time
—
Last signed tree head
UTC

What HISTOR is for

Tool descriptions are instructions. They should not change behind your back.

The problem

A server can change what your model reads

When you connect an MCP server, its tool descriptions go straight to the model as instructions. A server can pass your review with harmless descriptions and change them next week — one added sentence is all a prompt injection needs, and most clients never ask you again.

What HISTOR does

It keeps the public record

Every six hours (every 30 minutes for a week once its tools have changed twice) HISTOR reads what each remote (streamable-HTTP) endpoint in the official MCP registry advertises, fingerprints it, signs what it saw and appends it to a log that can only grow. When a server's definitions change, the change gets a date and a diff.

What you get

A second pair of eyes you can check

Look up any server before you trust it. Paste what your client received and learn whether everyone else sees the same thing. Follow changes in a feed, or put a badge in your README. Every answer is signed, so you can verify it instead of believing it.

Who it is for

People who use MCP serversin Claude, Cursor or any client — check a server before you connect it, and again when it changes.
Agent builderswhose agents connect to servers on their own — call /check before trusting a tool set.
Registries and directoriesthat want more than stars and download counts — show when a listing's tools last changed.
Server authorswho want to show a stable, documented history — add the badge, and every change you ship is dated in public.

Four words used on this page

Tool definitions
The name, description and input schema of each tool a server offers — the text your model reads.
Pinned
HISTOR has recorded a fingerprint (digest) of the exact definitions it saw, so any later change is detectable.
Label
One signed statement about one observation: what was seen, what matched, whether it changed. Anyone can verify it offline.
Signed tree head
The log's signed summary after each crawl. Comparing two of them proves nothing was deleted or rewritten in between.

Read → digest → label → append → sign → compare

How the log works

Six steps, every one of them checkable by someone who does not trust HISTOR. The only thing you have to take on faith is that the observation happened when the label says it did — and the log makes it impossible to change that story afterwards.

01

Read

Remote endpoints in the official MCP registry: initialize, then tools/list, drained across every page; no tool is called, and private addresses are refused before the connection opens. npm and PyPI packages: installed and started in the sandbox described below, with no route out.

02

Digest

The tool set is reduced to name, description, input and output schema, sorted by UTF-16 code units and hashed over its RFC 8785 canonical form. Anyone holding the same tools gets the same digest — which is what makes a comparison possible.

03

Label

Four MTL/1 methods, one signed AWR/2 document each: what was observed, what the WARDEN pattern set matched, whether the definitions changed since the last label, and whether the name is on a threat list. No score, ever.

04

Append

Every label becomes a leaf of an RFC 9162 Merkle tree: leaf hash = SHA-256(0x00 ‖ JCS(label)). The label you download is the leaf input, so you can recompute its hash yourself.

05

Sign

After each crawl HISTOR signs a tree head: the size and the root. Keep yesterday's head; ask for a consistency proof to today's; if anything was removed or rewritten, the proof fails.

06

Compare

Each day a continuity label compares the new digest with the last one. Equal: "unchanged since". Different: a change, with the date and a per-tool diff. A client that checks what it received adds the view no crawler has.

Where an npm or PyPI package is run

Test conditions

A package observation is true for these conditions, and no others. Every package page names the exact image it ran in and any configuration it was given.

System

Linux x86_64, inside gVisor (runsc): the package talks to a kernel written for sandboxing, not to the host's. An unprivileged user, no capabilities, a read-only root.

Runtimes

npm packages in histor-node:22, PyPI packages in histor-python:3.12: the official node:22-bookworm-slim and python:3.12-slim images plus bash, git, Python 3 or Node 22 and a Java 21 runtime — never Docker — built when a sandbox host is installed. A package whose Requires-Python excludes 3.12 runs on histor-python:3.13 or 3.14; one that requires a newer Node runs again on histor-node:24. The exact image a package ran in is on its page.

Install

npm with --ignore-scripts, then the install scripts in a traced stage of their own. PyPI: wheels only — a package that ships only source is reported, never built.

Network

No route out. Every name the package looks up resolves to HISTOR's own traps, which record what was sent and forward nothing. A server that needs the internet to start shows that here.

Secrets

None are real. Decoy credentials sit in HOME and a decoy .env in the working directory. A variable the package says it needs gets a placeholder; where the placeholder was sent is recorded.

Limits

512 MB of memory, one CPU, 64 MB of /tmp. 360 s to install, 150 s to start and answer; up to 15 tools called once each with canary arguments, 8 s per call.

Configuration

Only names: required variables its registry entry declares or that it printed when it exited, and a start argument such as serve when its usage text offers one. Never a value from anyone else.

What a label does not say

The profile HISTOR implements forbids the words safe, secure, audited, certified, approved and trusted. Here is why, in the terms of what the log can and cannot show.

Not a safety rating

A pattern match is a reason to read a definition, not a finding. Three of the four methods can never return fail. There is no score to rank by, because no score HISTOR could compute would mean what a reader takes it to mean.

Not the code

Labels are about advertised text. A remote endpoint's source is never read and its tools are never invoked; a package runs only in the sandbox, against nothing real. A server can keep identical definitions and behave differently for real users; the log cannot see that, and says so inside every label.

A change is not an accusation

A version bump changes definitions too. A change is shown as a date and a diff, in amber, never red. What you do with it is yours: re-read, re-approve, or pin the old digest.

A package as run here, not on your machine

An npm or PyPI server is observed under the test conditions above: Linux, no internet, placeholder keys. One that needs Windows, a real account or the network may show fewer tools or none; its page says why it exited.

One operator, one key

Today one party runs the log. A second observer on another network is the next step, and any AIMarket hub can run one. Until then, what the key proves is who said it — not that it is true.

Behind a login, unseen

Endpoints that require authentication answer 401 to everyone without a key, including HISTOR. They are counted and listed as not observed, never dropped from the numbers.

Other logs, the same servers

Outside checks

HISTOR is not the only public record of MCP tool definitions. Where another log publishes its reads, the two are compared on the same servers and days, and the result is published both ways, with HISTOR's own misses.

ScraperWatch

A daily diff of a fixed panel of about 3,000 remote endpoints. HISTOR compares each of their published days with its own reads, and ScraperWatch shows the result on its page under "Outside check". The first comparison found a robots.txt parsing limit on their side and a handshake regression on HISTOR's; both were fixed the same day.

scraperwatch.com/mcp-changes
/datasets/peers/scraperwatch/latest

heldfast

An open daily record of the tool definitions of the servers in the official MCP registry. Of the 23,190 servers both logs recorded on 26 October 2026, 21,215 had every field in both; on those, 97.9% of servers and 99.1% of tools were identical byte for byte, and each difference has a stated cause: package versions, read times, failed reads, a first page only, an older protocol.

github.com/rufat325/heldfast
/datasets/interop-digests-2026-10-31

For clients, registries and server authors

Use it

Before your agent trusts a server, send the tools it received. The answer is signed by the log's did:key and names the tree head it was given under.

curl -sS https://histor.modelmarket.dev/api/v1/check \
  -H 'Content-Type: application/json' \
  -d '{"endpoint":"https://example.com/mcp","tools":[ …tools/list result… ],"contribute":true}'
# -> {"type":"histor.check/v1","match":"same"|"different"|"previously-observed"|"same-other-revision"|…,
#     "observed":{"unchangedSince":"…","changes":0}, "patternScan":{…}, "signature":{…}}

# Only looking a server up: a GET with its endpoint (writes nothing)
curl -sS "https://histor.modelmarket.dev/api/v1/check?endpoint=https://example.com/mcp"

# README badge for your server
[![MCP tool defs](https://histor.modelmarket.dev/badge/<id>.svg)](https://histor.modelmarket.dev/s/<id>)

# Atom feed of every observed change
https://histor.modelmarket.dev/feed.xml
WARDENchecks definitions at connect
HISTORremembers what was advertised
THEMISadmits at publish
Hublists histor.check@v1
AWRthe signed format

Questions

Is this a marketplace listing?

No. The server list is the log's index: every remote endpoint in the official MCP registry, with what HISTOR could observe about it. Nothing here is for sale and nothing is ranked by quality.

Does HISTOR tell me a server is safe?

No, and it never will. It tells you what a server advertised, whether that changed, and which published patterns matched the text. Whether to trust the server is your decision — HISTOR makes sure you decide on the same facts as everyone else.

Why are so many servers "not observed"?

Most remote MCP endpoints require a login (they answer 401 to anyone without a key), some use the legacy SSE transport or need per-user values in the URL, and some are simply down. They stay on the list with the reason, so the numbers never hide them.

How do I check a server I already use?

Open the Check tab, paste the server's endpoint and the tools/list result your client received, and press Check. You get back, signed, whether HISTOR observed the same definitions — or different ones, or an older set.

What does HISTOR record when a tool definition changes?

HISTOR records tool names, descriptions and input schemas from tools/list, plus any output schemas the server returns. Each change compares the newly observed list with the previous list from the same server. A full diff shows tools added or removed, word-level edits to descriptions, and old and new schema values at the JSON paths that changed. If either observation has only names, the diff is limited to names. HISTOR tracks annotations such as readOnlyHint separately when it captures them.

Browse observed changes · Example diff (JSON) · Original question on DEV

How do I get a badge for my server?

Find your endpoint on the Servers tab, open it, and copy the Markdown snippet under the facts. The badge shows the date your definitions were pinned or last changed, and links to the full history.

Why should I trust HISTOR itself?

You do not have to. Every label and every tree head is signed with one published key; the Log tab proves in your browser that the log only grew; and the command-line auditor does the same from any machine. What remains is that one operator runs it today — a second, independent observer is the next step.

What does it cost?

Looking things up, the badges, the feed and /check are free. HISTOR also offers histor.check@v1 to the AIMarket Hub, so agents can reach it through the market.

I run an MCP server. What does HISTOR send it, and how do I opt out?

Every 6 hours, and every 30 minutes for a week once its tools have changed twice in a week. First it reads /robots.txt (RFC 9309, product token histor, about once a day per site): a path that file does not allow HISTOR is not read, and its page here says so. Otherwise server/discover and tools/list (MCP 2026-07-28), or, for a server without that, initialize, notifications/initialized and tools/list — never a tool call, never a redirect followed on the MCP path, at most two connections per host, from a User-Agent that starts with histor/. To keep HISTOR out, disallow your MCP path for User-agent: histor (or for all crawlers); to let HISTOR alone in, add User-agent: histor with an Allow line for that path. An issue on the histor repository with your endpoint or host also works: it is then listed as not observed (operator-opt-out), with the reason, rather than silently dropped. Labels already in the log stay: the log only grows.