mcp-conserver
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.
conserver-tools
Tools for interacting with serial consoles managed by a conserver daemon.
This repo provides two interfaces with the same libconserver.py
protocol implementation:
MCP server (
mcp-conserver) - for agents that speak the Model Context ProtocolSkill (
src/skills/conserver) - plain scripts you run via Shell, see src/skills/conserver/SKILL.md
Both allow AI agents (e.g. Claude) to connect to serial consoles, send commands, read output, and manage console sessions.
Features
Connect to a console in attach, spy (read-only), or force mode
Send commands and read output interactively
Send control characters (Ctrl-C, Ctrl-D, etc.)
Expect scripting for automated interaction (wait for patterns, branch on output)
Query who is connected to consoles
Disconnect users from consoles
SSL/TLS and GSSAPI/Kerberos authentication
Multiple transports: stdio, SSE, and streamable-http
Related MCP server: console-switch-mcp
Installation
pip install mcp-conserverOr install from source:
git clone https://github.com/vivier/mcp-conserver.git
cd mcp-conserver
python -m venv venv
source venv/bin/activate
pip install -e .Configuration
The server reads ~/.consolerc for default master server, port,
and username:
config * {
master conserver.example.com;
port 782;
username myuser;
}All defaults can be overridden per tool call.
Usage with Claude Code
Add to .mcp.json in your project directory (see
mcp.json.example):
{
"mcpServers": {
"conserver": {
"command": "mcp-conserver"
}
}
}To use SSE or streamable-http transport instead of stdio:
mcp-conserver --transport sse --host 0.0.0.0 --port 9820Tools
Tool | Description |
| Connect to a console (attach/spy/force) |
| Disconnect and close a session |
| List active sessions |
| Send text and return output |
| Read latest console output |
| Send control characters (Ctrl-C, Ctrl-D, etc.) |
| Run expect-like scripts (wait for patterns, send on match) |
| Show who is connected |
Architecture
Uses libconserver.py, a pure Python implementation of the conserver
client protocol, supporting SSL/TLS (anonymous DH), GSSAPI/Kerberos
authentication, and multi-hop server redirects.
Each console session runs a background reader thread that continuously drains the socket into a buffer, ensuring no data is lost between tool calls.
License
GPLv2 - see 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
Run and manage H Company's Computer-Use Agents from any MCP client.
Build, run, inspect, and continue AgentScript workflows on connected Super Chrome and Mac clients.
Build, test, deploy, and operate Connic agents.
Termalin's hosted MCP server. Claude, ChatGPT or any MCP client runs commands, moves files over SFTP, queries databases and reads server metrics and monitoring alerts on your servers, keylessly through Termalin Connectors: no SSH key is handed over and no inbound port is opened. Per-host command policy and an audit log. Needs a termal.in Pro or Team account (new accounts start with a 14-day Pro trial).
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables control of OpenSimulator virtual world servers through console commands, supporting region management, user administration, terrain editing, object manipulation, and HyperGrid operations via the REST console API.33-
- AlicenseAqualityDmaintenanceEnables control of network switches via serial console ports, supporting Huawei, H3C, and Cisco devices for command execution and configuration.6MIT
- FlicenseNot gradedqualityBmaintenanceEnables sharing two serial consoles between a local operator and MCP agents, allowing command execution and status monitoring on connected devices.-
- AlicenseBqualityBmaintenanceEnables AI agents to open persistent interactive terminal sessions with network devices over SSH, Telnet, TCP console, or serial, write raw commands including nested ssh/telnet transitions, and read full output without requiring a particular prompt format. It supports multiple concurrent sessions and keeps credentials/secrets out of MCP arguments or audit logs.7MIT