Python runtime server implementing the MRMD Runtime Protocol (MRP)
Project description
mrmd-python
Python runtime server implementing the MRMD Runtime Protocol (MRP).
Installation
uv pip install mrmd-python
Usage
Command Line
mrmd-python --port 8000
Programmatic
from mrmd_python import create_app
import uvicorn
app = create_app(cwd="/path/to/project")
uvicorn.run(app, host="localhost", port=8000)
API Endpoints
All endpoints are prefixed with /mrp/v1/.
| Endpoint | Method | Purpose |
|---|---|---|
/capabilities |
GET | Runtime capabilities |
/sessions |
GET/POST | List/create sessions |
/execute |
POST | Run code |
/execute/stream |
POST | Run code with SSE streaming |
/complete |
POST | Get completions |
/inspect |
POST | Get symbol info |
/hover |
POST | Get hover tooltip |
/variables |
POST | List variables |
/interrupt |
POST | Cancel execution |
Protocol
See PROTOCOL.md for the full MRP specification.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mrmd_python-0.1.0.tar.gz
(36.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mrmd_python-0.1.0.tar.gz.
File metadata
- Download URL: mrmd_python-0.1.0.tar.gz
- Upload date:
- Size: 36.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1dace61c576bdf29329091961b92c7efa0938489a8fc4e992d03914e5f989ea
|
|
| MD5 |
d1d5f938cb5b056f21246963197b8ffa
|
|
| BLAKE2b-256 |
ef36345c8271c1405c63c049ceb41b5e3caf4b2fa502d475c6a2428fb9594722
|
File details
Details for the file mrmd_python-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mrmd_python-0.1.0-py3-none-any.whl
- Upload date:
- Size: 21.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4817ab19550f58f7cd5b6b2ec79513568b3dc048480aa015f168b3fa75c9335a
|
|
| MD5 |
6a7108249d50e7553b696235ac64e04e
|
|
| BLAKE2b-256 |
6a5b03724902ef2cf3bb11a31cb3663c471d43b16a8d48e9bfa44551e4b92d6f
|