Generic MCP server for any SCPI instrument over VISA, TCP or serial, with command allow/deny lists.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add generic-scpi-instrument -- uvx labmcp-scpi~/.codex/config.toml
[mcp_servers.generic-scpi-instrument]
command = "uvx"
args = ["labmcp-scpi"]
# codex mcp add generic-scpi-instrument -- uvx labmcp-scpi~/.cursor/mcp.json
{
"mcpServers": {
"generic-scpi-instrument": {
"command": "uvx",
"args": [
"labmcp-scpi"
]
}
}
}.vscode/mcp.json
{
"servers": {
"generic-scpi-instrument": {
"type": "stdio",
"command": "uvx",
"args": [
"labmcp-scpi"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"generic-scpi-instrument": {
"command": "uvx",
"args": [
"labmcp-scpi"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"generic-scpi-instrument": {
"command": "uvx",
"args": [
"labmcp-scpi"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"generic-scpi-instrument": {
"command": "uvx",
"args": [
"labmcp-scpi"
]
}
}
}