Metadata-Version: 2.4
Name: dewesoft-rt-mcp
Version: 0.9.0
Summary: MCP server for AI-assisted openDAQ/DewesoftRT device management and documentation search
Project-URL: Homepage, https://www.dewesoft.com
Project-URL: Support, https://www.dewesoft.com/support
Author-email: "Dewesoft d.o.o." <support@dewesoft.com>
License-Expression: LicenseRef-Proprietary
Keywords: daq,dewesoft,dewesoftrt,mcp,measurement,opendaq
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: Other/Proprietary License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.10
Requires-Dist: fastmcp>=2.14.5
Requires-Dist: httpx>=0.27.0
Requires-Dist: opendaq>=3.30.0
Requires-Dist: paramiko>=3.0.0
Description-Content-Type: text/markdown

# dewesoft-rt-mcp

[![PyPI](https://img.shields.io/pypi/v/dewesoft-rt-mcp)](https://pypi.org/project/dewesoft-rt-mcp/)
[![Python](https://img.shields.io/pypi/pyversions/dewesoft-rt-mcp)](https://pypi.org/project/dewesoft-rt-mcp/)
[![License](https://img.shields.io/pypi/l/dewesoft-rt-mcp)](https://pypi.org/project/dewesoft-rt-mcp/)

MCP server for AI-assisted [openDAQ](https://opendaq.com)/DewesoftRT development. Gives your AI assistant access to openDAQ documentation, API references, and direct device control.

## Features

- **Documentation search**: hybrid semantic + keyword search over openDAQ docs and Doxygen API references for classes, methods, and usage patterns
- **Device management**: discover, connect, disconnect, and configure openDAQ/DewesoftRT devices
- **Topology & signals**: browse the device tree, read raw samples or statistics, render signals with the built-in visualizer
- **Function blocks & properties**: manage processing blocks and get/set component properties
- **Configuration**: save and load device configurations as JSON
- **File management**: browse, upload, download, and delete files on devices over SFTP

## Installation

```bash
pip install dewesoft-rt-mcp
```

> Prefer [`uvx`](https://docs.astral.sh/uv/)? Install [uv](https://docs.astral.sh/uv/getting-started/installation/) and replace `python -m dewesoft_rt_mcp` with `uvx dewesoft-rt-mcp` in any config below - no `pip install` needed; the package is fetched on first run.

## Usage

Setup varies by MCP host. Here are the most common ones:

**VS Code** - add to `.vscode/mcp.json` in your workspace:

```json
{
  "servers": {
    "dewesoft-rt-mcp": {
      "type": "stdio",
      "command": "python",
      "args": ["-m", "dewesoft_rt_mcp"]
    }
  }
}
```

**Claude Code**

```bash
claude mcp add dewesoft-rt-mcp -- python -m dewesoft_rt_mcp
```

**Copilot CLI** - add to `~/.copilot/mcp-config.json`, or type `/mcp add` inside the CLI:

```json
{
  "mcpServers": {
    "dewesoft-rt-mcp": {
      "command": "python",
      "args": ["-m", "dewesoft_rt_mcp"]
    }
  }
}
```

**Gemini CLI**

```bash
gemini mcp add dewesoft-rt-mcp python -m dewesoft_rt_mcp
```

## Examples

Once connected, try asking your AI assistant:

- "Search the openDAQ docs for how to use the StreamReader class"
- "How do I add a FFT function block in Python?"
- "Connect to the device at 192.168.1.100 and show me the available signals"
- "Read 1000 samples from the temperature channel and give me the statistics"

## License

Proprietary. Copyright Dewesoft d.o.o.
