semvec/pypi-packages huggingface dataset:
openwrt-mcp 0.1.7
A MCP server for OpenWrt devices. This is a very early version and may contain unexpected errors.
Requires Python: >=3.10

# OpenWrt MCP Controller

This project provides a Model Context Protocol (MCP) server for managing OpenWrt devices. It allows you to interact with and control an OpenWrt router through a simple API.

The server utilizes `fastmcp` to expose OpenWrt functionalities as tools that can be called remotely.

## 1. Prerequisites

For the server to have full functionality, a custom LuCI RPC script must be placed on the target OpenWrt device.

### Install `sys.lua` on OpenWrt

The `sys.lua` file in this repository extends the capabilities of the LuCI JSON-RPC interface. You must copy this file to your OpenWrt router for tools like `system_status`, `network_status`, and `set_led_state` to work.

1.  **Copy the file to your OpenWrt device:**
    Use `scp` or any other file transfer method to copy `sys.lua` to your router.

    ```sh
    scp sys.lua root@<your_openwrt_ip>:/usr/lib/lua/luci/sys.lua
    ```

2.  **Verify Permissions:**
    Ensure the file has the correct permissions.

    ```sh
    ssh root@<your_openwrt_ip> "chmod 644 /usr/lib/lua/luci/sys.lua"
    ```

## 2. Installation

You can install this package directly from PyPI.

```sh
pip install openwrt-mcp
```

## 3. Configuration

The server is configured through environment variables. You must set the following before running the server:

-   `OPENWRT_HOST`: The full URL of your OpenWrt device (e.g., `http://192.168.1.1`).
-   `OPENWRT_PASSWORD`: The login password for your OpenWrt device.
-   `OPENWRT_USERNAME`: (Optional) The login username. Defaults to `root`.

Example:
```sh
export OPENWRT_HOST="http://192.168.1.1"
export OPENWRT_PASSWORD="your_secret_password"
```

## 4. Usage

Once installed and configured, you can start the MCP server with the following configuration:

```sh
{
    "mcpServers":{
        "openwrt-mcp":{
            "command":"uvx",
            "args": [
                "openwrt-mcp"
            ],
            "env":{
                "OPENWRT_HOST":"192.168.0.1",
                "OPENWRT_PASSWORD":"root",
                "OPENWRT_USERNAME":"12345678"
            }
        }
    }
}
```

The server will start and listen for incoming connections via standard I/O.

## Available Tools

The following tools are exposed by the MCP server:

-   `reboot()`: Reboots the OpenWrt device.
-   `system_status()`: Retrieves system and board information.
-   `network_status()`: Gets the status of all network interfaces.
-   `read_log()`: Reads the system log (`logread`).
-   `set_led_state(state: str)`: Sets the state of the "Green" LED. `state` can be `'on'` or `'off'`.
-   `summary_log()`: Provides a structured prompt template for an AI to summarize the output of `read_log()`.
stockfish-mcp 1.0.2
A Stockfish MCP server
Requires Python: >=3.8

# Stockfish MCP Server

<!-- mcp-name: io.github.stepbot/stockfish-mcp -->

A Stockfish server for the Model Context Protocol. This package allows a Large Language Model to play chess against the Stockfish engine.

## Installation

This package is a pure Python wrapper and requires you to provide your own Stockfish binary.

1.  **Download Stockfish:** Get the appropriate version for your system from the [official Stockfish website](https://stockfishchess.org/download/).

2.  **Install the MCP Server:** We recommend using `uv` to install the package. First, [install `uv`](https://github.com/astral-sh/uv). Then, run the following command to install `stockfish-mcp` as a globally available command-line tool in its own isolated environment:
    ```bash
    uv tool install stockfish-mcp
    ```

## Usage

There are two ways to run the server:

### 1. Command Line

You can run the server directly, providing the path to your downloaded Stockfish executable.

```bash
uv tool run stockfish-mcp --stockfish-path C:\path\to\your\stockfish.exe
```

### 2. MCP Configuration

Alternatively, you can add it to your MCP `settings.json` file. This is useful for integrating with clients like the MCP VS Code extension.

```json
{
    "mcpServers": {
        "stockfish": {
            "command": "uv",
            "args": ["tool", "run", "stockfish-mcp", "--stockfish-path", "C:\\path\\to\\your\\stockfish.exe"]
        }
    }
}
```

## Example

An example of a game played against the Stockfish engine can be found in [`exampleGame.md`](./exampleGame.md).

## Available Tools

- `get_board_state()`: Get the current board state.
- `make_move(move_uci: str)`: Make a move (e.g., "e2e4").
- `is_game_over()`: Check if the game has ended.
- `get_game_result()`: Get the result if the game is over.
- `reset_game(skill_level: int = 10)`: Start a new game.
hello-pypi-thalles 0.1.0
A simple Hello World library example
Requires Python: >=3.8

# Hello PyPI

Exemplo simples de uma biblioteca publicada no PyPI.

```python
from hello_pypi import say_hello

print(say_hello("Thalles"))
# Hello, Thalles!
```

## 🧱 Build do pacote

Instale o setuptools e o wheel:

```bash
pip install setuptools wheel