Metadata-Version: 2.4
Name: ubidots-mcp-server
Version: 0.1.0
Summary: MCP (Model Context Protocol) proxy for Ubidots with SSE support
Project-URL: Documentation, https://github.com/ubidots/ubidots-mcp-server#readme
Project-URL: Repository, https://github.com/ubidots/ubidots-mcp-server
Project-URL: Issues, https://github.com/ubidots/ubidots-mcp-server/issues
Author-email: Ubidots <support@ubidots.com>
License: MIT
License-File: LICENSE
Keywords: ai,claude,iot,json-rpc,mcp,proxy,sse,ubidots
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.9
Requires-Dist: anyio>=4.0.0
Requires-Dist: httpx[http2]>=0.27.0
Provides-Extra: dev
Requires-Dist: mypy>=1.8.0; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.23.0; extra == 'dev'
Requires-Dist: pytest-cov>=4.1.0; extra == 'dev'
Requires-Dist: pytest>=8.0.0; extra == 'dev'
Requires-Dist: ruff>=0.2.0; extra == 'dev'
Description-Content-Type: text/markdown

# Ubidots MCP Server

stdio proxy to connect MCP clients with the Ubidots MCP server.

## Setup with Claude Desktop

Add to your `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "ubidots": {
      "command": "uvx",
      "args": ["ubidots-mcp-server"],
      "env": {
        "X_AUTH_TOKEN": "your-token-here"
      }
    }
  }
}
```

### Custom Deployment

```json
{
  "mcpServers": {
    "my-iot": {
      "command": "uvx",
      "args": ["ubidots-mcp-server"],
      "env": {
        "X_AUTH_TOKEN": "your-token",
        "MCP_BASE_URL": "https://mcp.your-domain.com/mcp"
      }
    }
  }
}
```

## Environment Variables

| Variable | Required | Description |
|----------|----------|-------------|
| `X_AUTH_TOKEN` | Yes | Authentication token |
| `MCP_BASE_URL` | No | MCP server URL (default: `https://mcp.ubidots.com/mcp`) |
| `MCP_LOG_LEVEL` | No | Log level: DEBUG, INFO, WARNING, ERROR (default: INFO) |

## Development

```bash
git clone <repo>
cd ubidots-mcp-server
pip install -e ".[dev]"
pytest
```
