Metadata-Version: 2.4
Name: mcp-rpcbind
Version: 0.1.0
Summary: MCP server exposing rpcbind/RPC portmapper functionality
Author-email: Dario Clavijo <clavijodario@gmail.com>
License: MIT
License-File: LICENSE
Requires-Python: >=3.11
Provides-Extra: all
Requires-Dist: fastmcp>=2.0; extra == 'all'
Requires-Dist: hatch; extra == 'all'
Requires-Dist: mypy; extra == 'all'
Requires-Dist: pytest; extra == 'all'
Requires-Dist: pytest-asyncio; extra == 'all'
Requires-Dist: pytest-mock; extra == 'all'
Requires-Dist: ruff; extra == 'all'
Provides-Extra: dev
Requires-Dist: hatch; extra == 'dev'
Requires-Dist: mypy; extra == 'dev'
Requires-Dist: ruff; extra == 'dev'
Provides-Extra: lint
Requires-Dist: mypy; extra == 'lint'
Requires-Dist: ruff; extra == 'lint'
Provides-Extra: mcp
Requires-Dist: fastmcp>=2.0; extra == 'mcp'
Provides-Extra: test
Requires-Dist: pytest; extra == 'test'
Requires-Dist: pytest-asyncio; extra == 'test'
Requires-Dist: pytest-mock; extra == 'test'
Description-Content-Type: text/markdown

# mcp-rpcbind

MCP server exposing rpcbind/RPC portmapper functionality.

[![PyPI](https://img.shields.io/pypi/v/mcp-rpcbind.svg)](https://pypi.org/project/mcp-rpcbind/)
[![Python](https://img.shields.io/pypi/pyversions/mcp-rpcbind.svg)](https://pypi.org/project/mcp-rpcbind/)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)

## Install

```bash
pip install mcp-rpcbind
```

## Usage

```bash
mcp-rpcbind
```

This will start the MCP server using stdio transport.

## MCP Server

This package provides an MCP server that exposes rpcbind functionality for querying registered RPC services.

### Tools

- `rpcbind_list_all`: List all registered RPC programs on a host
- `rpcbind_get_port`: Get port for a specific RPC program/version
- `rpcbind_get_program`: Get programs registered at a specific port
- `rpcbind_ping`: Check if rpcbind is running

## Development

```bash
# Install with dev dependencies
pip install -e ".[test,mcp]"

# Run tests
pytest

# Lint
ruff check src/ tests/
ruff format src/ tests/

# Type check
mypy src/
```

## Release

```bash
# Bump version
bumpversion patch  # or minor/major
git tag v<version>
git push && git push --tags
```

## MCP Server Registration

mcp-name: io.github.daedalus/mcp-rpcbind