serial mcp server for VS Code
io.github.es617/serial-mcp-server
Let AI agents interact with serial devices — list ports, connect, send, and read.
client:VS Code
transport:stdio
runtime:pypi
Install serial mcp server in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "serial-mcp-max-connections",
"description": "SERIAL_MCP_MAX_CONNECTIONS",
"password": true
},
{
"type": "promptString",
"id": "serial-mcp-plugins",
"description": "SERIAL_MCP_PLUGINS",
"password": true
},
{
"type": "promptString",
"id": "serial-mcp-mirror",
"description": "SERIAL_MCP_MIRROR",
"password": true
},
{
"type": "promptString",
"id": "serial-mcp-mirror-link",
"description": "SERIAL_MCP_MIRROR_LINK",
"password": true
},
{
"type": "promptString",
"id": "serial-mcp-tool-separator",
"description": "SERIAL_MCP_TOOL_SEPARATOR",
"password": true
}
],
"servers": {
"serial-mcp-server": {
"type": "stdio",
"command": "uvx",
"args": [
"serial-mcp-server"
],
"env": {
"SERIAL_MCP_MAX_CONNECTIONS": "${input:serial-mcp-max-connections}",
"SERIAL_MCP_PLUGINS": "${input:serial-mcp-plugins}",
"SERIAL_MCP_MIRROR": "${input:serial-mcp-mirror}",
"SERIAL_MCP_MIRROR_LINK": "${input:serial-mcp-mirror-link}",
"SERIAL_MCP_TOOL_SEPARATOR": "${input:serial-mcp-tool-separator}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs