Thorlabs Optical Power Meter MCP Server
by k-dense-aiio.github.K-Dense-AI/labmcp-thorlabs-pmv0.1.2
MCP server for Thorlabs optical power meters (PM100 family, PM400, PM101, PM5020) over SCPI.
context tax
queued
security
queued
cold start
queued
freshness
Active13d ago
Install Thorlabs Optical Power Meter MCP server
Install in Claude Code
claude mcp add thorlabs-power-meter -- uvx labmcp-thorlabs-pmInstall in Cursor
{
"mcpServers": {
"thorlabs-power-meter": {
"command": "uvx",
"args": [
"labmcp-thorlabs-pm"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"thorlabs-power-meter": {
"command": "uvx",
"args": [
"labmcp-thorlabs-pm"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"thorlabs-power-meter": {
"type": "stdio",
"command": "uvx",
"args": [
"labmcp-thorlabs-pm"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"thorlabs-power-meter": {
"command": "uvx",
"args": [
"labmcp-thorlabs-pm"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| LABMCP_ADDRESS | — | — | Instrument address, e.g. serial:///dev/ttyUSB0 or tcp://192.168.1.50:5025 |
| LABMCP_SIMULATE | — | — | Set to 1 to use the built-in simulator (no hardware) |
| LABMCP_READ_ONLY | — | — | Set to 1 to disable all state-changing tools |
| LABMCP_LIMITS | — | — | Safety limit overrides, e.g. max_temperature_c=80 |
Freshness
Active — last maintenance signal 13d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-26 · 13d ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-09-26 · 13d ago · official registry · v0.1.2
FAQ
›How do I install the Thorlabs Optical Power Meter MCP server in Claude Code?
Run: claude mcp add thorlabs-power-meter -- uvx labmcp-thorlabs-pm. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Thorlabs Optical Power Meter require an API key?
No required environment variables are declared in its published metadata.
›Can I use Thorlabs Optical Power Meter as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Thorlabs Optical Power Meter in the official MCP registry?
Yes, as io.github.K-Dense-AI/labmcp-thorlabs-pm.