Skip to main content

Carrot MCP Serial Server

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

carrot-mcp-serial

Carrot MCP Serial Server - pyserial wrapper for serial port communication.

Tools

Tool Description
version Get server version info
list List available serial ports
open Open a serial port connection
close Close a serial port connection
read Blocking read with timeout
recv Non-blocking read from buffer
write Write data (hex or ascii with escape support)

Examples

# List ports
uvx carrot-mcp-serial@latest

# MCP config
{
  "carrot-serial": {
    "command": "uvx",
    "args": ["carrot-mcp-serial@latest"]
  }
}

Return Format

All tools return dict with {"status": "ok"|"error", ...}.

  • read/recv with fmt="hex" returns data_hex (uppercase, e.g. "48656C6C6F")
  • read/recv with fmt="ascii" returns data_ascii with escape handling (e.g. "Hello\nWorld")
  • write supports hex or ascii input, ascii supports escape sequences (\n, \x00)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

carrot_mcp_serial-0.1.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

carrot_mcp_serial-0.1.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file carrot_mcp_serial-0.1.0.tar.gz.

File metadata

  • Download URL: carrot_mcp_serial-0.1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for carrot_mcp_serial-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a60d010e7f83159fdffea55e31398db82fd2cfbd7c1f07a665a98dcd3da9d60f
MD5 7f742b7cfe0ac5bb67a902b6976d240b
BLAKE2b-256 6f86d42df254010d4c9da5098f916ccc0376906b59d8834f3f6ec96e4307d772

See more details on using hashes here.

File details

Details for the file carrot_mcp_serial-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for carrot_mcp_serial-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d63228907a1eb197575b83797df6c88c1d9f11e9c3652058b8144c5ba944f124
MD5 8f18e31f747d478c0f1f1f7b9cdf5ee3
BLAKE2b-256 1d9191909d4c14688b228fba510026db5254dfcf4bded4782e4ad6c19be10d9d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page