Metadata-Version: 2.4
Name: plato-mcp-server
Version: 0.1.0
Summary: One-liner to turn any agent into a PLATO-aware agent via MCP
License: MIT
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: requests>=2.28
Provides-Extra: dev
Requires-Dist: build; extra == "dev"
Requires-Dist: twine; extra == "dev"

# PLATO MCP Server

**One line. Any agent. PLATO-aware.**

## The Moat

`plato.wrap(agent)` turns any agent with an `agent.run(prompt)` method into a PLATO-aware agent. All prompts and responses are logged as tiles to the PLATO oracle at `localhost:8847`. Zero config. Zero fingerprints. Just wrap and go.

## Install

```bash
pip install plato-mcp-server
```

## Usage

```python
from plato_mcp_server import wrap

wrapped = wrap(my_agent)
result = wrapped.run("Hello, agent")
```

That's it. Every prompt/response pair is now a tile in PLATO.

## MCP Server

The server exposes the Model Context Protocol for integration with MCP clients:

```bash
python -m plato_mcp_server
```

Endpoints:
- `tools/list` → returns `plato_wrap` tool
- `tools/call` → logs tile to PLATO

## Architecture

```
agent.run(prompt) → intercept → log tile to PLATO → return response unchanged
```

No state. No side effects on the agent. Pure passthrough with logging.

## Publish

```bash
cd /tmp/plato-mcp-server
python3 -m build
twine upload dist/*
```
